Comments (7)
when reinstalling this version of MetaPhage and running:
mamba env create -n metaphage2 --file "$METAPHAGE_DIR"/deps/env-v2.yaml
I get...
r-cli ==3.0.1 r41hc72bb7e_0 does not exist (perhaps a typo or a missing channel);
from metaphage.
Hi, for the r-cli thing, the problem is in the version of this package.
Replace in the env-v2.yaml file the r-cli line you have by this one :
r-cli=3.3.0=r41h7525677_0
from metaphage.
These errors are due to the fact that the links provided to download the databases are not functional anymore.
Open metaphage/db, create the file you are missing among theses ones:
The file names in db have to be these ones :
"checkv"
"inphared"
"kraken2"
"phigaro"
"phix"
"vibrant"
"virsorter"
Then Download manually the specific databases by finding them yourself via google (e.g. inphared database), unzip them and add them manually to related file in /db.
Hope it helps, let me know if you don't find the databases.
from metaphage.
You can download an updated db_manager, with updated links, from here:
https://raw.githubusercontent.com/MattiaPandolfoVR/MetaPhage/dev/bin/python/db_manager.py
from metaphage.
Thanks JordanVV and telatin, I was able to install everything!
from metaphage.
Hi,
Thanks! Revising the env-v2.yaml file worked.
Now getting these errors running the following script:
"$METAPHAGE_DIR"/bin/python/db_manager.py -o "$METAPHAGE_DIR"/db/ -m 6 -r 2022.1
đ Downloading bundle 2022.1: 7 databases total
phix found: skipping
kraken2 found: skipping
phigaro found: skipping
vibrant found: skipping
virsorter found: skipping
đŚ Preparing to download CheckV database
đŚ Preparing to download vConTACT2
Error downloading https://s3.climb.ac.uk/ifrqmra-metaphage/v2.0/checkv.tar.gz:
HTTP Error 404: Not Found
â
CheckV database downloaded
tar (child): checkv.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
rm: cannot remove 'checkv.tar.gz': No such file or directory
â
vConTACT2 downloaded
tar (child): inphared.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
rm: cannot remove 'inphared.tar.gz': No such file or directory
2 packages downloaded in 12.75 seconds (cumulative 13.09 seconds)
from metaphage.
WARN: Killing pending tasks (4)
executor > local (44) [4e/034777] process > csv_validator (Checking met... [100%] 1 of 1 â [4c/db9b0a] process > db_manager (Downloading mis... [100%] 1 of 1 â [c2/16fdb6] process > fastp (SRR8653245) [100%] 10 of 10 â [0c/361b70] process > remove_phix (SRR8652969) [100%] 10 of 10 â [07/ec88bb] process > kraken2 (SRR8652969) [100%] 8 of 8 [- ] process > krona [ 0%] 0 of 8 [00/177922] process > megahit (SRR8652969) [100%] 9 of 9 [- ] process > metaquast - [9a/8a07d5] process > deepvirfinder (megahit-SRR8... [ 0%] 0 of 8 [- ] process > phigaro [ 0%] 0 of 9 [- ] process > vibrant [ 0%] 0 of 9 [de/42f554] process > virfinder (megahit-SRR8653090) [ 11%] 1 of 9, failed: 1 [- ] process > virsorter2 [ 0%] 0 of 9 [- ] process > cdhit - [- ] process > checkV - [- ] process > prodigal - [- ] process > bowtie2_derep - [- ] process > covtocounts2 - [- ] process > diamond_vcontact2 - [- ] process > vcontact2 - [- ] process > graphanalyzer - [- ] process > kraken_file - [- ] process > miner_comparison - [- ] process > checkv_table - [- ] process > summary - [- ] process > phylo_obj - [- ] process > file_chopper - [- ] process > taxonomy_table - [- ] process > alpha_diversity - [- ] process > beta_diversity - [- ] process > heatmap - [- ] process > violin_plots - [- ] process > multiqc - Error executing process > 'virfinder (megahit-SRR8653090)'
Caused by: Process
virfinder (megahit-SRR8653090)
terminated with an error exit status (1)Command executed:
Rscript /scratch/xxxx/MetaPhage/bin/Rscript/virfinder_execute.R SRR8653090_megahit_contigs.fasta 8 /scratch/xxxx/MetaPhage mv results.txt SRR8653090_results.txt mv viral_sequences.fasta SRR8653090_viral_sequences.fasta
since virfinder outputs a list of viral scaffolds headers, we need to collect these and extract the related viral sequence only if they respect the pvalue threshold
python /scratch/xxxxx/MetaPhage/bin/python/pvalue_virfinder.py SRR8653090
join the viral scaffold header with sequence
seqtk subseq ./SRR8653090_megahit_contigs.fasta ./SRR8653090_filtered_headers.txt > SRR8653090_viral_tmp_sequences.fasta
add miner flag at each fasta header
sed 's/^>/>virfinder_/' SRR8653090_viral_tmp_sequences.fasta > SRR8653090_viral_sequences.fasta rm SRR8653090_viral_tmp_sequences.fasta
Command exit status: 1
Command output: (empty)
Command error:
The following objects are masked from âpackage:statsâ:
IQR, mad, sd, var, xtabs
The following objects are masked from âpackage:baseâ:
anyDuplicated, append, as.data.frame, basename, cbind, colnames, dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep, grepl, intersect, is.unsorted, lapply, Map, mapply, match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank, rbind, Reduce, rownames, sapply, setdiff, sort, table, tapply, union, unique, unsplit, which.max, which.min
Loading required package: S4Vectors Loading required package: stats4
Attaching package: âS4Vectorsâ
The following objects are masked from âpackage:Matrixâ:
expand, unname
The following objects are masked from âpackage:baseâ:
expand.grid, I, unname
Loading required package: IRanges
Attaching package: âIRangesâ
The following object is masked from âpackage:VirFinderâ:
reverse
Loading required package: XVector Loading required package: GenomeInfoDb Error: package or namespace load failed for âGenomeInfoDbâ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called âGenomeInfoDbDataâ Failed with error: âpackage âGenomeInfoDbâ could not be loadedâ Loading required package: parallel Loading required package: Biostrings Loading required package: GenomeInfoDb Error: package or namespace load failed for âGenomeInfoDbâ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called âGenomeInfoDbDataâ Failed with error: âpackage âGenomeInfoDbâ could not be loadedâ Error in readDNAStringSet(inFaFile) : could not find function "readDNAStringSet" Calls: parVF.pred Execution halted
Work dir: /scratch/xxxx/MetaPhage/work/de/42f554c8476418693669732ae2c46e
Tip: you can replicate the issue by changing to the process work dir and entering the command
bash .command.run
slurmstepd: error: *** JOB 4280770 STEPD TERMINATED ON p-sc-2022 AT 2023-06-27T16:06:27 DUE TO JOB NOT ENDING WITH SIGNALS *** slurmstepd: error: Container 1369132 in cgroup plugin has 2 processes, giving up after 159 sec
Hi, SaraiFinks.
How do you fix this error? I'm having the same mistake, but I actually don't find how to fix it. Do I need a specific version of R? I appreciate your help.
from metaphage.
Related Issues (20)
- Reassess diversity metrics without running entire MetaPhage once again HOT 2
- How can I limit the maximum number of CPUs used by MetaPhage? HOT 3
- An error with virsorter2 of MetaPhage v2 beta HOT 4
- Link for downloading databases are down HOT 1
- An error with heatmap(megahit) of MetaPhage v2 beta HOT 2
- Link for developmental version MetaPhage2 not accessible HOT 1
- Link for metaphage (v1.0) singularity image down HOT 1
- Error with available memory HOT 11
- CDHit step Metaphage2 HOT 1
- Errors in downloading database HOT 2
- Singularity image not available
- Issue with vcontact2 classification HOT 5
- Error - Inphared database - vcontact2 Jun2022 HOT 1
- Unable to build the MetaPhage Environment HOT 3
- virsorter error HOT 1
- Out of memory error at the Qualimap bamqc step HOT 2
- An error at the graphanalyzer step HOT 4
- Does skipping graphanalyzer step lead to errors in the next steps? HOT 1
- Error executing process > 'summary (megahit)'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ď¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metaphage.