medvir / VirMet

Set of tools for viral metagenomics.
13 stars 5 forks source link

Error when no viral reads are found: AttributeError: 'Series' #22

Closed ozagordi closed 7 years ago

ozagordi commented 7 years ago

AttributeError: 'Series' object has no attribute 'order' is thrown when no read is above the coverage/identity threshold. orgs_list must be written anyway.

ozagordi commented 7 years ago

On a similar line, if there are no reads after decontamination (empty hq_decont_reads.fastq file), another error is thrown.