phac-nml / biohansel

Rapidly subtype microbial genomes using single-nucleotide variant (SNV) subtyping schemes
Apache License 2.0
25 stars 7 forks source link

fixing fasta lower case no result bug. added a unit test for subtype_contigs function #71

Closed kbessonov1984 closed 5 years ago

kbessonov1984 commented 5 years ago

@peterk87 current version of biohansel does not work on fasta/q files with lower case as comparisons to ref tiles fail. In current patch all input sequences are converter to upper case on the fly without modification of original input files. Also added unit tests as requested to test fasta contigs functionality as previous tests only focus on fastq inputs.