sanger-pathogens / iva

de novo virus assembler of Illumina paired reads
http://sanger-pathogens.github.io/iva/
Other
54 stars 18 forks source link

iva --test "Error! File hiv_pcr_primers.fa" not found. Cannot continue. #104

Open k39ajdM2 opened 3 years ago

k39ajdM2 commented 3 years ago

Hi,

I tried installing iva via pip3 or with docker on my Mac and each time I tried to run iva --test testdir, it gives me this:

Running iva in test mode...
Copied input test files into here: /Users/user/testdir
Current working directory: /Users/user/testdir
Running iva on the test data with the command:
/Library/Frameworks/Python.framework/Versions/3.8/bin/iva --threads 1 --pcr_primers hiv_pcr_primers.fa -f reads_1.fq.gz -r reads_2.fq.gz iva.out
The following command failed with exit code 1
/Library/Frameworks/Python.framework/Versions/3.8/bin/iva --threads 1 --pcr_primers hiv_pcr_primers.fa -f reads_1.fq.gz -r reads_2.fq.gz iva.out

The output was:

Error! File "hiv_pcr_primers.fa" not found. Cannot continue
Error! File "hiv_pcr_primers.fa" not found. Cannot continue
Error in input reads files. Cannot continue

The file hiv_pcr_primers.fa exists in testdir. Why can't it find it?

I've also tried using iva with real data and I get the same "file not found" errors.

Thanks for your assistance!

thednainus commented 3 years ago

I am also getting the same error message.

emt90 commented 3 years ago

Me too! Did you manage to solve it?

thanks in advance

Ester :)

thednainus commented 3 years ago

I think the problem is related to the version of python 3. It seems to work on python 3.5. I created a conda environment with python 3.5 and installed IVA using conda too (https://anaconda.org/bioconda/iva). Try to install it using conda as it will install the correct dependency programs as well. Try that and see if it works. Cheers, Fabricia.