This is a test version of Biostars. For the public version, visit https://www.biostars.org.
BAM files just say "sample_ID"

None of my BAM files have a correct sample ID in their header, they all literally say "sample_ID"

I didn't catch this until after SNP calling. How can I get the BAM headers to have the name of the sample that they are? I have over 2,000 BAM files.

bam snp samtools

Yikes ...............

Did the original file names have this information? You could perhaps samtools reheader the files in that case.

0 answers

No answers yet.

Log in to answer this question.