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

Unexpected error [InvocationTargetException] #516

Open
yang-guoli opened this issue Dec 2, 2020 · 4 comments
Open

Unexpected error [InvocationTargetException] #516

yang-guoli opened this issue Dec 2, 2020 · 4 comments
Labels
question Further information is requested

Comments

@yang-guoli
Copy link

When i use the command:./nextflow run nf-core/rnaseq -profile docker --input /home/young/miniconda3/bin/samplesheet.csv --genome GRCh37,it report the error that .
The same error when i use the command: ./nextflow run nf-core/rnaseq -profile docker --input /home/young/miniconda3/bin/samplesheet.csv --fasta /home/young/miniconda3/bin/genome.fa --gtf /home/young/miniconda3/bin/genes.gtf.gz --gff /home/young/miniconda3/bin/genes.gff.gz --transcript_fasta /home/young/miniconda3/bin/transcriptome.fasta --addtional_fasta /home/young/miniconda3/bin/gfp.fa.gz star_index /home/young/miniconda3/bin/star.tar.gz --histat2_index /home/young/miniconda3/bin/hisat2.tar.gz --rsem_index /home/young/miniconda3/bin/rsem.tar.gz --salmon_index /home/young/miniconda3/bin/salmon.tar.gz I am a newbie in bioinformatics
image
and I am a newbie in bioinformatics,could you help me?

@drpatelh
Copy link
Member

drpatelh commented Dec 2, 2020

Hi @yang-guoli. Please check that all of the input files you have defined in the input samplesheet actually exist. This has come up more than once now and the issue is most likely because the pipeline can't find the input files. If all else fails you can try and move the fastq files to the directory where you are running the pipeline too to see if it works.

@drpatelh drpatelh added the question Further information is requested label Dec 2, 2020
@yang-guoli
Copy link
Author

Hi @yang-guoli. Please check that all of the input files you have defined in the input samplesheet actually exist. This has come up more than once now and the issue is most likely because the pipeline can't find the input files. If all else fails you can try and move the fastq files to the directory where you are running the pipeline too to see if it works.

Okay, thank you for your help and it helped me a lot

@drpatelh
Copy link
Member

drpatelh commented Dec 3, 2020

Great! I am assuming that solved the issue here so will close it.

@drpatelh drpatelh closed this as completed Dec 3, 2020
drpatelh added a commit that referenced this issue Dec 3, 2020
Fix #516 InvocationTargetException by not using checkIfExists
@Argonvi
Copy link

Argonvi commented Oct 2, 2024

I have gotten a very similar error, java.lang.reflect.InvocationTargetException, when running version 3.15.1 on a SLURM-managed cluster. I checked that all files in the samplesheet exist.

I run the pipeline from a folder with this nextflow.config file:

singularity {
enabled = true
autoMounts = true // Nextflow automatically mounts host paths in the executed container
cacheDir = '/mnt/zonahpc/home/onco/comun/software/singularity/cache'
}
process {
executor = 'slurm'
}

Here is a screenshot of the execution report:
Image

@Argonvi Argonvi reopened this Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants