biod / sambamba

Tools for working with SAM/BAM data
http://thebird.nl/blog/D_Dragon.html
GNU General Public License v2.0
558 stars 104 forks source link

Add option to output in csv format #404

Closed SichongP closed 3 years ago

SichongP commented 5 years ago

I added an option to flagstat to output in csv format

I was trying to consolidate flagstat output from many bam files into a clean summary table. A csv format file makes it much easier and less error prone.

Used option: -b/--tabular output format: description, param[0], param[1] description, param[0]:percent(param[0]), param[1]:(percent(param[1]))

pjotrp commented 5 years ago

Thank you for your contribution! Travis (see link above) shows a syntax error. I'll see if I can merge this in some form in the coming month.

SichongP commented 5 years ago

I have fixed that syntax error but the new build seems to have failed on another error, which I'm having a hard time to identify. Sorry if this is due to a trivial mistake as I've never used D language before. If you can point me to the bug I can look into how to fix it. thx

pjotrp commented 5 years ago

Thanks. Just leave the PR open, I'll get round to it.

pjotrp commented 3 years ago

I think this failure got fixed with 0.8.0. Rerunning Travis now.