Closed MengjunWu closed 2 years ago
Hi,
cat <(samtools view -H in.bam) <(samtools view -@ 4 in.bam | grep 'UB:Z:[A-Z]') | samtools view -b -@ 16 -o out.bam
Thanks a lot for the clear explanations! Just to confirm if one only wants to use customized GTF for counting but whole genome GTF for star mapping, where in the yaml should one pass the customized GTF?
Aha! Now I understand what you meant by that.
So there is no foreseen option for this, the only way would be to replace the *.final_annot.gtf
file in your zUMIs output folder during/after the Mapping stage (prior to Counting stage).
Got it, many thanks!
Hi,
I want to extract UMI containing reads from the bam file (i.e. the 5'end reads). After read the manual of the bam tags, I am still a bit confused, so I want to ask a few questions for clarification.
Thanks a lot!
Best, Mengjun