Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Miso Index creator not working with ensEMBL GFF files

    Hello everybody.

    I am having troubles using the MISO pipeline for finding alternative first exons on my reads dataset.

    for making MISO work, an index must be created by the index_gff.py script which comes with the pipelne. According to the MISO webiste, the input should be like this one:

    chr1 SE gene 4772649 4775821 . - . ID=chr1:4775654:4775821:-@chr1:4774032:4774186:-@chr1:4772649:4772814:-;Name=chr1:4775654:4775821:-@chr1:4774032:4774186:-@chr1:4772649:4772814:-
    chr1 SE mRNA 4772649 4775821 . - . ID=chr1:4775654:4775821:-@chr1:4774032:4774186:-@chr1:4772649:4772814:-.A;Parent=chr1:4775654:4775821:-@chr1:4774032:4774186:-@chr1:4772649:4772814:-
    chr1 SE mRNA 4772649 4775821 . - . ID=chr1:4775654:4775821:-@chr1:4774032:4774186:-@chr1:4772649:4772814:-.B;Parent=chr1:4775654:4775821:-@chr1:4774032:4774186:-@chr1:4772649:4772814:-
    chr1 SE exon 4775654 4775821 . - . ID=chr1:4775654:4775821:-@chr1:4774032:4774186:-@chr1:4772649:4772814:-.A.up;Parent=chr1:4775654:4775821:-@chr1:4774032:4774186:-@chr1:4772649:4772814:-.A
    chr1 SE exon 4774032 4774186 . - . ID=chr1:4775654:4775821:-@chr1:4774032:4774186:-@chr1:4772649:4772814:-.A.se;Parent=chr1:4775654:4775821:-@chr1:4774032:4774186:-@chr1:4772649:4772814:-.A
    chr1 SE exon 4772649 4772814 . - . ID=chr1:4775654:4775821:-@chr1:4774032:4774186:-@chr1:4772649:4772814:-.A.dn;Parent=chr1:4775654:4775821:-@chr1:4774032:4774186:-@chr1:4772649:4772814:-.A
    chr1 SE exon 4775654 4775821 . - . ID=chr1:4775654:4775821:-@chr1:4774032:4774186:-@chr1:4772649:4772814:-.B.up;Parent=chr1:4775654:4775821:-@chr1:4774032:4774186:-@chr1:4772649:4772814:-.B
    chr1 SE exon 4772649 4772814 . - . ID=chr1:4775654:4775821:-@chr1:4774032:4774186:-@chr1:4772649:4772814:-.B.dn;Parent=chr1:4775654:4775821:-@chr1:4774032:4774186:-@chr1:4772649:4772814:-.B
    Instead, a normal GFF file downloaded from ensEMBL looks like this

    11 protein_coding exon 31158398 31158571 . + . gene_id "ENSDARG00000091602"; transcript_id "ENSDART00000122756"; exon_number "2"; gene_name "CR790368.1"; gene_biotype "protein_coding"; transcript_name "CR790368.1-201";
    11 protein_coding CDS 31158398 31158571 . + 2 gene_id "ENSDARG00000091602"; transcript_id "ENSDART00000122756"; exon_number "2"; gene_name "CR790368.1"; gene_biotype "protein_coding"; transcript_name "CR790368.1-201"; protein_id "ENSDARP00000111013";
    11 protein_coding exon 31161221 31161385 . + . gene_id "ENSDARG00000091602"; transcript_id "ENSDART00000122756"; exon_number "3"; gene_name "CR790368.1"; gene_biotype "protein_coding"; transcript_name "CR790368.1-201";
    11 protein_coding CDS 31161221 31161385 . + 2 gene_id "ENSDARG00000091602"; transcript_id "ENSDART00000122756"; exon_number "3"; gene_name "CR790368.1"; gene_biotype "protein_coding"; transcript_name "CR790368.1-201"; protein_id "ENSDARP00000111013";
    11 protein_coding exon 31161542 31162705 . + . gene_id "ENSDARG00000091602"; transcript_id "ENSDART00000122756"; exon_number "4"; gene_name "CR790368.1"; gene_biotype "protein_coding"; transcript_name "CR790368.1-201";
    11 protein_coding CDS 31161542 31162705 . + 2 gene_id "ENSDARG00000091602"; transcript_id "ENSDART00000122756"; exon_number "4"; gene_name "CR790368.1"; gene_biotype "protein_coding"; transcript_name "CR790368.1-201"; protein_id "ENSDARP00000111013";
    11 protein_coding exon 31165694 31165819 . + . gene_id "ENSDARG00000091602"; transcript_id "ENSDART00000122756"; exon_number "5"; gene_name "CR790368.1"; gene_biotype "protein_coding"; transcript_name "CR790368.1-201";
    11 protein_coding CDS 31165694 31165819 . + 2 gene_id "ENSDARG00000091602"; transcript_id "ENSDART00000122756"; exon_number "5"; gene_name "CR790368.1"; gene_biotype "protein_coding"; transcript_name "CR790368.1-201"; protein_id "ENSDARP00000111013";
    11 protein_coding exon 31167191 31167313 . + . gene_id "ENSDARG00000091602"; transcript_id "ENSDART00000122756"; exon_number "6"; gene_name "CR790368.1"; gene_biotype "protein_coding"; transcript_name "CR790368.1-201";
    11 protein_coding CDS 31167191 31167313 . + 2 gene_id "ENSDARG00000091602"; transcript_id "ENSDART00000122756"; exon_number "6"; gene_name "CR790368.1"; gene_biotype "protein_coding"; transcript_name "CR790368.1-201"; protein_id "ENSDARP00000111013";
    11 protein_coding exon 31167542 31167667 . + . gene_id "ENSDARG00000091602"; transcript_id "ENSDART00000122756"; exon_number "7"; gene_name "CR790368.1"; gene_biotype "protein_coding"; transcript_name "CR790368.1-201";
    11 protein_coding CDS 31167542 31167667 . + 2 gene_id "ENSDARG00000091602"; transcript_id "ENSDART00000122756"; exon_number "7"; gene_name "CR790368.1"; gene_biotype "protein_coding"; transcript_name "CR790368.1-201"; protein_id "ENSDARP00000111013";
    11 protein_coding exon 31168516 31168641 . + . gene_id "ENSDARG00000091602"; transcript_id "ENSDART00000122756"; exon_number "8"; gene_name "CR790368.1"; gene_biotype "protein_coding"; transcript_name "CR790368.1-201";
    11 protein_coding CDS 31168516 31168641 . + 2 gene_id "ENSDARG00000091602"; transcript_id "ENSDART00000122756"; exon_number "8"; gene_name "CR790368.1"; gene_biotype "protein_coding"; transcript_name "CR790368.1-201"; protein_id "ENSDARP00000111013";
    11 protein_coding exon 31168791 31168945 . + . gene_id "ENSDARG00000091602"; transcript_id "ENSDART00000122756"; exon_number "9"; gene_name "CR790368.1"; gene_biotype "protein_coding"; transcript_name "CR790368.1-201";
    11 protein_coding CDS 31168791 31168942 . + 2 gene_id "ENSDARG00000091602"; transcript_id "ENSDART00000122756"; exon_number "9"; gene_name "CR790368.1"; gene_biotype "protein_coding"; transcript_name "CR790368.1-201"; protein_id "ENSDARP00000111013";
    11 protein_coding stop_codon 31168943 31168945 . + 0 gene_id "ENSDARG00000091602"; transcript_id "ENSDART00000122756"; exon_number "9"; gene_name "CR790368.1"; gene_biotype "protein_coding"; transcript_name "CR790368.1-201";
    so the indexer is not recognizing some part, as described by the error log:
    [CODEWARNING: Invalid attributes string: gene_id "ENSDARG00000074181"; transcript_id "ENSDART00000057160"; exon_number "1"; gene_name "LRRC24 (2 of 2)"; gene_biotype "protein_coding"; transcript_name "CT027690.1-201";[/CODE]

    I would like to change the script (which is in python) but since I don't know the indexing criterias I don't know how to do it. Has some already done this, or know a way to make this script indexing work?

    thank you very much,

    daniele

  • #2
    The normal GFF file you posted below provided by ENSEMBL is gtf format, you should use gtf2gff3.pl to convert gtf to gff file first, then index the gff file which is successfully converted.
    It's mentioned in MISO manual:

    Comment

    Latest Articles

    Collapse

    • seqadmin
      New Genomics Tools and Methods Shared at AGBT 2025
      by seqadmin


      This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

      The Headliner
      The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
      03-03-2025, 01:39 PM
    • seqadmin
      Investigating the Gut Microbiome Through Diet and Spatial Biology
      by seqadmin




      The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
      02-24-2025, 06:31 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, Today, 07:27 AM
    0 responses
    10 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, Yesterday, 12:50 PM
    0 responses
    14 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 03-03-2025, 01:15 PM
    0 responses
    185 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 02-28-2025, 12:58 PM
    0 responses
    280 views
    0 likes
    Last Post seqadmin  
    Working...
    X