Maybe something like this:
parallel --tag samtools view -c -f 1 -F 12 ::: *.bam
If this is not what you want, please update your question with sample input and sample output.
Maybe something like this:
parallel --tag samtools view -c -f 1 -F 12 ::: *.bam
If this is not what you want, please update your question with sample input and sample output.