Closed nick-youngblut closed 7 months ago
I have ran into this a couple times before, I had to use the latest script from minimap2's repo (https://raw.githubusercontent.com/lh3/minimap2/master/misc/paftools.js
) and use GTF instead of GFF.
I am working on including the js script in FLAMES and addressing the minimap2 folder issue you brought up, but for now you might want to either A. ran alignment manually (saving it as align2genome.bam under output folder will make FLAMES skip alignment) or B. make a folder that contains (softlinked) minimap2 binary and the latest js script.
Thanks @ChangqingW for the info!
and use GTF instead of GFF
Why was the GTF needed instead of the GFF? Is this info in the docs? Maybe it would be good to include such info in the error message for if (id == null) throw Error("No transcript_id");
(actually catch the error and write out a useful message)?
I should note that although the if (id == null) throw Error("No transcript_id");
message occurs rather early in the pipeline, the pipeline continues to run for quite a while before it actually fails. It would help if the pipeline failed fast.
Thanks @ChangqingW for the info!
and use GTF instead of GFF
Why was the GTF needed instead of the GFF? Is this info in the docs? Maybe it would be good to include such info in the error message for
if (id == null) throw Error("No transcript_id");
(actually catch the error and write out a useful message)?I should note that although the
if (id == null) throw Error("No transcript_id");
message occurs rather early in the pipeline, the pipeline continues to run for quite a while before it actually fails. It would help if the pipeline failed fast.
This is a known issue in minimap2: https://github.com/lh3/minimap2/issues/422#issuecomment-500848428 I have no plans on modifying the js scripts from minimap2, but yes maybe I can catch the error in R and suggests using GTF.
I'm getting the following error:
My relevant code:
For the reference/annotation files, I'm using:
GCF_000001405.40_GRCh38.p14_genomic.fna.gz
GCF_000001405.40_GRCh38.p14_genomic.gff.gz
The full input parameters:
I'm using FLAMES 1.9.2.
Any idea on what is causing the error with paftools?