biocore / micronota

annotation pipeline for microbial genomes and metagenomes
BSD 3-Clause "New" or "Revised" License
18 stars 10 forks source link

SAM parser sniffer warning #65

Open RNAer opened 8 years ago

RNAer commented 8 years ago
/Users/zech/Dropbox/git/scikit-bio/skbio/io/registry.py:907: FormatIdentificationWarning: '_sam_sniffer' has encountered a problem.
Please send the following to our issue tracker at
https://github.com/biocore/scikit-bio/issues

Traceback (most recent call last):
  File "/Users/zech/Dropbox/git/scikit-bio/skbio/io/registry.py", line 899, in wrapped_sniffer
    return sniffer(fh)
  File "/Users/zech/Dropbox/git/micronota/micronota/parsers/sam.py", line 111, in _sam_sniffer
    assert line.startswith('@HD')
AssertionError

  FormatIdentificationWarning)
/Users/zech/Dropbox/git/scikit-bio/skbio/io/registry.py:547: FormatIdentificationWarning: <_io.BufferedReader name='/var/folders/4f/5zc7djg954dc71r037j88jwh0000gn/T/tmpqzam1xst/tmphvfj2rbr/db.diamond'> does not look like a sam file
  % (file, fmt), FormatIdentificationWarning)
mortonjt commented 8 years ago

Can you post the files in question?

RNAer commented 8 years ago

run "make test"

On Tue, Mar 15, 2016 at 4:27 PM, Jamie Morton notifications@github.com wrote:

Can you post the files in question?

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/biocore/micronota/issues/65#issuecomment-197067367