-
Notifications
You must be signed in to change notification settings - Fork 717
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
Nonfunctioning conversion from .gff to .gtf? #215
Comments
it is indeed weird, thanks for posting. Can you share the What is the command line you used to run nextflow? cheers |
Hi @lpantano , I'm sorry I can't share the whole file because it contains some private information, but here you can find all the lines after the initial description that comes after nexflow. For running Nextflow I used:
|
Thanks, it seems like is not entering that conditional process and the variables then are not defined. When you get the summary when running the pipeline that is printing all the variables, you see something like: GFF3 Annotation : Streptomyces_coelicolor_a3_2_.ASM20383v1.43.chromosome.Chromosome.gff from these lines : Line 254 in 37f260d
|
I see... I have something else to add, since I've encountered another error further on in the pipeline: featureCounts expects to find an annotation called gene_biotype, which you don't obtain if you run the gffread without the option |
Please see the usage docs on how to specify a different field instead of |
@silviamorins Did you manage to resolve this issue? |
I have converted the I just realized I had missed @ewels 's comments, sorry - I think his answer would have solved the problem I had with naming the features, but since I had already completed the analysis I haven't used it so far. |
Ok. Thanks. Is it something you could test quite easily? e.g just running the command that gave you the error with the appropriate modification that @ewels suggested and |
It should be, yes, will do it and let you know! |
The flag The conversion from .gff3 to .gtf still gives me problems, though. With the command:
I get the following: |
Thanks @silviamorins ! I suspect it's something to do with the optional channel creations when specifying |
@drpatelh sorry, no... I have looked into the code but it seems fine to me. I am not very into the channel structure, I guess that might be an issue |
I just ran into this again, with another genome (apple). The content in here is parsed correctly, right? (i.e., is providing the information further?) |
Sorry, this evaded my extensive TODO list. Apple genome! I didnt even know that existed 🥇 Ive had a look and cant see anything obvious with the relevant channels. May have to create a minimal test case that reproduce the error... |
I think this line: Line 427 in 37f260d
makeSTARindex use that GTF to make the index. Right now that makeSTARindex happens before the convertGFFtoGTF . (I think that is the issue)
|
Hi @lpantano , you're right, if the processes are executed in order that must be it. I will try to insert the change in my fork tomorrow and test it; if the error doesn't show up anymore I'll open a PR. Thanks! |
This should be fixed now with: |
Hi,
I am running Nextflow v 19.01.0 with RNASeq data from S. coelicolor; using the Streptomyces_coelicolor_a3_2_.ASM20383v1.37.gff3 file downloaded from Ensembl as annotation leads to the error:
ERROR ~ No such variable: gtf_{makeSTARindex,makeHisatSplicesites}
depending on the aligner I am using.
However, if I execute on my machine the command reported in the respective process here, and then provide the resulting
.gtf
file at the--gtf
flag, the pipeline runs through this step.I have looked into this process, but have no idea why this is happening.
The text was updated successfully, but these errors were encountered: