Picard Library: H And B Types
1
0
Entering edit mode
10.8 years ago
ranlib ▴ 40

I need to read bam files with H and B types in them with software that uses an older Picard library which doesn't handle those yet. Anyone know of a good way to filter those types out?

Thanks.

picard • 1.7k views
ADD COMMENT
1
Entering edit mode

what is 'types' ? a SAM flag ? what is the B flag ? Why cannot you use a newer picard ibrary ?

ADD REPLY
0
Entering edit mode
10.8 years ago
nilshomer ▴ 70

You could convert the file from BAM to SAM, then use your favorite language to remove the offending tags from each line (sed, awk, perl, python, and even Samtools only C library), and then finally convert back to BAM. The rest is left as an exercise to the reader.

ADD COMMENT

Login before adding your answer.

Traffic: 2091 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6