cancerit / PCAP-core

NGS reference implementations and helper code for mapping (originally part of ICGC-TCGA-PanCancer)
GNU General Public License v2.0
9 stars 9 forks source link

should not use '\t' as header separator #47

Open byb121 opened 5 years ago

byb121 commented 5 years ago

This line returns a header with the literal string \t as a separator. According to SAM format, that string is also allowed in a tag value. If a tag value has it, it is an extreme case though, the subroutine will return an unusable header line.

I'm wondering if we can just use a tab as separator, or probably a new line, or just return an array if neither of them works?