Dear All,
I am mapping Illumina reads from fq files of relatively small size (70MB) to mitochondrial genomes. I already filtered these reads using the perl script included with Novoplasty, and I want to map them to the c.a. 12 bp of the mitochondrion outside the control region. I have 200 samples. So each one gets mapped to make the sam file. I am performing this work on a MacBook Pro, running Catalina.
Here is a sample of my commands:
bwa mem ESRC_83_aug2020_noControl.fa BCPL_117.mtgenome_1.fq BCPL_117.mtgenome_2.fq > BCPL_117_mito_NoControl.sam
bwa mem ESRC_83_aug2020_noControl.fa BCPL_131.mtgenome_1.fq BCPL_131.mtgenome_2.fq > BCPL_131_mito_NoControl.sam
bwa mem ESRC_83_aug2020_noControl.fa BCPL_133.mtgenome_1.fq BCPL_133.mtgenome_2.fq > BCPL_133_mito_NoControl.sam
I can only get this to run properly with about 10 samples at a time, because terminal submits new commands before the old ones have finished. I believe there is some way to slow down the scrolling of the commands, but can't find anything about this problem or possible solutions by searching anywhere.
I thought about inserting a ls command after each line, so that it performs some minor task before starting on the new mapping command. But that seems dumb to me...any other suggestions would be greatly appreciated.
terminal
macos
bwa