10XGenomics / bamtofastq

Convert 10x BAM files to the original FASTQs compatible with 10x pipelines
MIT License
59 stars 6 forks source link

Parse a new header line to optionally set FormatBamRecords.rename #3

Closed jgarthur closed 6 years ago

jgarthur commented 6 years ago

Header lines like the one below are now parsed by parse_seq_names in order to set the rename field in FormatBamRecords

Example header line: @CO 10x_bam_to_fastq_seqnames:R1,R3,I1,R2

In this case, the @CO header lines marked R1, R2, I1, I2 will be used to write reads to output files R1, R3, I1, and R2, respectively

jgarthur commented 6 years ago

Done