Comments (4)
Hi @anugos
This seems to be a common and 'unresolved' prokka error.
The recommendation is posted here: tseemann/prokka#402 (comment)
Please install PROKKA manually (e.g. via conda), cd
into the work directory reported into the error, then use the command in the .command.sh
file to re-run prokka, but without redirecting the stdout/in
from mag.
Hey @anugos @jfy133 ! Found a bit of a workaround. I downloaded this container for Prokka and then modified my config to use this container. Also would not work via slurm submssion to our HPC, but did on the head node (?!), and then had to modify to run 1 at a time so tmp directories for prokka didn't overwrite eachother. On second thought, maybe using a different container was unnecessary but anyway..
Overall additions to config file:
process {
executor = 'slurm'
clusterOptions="-N 1 -p skylake,icelake"
withName: PROKKA {
container = '/<path>/prokka_1.14.6--pl5321hdfd78af_5.sif'
executor = 'local'
maxForks = 1
}
}
from mag.
@roberta-davidson huh interesting... what was the actual error for you (i.e., what was otehrwise piped to nothing?
Is it a /tmp
clash or something? This we can maybe set to use a the process' specific work
directory...
from mag.
The original command in error from running mag was:
[17:36:49] Could not run command: cat MEGAHIT\-MetaBAT2\-Bushfire_A24936\.15\/MEGAHIT\-MetaBAT2\-Bushfire_A24936\.15\.IS\.tmp\.44\.faa | parallel --gnu --plain -j 2 --block 43333 --recstart '>' --pipe blastp -query - -db /usr/local/db/kingdom/Bacteria/IS -evalue 1e-30 -qcov_hsp_perc 90 -num_threads 1 -num_descriptions 1 -num_alignments 1 -seg no > MEGAHIT\-MetaBAT2\-Bushfire_A24936\.15\/MEGAHIT\-MetaBAT2\-Bushfire_A24936\.15\.IS\.tmp\.44\.blast 2> /dev/null
I really don't understand why this workaround works...
I set out to do as you suggest above, and wrote a script to run .command.sh
in each work dir using my own prokka container, and then @shyama-mama figured out to just adjust the config and point to that container when the pipeline runs. Then realised that .command.sh with my container worked on head node but not within the pipeline (no idea why). Then adjusted to execute locally, and one at a time.
from mag.
Related Issues (20)
- Supplying a directory to --gtdbk-db breaks GTDB-Tk HOT 1
- Add coverm/contig and coverm/genome as options for calculating read alignment metrics
- Expanded documentation for nf-core/mag use cases & downstream analysis
- Add documentation detailing phageome/virome analysis
- Pipeline fails if only CONCOCT is turned on and other binners off
- CONCOCT (slow) HOT 1
- Single end data input
- Problem with DUMPSOFTWAREVERSIONS HOT 2
- Centrifuge error - (ERR): mkfifo(/tmp/46.inpipe1) failed. HOT 3
- NFCORE_MAG:MAG:GTDBTK:GTDBTK_CLASSIFYWF fails when all genomes classified by ANI screening step HOT 4
- CHECKM_LINEAGEWF failing with exit status 1 HOT 7
- Bins in CheckM summary do not match bins in bin depths summary HOT 7
- add diamond support to mag
- Improve documentation on the effects of completeness/contamination filters
- Replace CheckM with CheckM2 HOT 1
- Genome taxnomic classification with Sourmash HOT 3
- Pipeline completed sucessfully, but with errored process(es) HOT 1
- CAT_DB process has harcoded CAT subdirectory names HOT 1
- List of tool versions HOT 1
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 mag.