Open slowkow opened 4 years ago
Hi, no I analysed a lot of gzipped fastq files. I see some strange error: terminate called after throwing an instance of 'std::runtime_error' and 134. can it be a lack of resources (RAM, time etc) or some other thing. Can you try to run directly singularity exec -e $SINGIMAGE .command.sh ? or you can rerun asking more RAM
There is no lack of resources on this machine.
Could I ask how you find the $SINGIMAGE
variable?
sorry SINGIMAGE stands for singularity image... it is the path to your singularity image (built by NF pipeline).
Thanks, I believe you mean that $SINGIMAGE
refers to this file:
singularity/biocorecrg-indrops-0.4.img
Here's what happens when I run the command you suggested:
$ singularity exec -e singularity/biocorecrg-indrops-0.4.img /home/ks38/work/indrop/nextflow_dropest/indrop/work/70/f81b09101b856a29fb9bc199c97677/.command.sh
INFO: Convert SIF file to sandbox...
FATAL: permission denied
INFO: Cleaning up image...
If I cd
into the working directory, then I get a different error:
$ cd /home/ks38/work/indrop/nextflow_dropest/indrop/work/70/f81b09101b856a29fb9bc199c97677/
$ singularity exec -e ../../../singularity/biocorecrg-indrops-0.4.img .command.sh
INFO: Convert SIF file to sandbox...
FATAL: ".command.sh": executable file not found in $PATH
INFO: Cleaning up image...
Finally, if I change the argument from .command.sh
to ./.command.sh
then I get back the first error again:
$ singularity exec -e ../../../singularity/biocorecrg-indrops-0.4.img ./.command.sh
INFO: Convert SIF file to sandbox...
FATAL: permission denied
INFO: Cleaning up image...
this is a singularity problem... So I imagine something is wrong with your installation of singularity... you can try changing the version of singularity or asking them directly... I see some problem here https://github.com/sylabs/singularity/issues/3892 but I cannot help on this
actually the real command would be:
singularity exec -e ../../../singularity/biocorecrg-indrops-0.4.img bash .command.sh
I got the nextflow pipeline to run, but it immediately throws an error.
It seems that the
droptag
tool cannot read the FASTQ files.Do you know what might be the problem?
When I
cd
into the working directory, I can see the symlinks to the FASTQ files. When I rungzip -cd $file | head
I can see that the files are readable.For example, is it possible that the
droptag
command is unable to read.fastq.gz
and instead requires.fastq
? That would be unfortunate.Thanks for any help!