Closed aryarm closed 4 years ago
samtools merge
-c
option to merge RG tags correctly-f
option to overwrite previously created files-h
option with the first file as an argument so that we just use the first file's headerAfter making all of these changes, can you still make a reference table mapping the old sample barcodes to these new ones? I think this would make it easier to evaluate the results of demuxlet.
@zrcjessica isn't that information in the barcodes.tsv files that get generated from the script you're writing? none of that information gets changed by new_bam.py
, the script I'm writing
Okay, you're right, that sounds good!
new_bam.py
should remove sample-specific information from each sample's BAM file and probably replace it with something universal across all of the samplesWhat do we need to change?