GATK multiple files run error /usr/bin/bash: gatk: command not found
Hello
I’m using
ls *.sorted_markduplicates.bam | parallel --progress --eta -j 3 'gatk BaseRecalibrator -I {} -R ../0.Reference/CH-PICR.fasta -O {.}.recal.bam'
to run multiple Bam files.
But an error has occurred like this:
Computer:jobs running/jobs completed/%of started jobs/Average seconds to complete
ETA: 0s Left: 16 AVG: 0.00s local:3/0/100%/0.0s /usr/bin/bash: gatk: command not found
When I run
gatk BaseRecalibrator -I input.bam -R reference.fasta -O output.recal.bam
It worked.
I think there’s something that I missed while setting path.
After download, I added
alias gatk="~/Bio/gatk-4.2.2.0/gatk"
in .bashrc
Can you please help me running multiple files in Linux terminal??
Thank you.
• 32 views
Read more here: Source link