Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fasta file with contigs is not created #6

Open
gaworj opened this issue Oct 19, 2022 · 3 comments
Open

fasta file with contigs is not created #6

gaworj opened this issue Oct 19, 2022 · 3 comments

Comments

@gaworj
Copy link

gaworj commented Oct 19, 2022

Hi,

Thank you for great tool!

I have encountered problem with sprayandpray.

When I run:

spray-and-pray.py -g assembly.fasta -out endosymbionts_out -cd 0.5 -L 1000000 -perc 50 -ref /BLAST_database/nr_db/nr_diamond_db -Domain Bacteria -t 40 -blast assembly.fasta.blast -fa endosymbionts.fa

endosymbionts_out dir is created with result files inside but there is no fasta file with contigs.

What I'm doing wrong?
Any hints?

Bests,
Jan

@Arkadiy-Garber
Copy link
Owner

Hi Jan,

Thanks for your interest in SprayNPray!

The issue with your command is the argument: -fa endosymbionts.fa. That is actually a flag. So you simply need to provide it with no arguments, like so:

spray-and-pray.py -g assembly.fasta -out endosymbionts_out -cd 0.5 -L 1000000 -perc 50 -ref /BLAST_database/nr_db/nr_diamond_db -Domain Bacteria -t 40 -blast assembly.fasta.blast --fa

The software will create it's own fasta files appended with 'matched' and 'unmatched'. Does that make sense? Sorry for the confusion.

Let me know if you continue to have issues or have any other questions.

Cheers,
Arkadiy

@gaworj
Copy link
Author

gaworj commented Oct 19, 2022

Hi,

Now it works! Thank you!

Please also add information to the instructions page that adding sprayandpray folder to the PATH is critical.

The taxmap...txt file cannot be found by the software without this step.

Bests,
Jan

@Arkadiy-Garber
Copy link
Owner

Excellent! Glad that it works now - and I will make those changes. Are you running SprayNPray using the conda install (with the setup.sh script)? If so, the path should be set in that conda env. But I will specify this in the wiki.

Thanks!
Arkadiy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants