-
Notifications
You must be signed in to change notification settings - Fork 28
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
docker run fail for demo data #7
Comments
And if I tried basically the same N E X T F L O W ~ version 0.28.0 Caused by: Command executed: #Measures execution time #Sets the maximum memory to the value requested in the config file #Defines command for de-duplication #Logs version of the software and executed command (BBmap prints on stderr) #De-duplicates #Logs some figures about sequences passing de-duplication #Measures and logs execution time Command exit status: Command output: Command error: Work dir: Tip: when you have fixed the problem you can continue the execution appending to the nextflow command line the option -- Check '.nextflow.log' file for details |
Then tried that the error goes like: Caused by: Command executed: #Measures execution time #Logs version of the software and executed command echo "Using $version " >> .log.1_R2 #Does QC, extracts relevant information, and removes temporary files #Logging QC statistics (number of sequences, Pass/warning/fail, basic statistics, duplication level, kmers) #Measures and log execution time Command exit status: Command output: Command error: Work dir: Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named -- Check '.nextflow.log' file for details |
fixed |
Thanks for letting me know. I will add this to the troubleshooting page. |
Thanks for your reply. The only left issue is the folder structure for uniref90 did not match the one in config. |
I will have a look at the config file. Correct. The image does not contain any resources but you can download them either from Zenodo (https://zenodo.org/record/1068229#.Wh7a3rTQqL4), or by using the following command:
If you use this data file, please note that, before running YAMP, the FASTA file describing the human (contaminating) genome should be indexed with the following command:
Hope this helps! |
Added Troubleshooting here: https://github.com/alesssia/YAMP/wiki/Troubleshooting and here: https://github.com/alesssia/YAMP/wiki/How-to-use-Docker. Thanks again! |
As mentioned [here](alesssia/YAMP#7), this error has been plaguing a few people: ``` Command error: WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. ``` I could find the solution in the [YAMP wiki](https://github.com/alesssia/YAMP/wiki/How-to-use-Docker) but not in the Nextflow documentation so here it is.
Hi Alessia,
I tried to use docker and run locally in linux 16.04, I tried steps like below, and what's wrong with the error ? the docker image was pulled completely, but the system still unable to find image 'yampdocker:latest' locally
Error
N E X T F L O W ~ version 0.28.0
Launching
YAMP.nf
[angry_shockley] - revision: 8ed2c9d795[warm up] executor > local
[ff/30bff9] Submitted process > dedup
[78/3e0203] Submitted process > qualityAssessment (1)
[51/e88aa9] Submitted process > qualityAssessment (2)
ERROR ~ Error executing process > 'dedup'
Caused by:
Process
dedup
terminated with an error exit status (125)Command executed:
#Measures execution time
sysdate=$(date)
starttime=$(date +%s.%N)
echo "Performing Quality Control. STEP 1 [De-duplication] at $sysdate" > .log.2
echo " " >> .log.2
#Sets the maximum memory to the value requested in the config file
maxmem=$(echo "32 GB" | sed 's/ //g' | sed 's/B//g')
#Defines command for de-duplication
if [ "paired" = "paired" ]; then
CMD="clumpify.sh -Xmx"$maxmem" in1=ERR011089_1.fastq.gz in2=ERR011089_2.fastq.gz out1=Meta_HIT_ERR011089_dedupe_R1.fq.gz out2=Meta_HIT_ERR011089_dedupe_R2.fq.gz qin=33 dedupe subs=0 threads=4"
else
CMD="clumpify.sh -Xmx"$maxmem" in=ERR011089_1.fastq.gz out=Meta_HIT_ERR011089_dedupe.fq.gz qin=33 dedupe subs=0 threads=4"
fi
#Logs version of the software and executed command (BBmap prints on stderr)
version=$(clumpify.sh --version 2>&1 >/dev/null | grep "BBMap version")
echo "Using clumpify.sh in $version " >> .log.2
echo "Executing command: $CMD " >> .log.2
echo " " >> .log.2
#De-duplicates
exec $CMD 2>&1 | tee tmp.log
#Logs some figures about sequences passing de-duplication
echo "Clumpify's de-duplication stats: " >> .log.2
echo " " >> .log.2
sed -n '/Reads In:/,/Duplicates Found:/p' tmp.log >> .log.2
echo " " >> .log.2
totR=$(grep "Reads In:" tmp.log | cut -f 1 | cut -d: -f 2 | sed 's/ //g')
remR=$(grep "Duplicates Found:" tmp.log | cut -f 1 | cut -d: -f 2 | sed 's/ //g')
survivedR=$(($totR-$remR))
percentage=$(echo $survivedR $totR | awk '{print $1/$2*100}' )
echo "$survivedR out of $totR paired reads survived de-duplication ($percentage%, $remR reads removed)" >> .log.2
echo " " >> .log.2
#Measures and logs execution time
endtime=$(date +%s.%N)
exectime=$(echo "$endtime $starttime" | awk '{print $1-$2}')
sysdate=$(date)
echo "STEP 1 (Quality control) terminated at $sysdate ($exectime seconds)" >> .log.2
echo " " >> .log.2
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" >> .log.2
echo " " >> .log.2
Command exit status:
125
Command output:
(empty)
Command error:
Unable to find image 'yampdocker:latest' locally
docker: Error response from daemon: repository yampdocker not found: does not exist or no pull access.
See 'docker run --help'.
Work dir:
.....................YAMP/work/ff/30bff9a2c9c06f891f279d055ca0b3
Tip: view the complete command output by changing to the process work dir and entering the command
cat .command.out
-- Check '.nextflow.log' file for details
WARN: Killing pending tasks (2)
The text was updated successfully, but these errors were encountered: