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

Using gff annotation file input instead of gtf input leads to error "No such variable: gtfFile" #452

Closed
orangebromeliad opened this issue Aug 17, 2020 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@orangebromeliad
Copy link

Hi Team,

I recently ran the pipeline using a gff file for genome annotation and encountered the following error:

No such variable: gtfFile
 -- Check script '/camp/home/littlet/.nextflow/assets/nf-core/rnaseq/main.nf' at line: 774 or see '.nextflow.log' file for more details

After asking on the Slack, Harshil Patel pointed out that this may be due to a bug around line 774 which doesn't check whether a gtf file is provided or not, and thus the program fails when a gtf file cannot be found.

rnaseq/main.nf

Line 774 in 4a0eeb4

gtfFile.into{ gtf_makeSTARindex; gtf_makeHisatSplicesites; gtf_makeHISATindex;

Here is my command by the way:

nextflow run nf-core/rnaseq -profile crick\
	--reads '/camp/lab/langhornej/working/HPC/littlet/audrey24h-reads-symlink/*{1,2}.fastq.gz' \
	--fasta '/camp/lab/langhornej/working/HPC/littlet/tlittle-PUF-symlink/genomes/PlasmoDB-45_Pchabaudichabaudi_Genome.fasta' \
	--gff '/camp/lab/langhornej/working/HPC/littlet/tlittle-PUF-symlink/genomes/PlasmoDB-45_Pchabaudichabaudi.gff' \
	--aligner 'hisat2' \
	--hisat2_index '/camp/lab/langhornej/working/HPC/littlet/tlittle-PUF-symlink/genomes/chabaudi_45_genome.' \
	--fc_extra_attributes false --fc_group_features 'gene_id' --fc_count_type 'exon' --skipBiotypeQC \
	-r dev

Thanks in advance! For now I'm going to follow advice and convert to a gtf file.

Tim

@drpatelh drpatelh added this to the 1.5 milestone Aug 18, 2020
@drpatelh drpatelh added the bug Something isn't working label Aug 18, 2020
drpatelh added a commit to drpatelh/nf-core-rnaseq that referenced this issue Aug 21, 2020
@drpatelh
Copy link
Member

Should be fixed when 85afde7 is merged into dev @orangebromeliad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants