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

error for virus_pathogen_database.mmi #12

Open
tulikasriv26 opened this issue Oct 3, 2024 · 4 comments
Open

error for virus_pathogen_database.mmi #12

tulikasriv26 opened this issue Oct 3, 2024 · 4 comments

Comments

@tulikasriv26
Copy link

I am continously getting this error for paired -ended files
Processing sample: BBW_0513_FS_CKDL240028581-1A_22FWVLLT4_L4
Time Update: Starting main bash script for EsViritu General Mode @ 10-02-24---23:16:26
can't find minimap2 index for pipeline. should be: /home/tulika.bhardwaj/miniconda3/envs/EsViritu/lib/python3.12/site-packages/EsViritu/virus_pathogen_database.mmi
exiting
/home/............/miniconda3/envs/EsViritu/lib/python3.12/site-packages/EsViritu
2 paired read files
DB: /home/............./miniconda3/envs/EsViritu/lib/python3.12/site-packages/EsViritu
filter seqs: /........../lib/python3.12/site-packages/EsViritu
version 0.2.3
0
coverm found
minimap2 found
samtools found
bioawk found
seqkit found
bedtools found
fastp found
seqfu found

And this is the script
raw="/work/ebg_lab/gm/wastewater_data/usftp21.novogene.com/01.RawData/EsViritu"
out="/work/ebg_lab/gm/wastewater_data/usftp21.novogene.com/01.RawData/EsViritu_result"

#####################################################################################################
conda env config vars set ESVIRITU_DB=/work/ebg_lab/gm/wastewater_data/usftp21.novogene.com/01.RawData/EsViritu/DBs/v2.0.2
mkdir -p $out
while read p
do
echo "Processing sample: $p"
EsViritu -r $raw/${p}_1.fq $raw/${p}_2.fq -s ${p} -t 16 -o $out/$p -p paired
done < list

@mtisza1
Copy link
Contributor

mtisza1 commented Oct 9, 2024

Hi, thanks for opening the issue.

This may or may not have changed in recent conda updates, but any time I use the command: conda env config vars set, it prompts me to deactivate/reactivate the environment for this change to take effect. So, I think that's your problem.

In your case, you can simply use the --db flag in your EsViritu command, e.g.:

--db /work/ebg_lab/gm/wastewater_data/usftp21.novogene.com/01.RawData/EsViritu/DBs/v2.0.2

Let me know if this helps.

Best,

Mike

@tulikasriv26
Copy link
Author

tulikasriv26 commented Oct 9, 2024 via email

@tulikasriv26
Copy link
Author

tulikasriv26 commented Oct 10, 2024 via email

@mtisza1
Copy link
Contributor

mtisza1 commented Oct 10, 2024

Hi,

This looks like a coverm error. It seems due to the /tmp directory not existing. There's a way to go around this and set an alternative tmp path:

https://wwood.github.io/CoverM/coverm-genome.html#frequently-asked-questions-faq

Alternatively, it's possible your computer/node is running out of RAM. You can sample down your files with seqkit head or a similar command to check this.

Mike

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