Hi,
I want to merge list of bam files (after I already sorted them previously) using samtools merge. I have a list of bam files that I want to sent from python to the following command in bash:
${samtools} merge - ${bam_source}/${sample_name}.merged.bam
Will samtools work with list from python as input? is the above scrips in general OK?
Thanks!
I don't see python code in your example.