Closed napobo3 closed 7 years ago
The problem is : the script is running the command :
samtools mpileup -C 50 -v -l -f hs37d5.fasta 1.bam > 23andMe_raw.vcf.gz
instead of :
samtools mpileup -C 50 -v -l 23andMe_V3_GRCh37_ref.tab.gz -f hs37d5.fasta 1.bam > 23andMe_raw.vcf.gz
The ${REF_23ANDME} is empty.
It seems like I can't pre-define getops parameters like in Perl. I'll have to mingle them after feching with getopts. I'll test my new version and then I'll commit i when it is tested. Thanks for making me aware.
The geopts error has been fixed and pushed to GitHub. Please checkout version 1.2. Thanks for reporting.
Tested. Works fine. Thanks.
The same problem as in the issue #1 When I am running the command step-by-step on the command line everything works fine. When I run the script I am getting :