Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s1_bwaAlignment.sh: line 30: [: GATC: integer expression expected #13

Open
abhisheksinghnl opened this issue Mar 20, 2019 · 1 comment

Comments

@abhisheksinghnl
Copy link

Hi,

I put GATC as my cut site and when I run trhe program I get this message

 bash s1_bwaAlignment.sh "$name" "$ref" "$bwaDir" "$samtoolsDir" "$fastqDir" "$resultsDir/s1" "$bin" "$nCores" "$resultsDir/mHiC.summary_w${resolution}_s1" "$saveFiles" "${cutsite[@]}"
s1_bwaAlignment.sh: line 30: [: GATC: integer expression expected
(We assume the reads length are the same within the same fastq file.)......
Start alignment of read end 1
Step1.1 - BWA alignment
[bwa_aln_core] calculate SA coordinate... 64.42 sec
[bwa_aln_core] write to the disk... 0.07 sec
[bwa_aln_core] 262144 sequences have been processed.
[bwa_aln_core] calculate SA coordinate... 63.31 sec
[bwa_aln_core] write to the disk... 0.07 sec

Could please let me know, what shall I do to fix this, if it is a warning/error.

Thank you

@yezhengSTAT
Copy link
Owner

So sorry to get it back this late! Somehow GitHub didn't push notification to me. Apologize for the late reply!!

It seems that you missed the 11th parameter which is read length. Give a "25" before "${cutsite[@]}". Besides, please set "cutsite=GATCGATC" which is the sequence at the ligation site.

Thanks for using mHi-C!

Ye

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants