pacific-2020 / pacific

PACIFIC: A lightweight alignment-free deep-learning classifier of SARS-CoV-2 and co-infecting viral sequences
MIT License
5 stars 2 forks source link

output file, input file flag bug #4

Closed renzobalb closed 4 years ago

renzobalb commented 4 years ago

If a full path to -i and a path to the -o flag are given, then no output comes out.

See below:

python ../PACIFIC.py   -i ~/pacific/pacific/test/test.fa.gz   -m ../model/pacific.01.pacific_9mers_nonGPU.h5   -t ../model/tokenizer.01.pacific_9mers.pickle   -l ../model/label_maker.01.pacific_9mers.pickle  -c 200 -o /media/dstore/renzo/pacific/pacific/test

Error: Writing final output FASTA /media/dstore/renzo/pacific/pacific/test/pacificoutput_test.fa.gz Traceback (most recent call last): File "../PACIFIC.py", line 363, in with open(OUTPUTDIR+'/'+f,'rb') as fd: FileNotFoundError: [Errno 2] No such file or directory: '/media/dstore/renzo/pacific/pacific/test//media/dstore/renzo/pacific/pacific/test/tmp_output_test.fa.gz_200'

hp2048 commented 4 years ago

Resolved in latest commit