nanoporetech / pinfish

Tools to annotate genomes using long read transcriptomics data
Other
44 stars 13 forks source link

Added support for fasta files #26

Closed tleonardi closed 4 years ago

tleonardi commented 4 years ago

Hi, this PR addressed issue #25 and adds support for BAM files generated from aligning fasta files rather than fastq.

The functionality is implemented through a command line option -f that instructs pinfish_polish to generate sequence files in fasta instead of fastq. I initially considered implementing autodetection of the format, but it would probably mean basing the decision on the first line of the BAM file and it felt a bit hackish and overly complicated.

I've made the PR against master, but I'm happy to rebase on dev if needed.

bsipos commented 4 years ago

Thanks for this! Merging now.