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

called Option::unwrap() on a None value #14

Open
skudashev opened this issue Dec 11, 2024 · 1 comment
Open

called Option::unwrap() on a None value #14

skudashev opened this issue Dec 11, 2024 · 1 comment

Comments

@skudashev
Copy link

Hi,
I am running your tool on a custom GTF. It has the following structure.

chr1    PacBio  five_prime_utr  1399515 1399551 .       +       .       gene_id "MRPL20-AS1"; transcript_id "transcript2280.chr1.nnic";
chr1    PacBio  five_prime_utr  1399515 1399551 .       +       .       gene_id "MRPL20-AS1"; transcript_id "ENST00000448629.8";
chr1    PacBio  exon    1399515 1399689 .       +       .       gene_id "MRPL20-AS1"; transcript_id "ENST00000448629.8";
chr1    PacBio  exon    1399515 1399689 .       +       .       gene_id "MRPL20-AS1"; transcript_id "transcript2280.chr1.nnic";
chr1    PacBio  transcript      1399515 1402036 .       +       .       gene_id "MRPL20-AS1"; transcript_id "transcript2280.chr1.nnic";
chr1    HAVANA  gene    1399515 1402046 .       +       .       gene_id "MRPL20-AS1";
chr1    PacBio  transcript      1399515 1402046 .       +       .       gene_id "MRPL20-AS1"; transcript_id "ENST00000448629.8";
chr1    PacBio  transcript      1399518 1402046 .       +       .       gene_id "MRPL20-AS1"; transcript_id "ENST00000572242.2";
chr1    PacBio  exon    1399518 1402046 .       +       .       gene_id "MRPL20-AS1"; transcript_id "ENST00000572242.2";
chr1    PacBio  exon    1399546 1399689 .       +       .       gene_id "MRPL20-AS1"; transcript_id "ENST00000689419.2";
chr1    PacBio  transcript      1399546 1402043 .       +       .       gene_id "MRPL20-AS1"; transcript_id "ENST00000689419.2";
chr1    PacBio  exon    1399552 1399685 .       +       .       gene_id "MRPL20-AS1"; transcript_id "ENST00000576232.2";
chr1    PacBio  CDS     1399552 1399689 .       +       .       gene_id "MRPL20-AS1"; transcript_id "ENST00000448629.8";
chr1    PacBio  CDS     1399552 1399689 .       +       .       gene_id "MRPL20-AS1"; transcript_id "transcript2280.chr1.nnic";
2024-12-11T14:50:08.475Z INFO  [gtfsort] Using 1 threads
thread 'main' panicked at /opt/conda/conda-bld/gtfsort_1709317798599/work/src/utils.rs:76:52:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Could you please advise which part of the gtf could be causing this error?

Sofia

@alejandrogzi
Copy link
Owner

Hey @skudashev

Could you please share your .gtf so I can debug it locally?

Thanks,
Alejandro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants