Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Wallysb01
    Senior Member
    • Feb 2011
    • 286

    #1

    UCSC refseq to gff3

    Hi everyone,

    Does anyone know of a good script to only print one transcript from each gene in a GFF file?

    I've been trying to get the Anolis NCBI annotation into a gff3 or gtf file for some time and had very little luck. I've scoured their FTP and can only find .gbk files, which have all kinds of issues converting to some kind of gff. The bp_genbank2gff3.pl gives me utter nonsense. And 10's of GB of it.

    So I moved on to UCSC's table annotations, the xenoRefSeq.txt files. I used the UCSC_table2gff3.pl script, but now I have many, many more genes and mRNAs than should be there.

    I'm not particularly concerned with getting the annotation file 100% perfect, some of those alternate splicings that are actually real can go. I'd much rather just have the best single transcript from each gene than the some 120K genes and 300K mRNAs I have now.

    So, does anyone know of a good script to print just one, preferably the longest, transcript from each gene into a new non-redundant gff file?
  • dglemay
    Member
    • Feb 2011
    • 16

    #2
    one transcript from each gene in a GFF file

    Hi,

    I was looking for a way to do this too and stumbled upon this thread. Nobody has answered so this was my solution:

    1) use Ensembl BioMart to download the following to a tab-delimited text file
    EnsemblGeneID GeneStart GeneEnd ChromosomeName Strand

    2) convert this file to a gff with sed/awk:

    tail -n +2 human_genes_ENSrel62.txt | awk 'BEGIN{FS="\t";OFS="\t"}{print "chr"$4, "hg19_EnsGene", "CDS", $2 , $3, ".", $5, ".", "gene_id \""$1"\";"}' | sed 's/\t-1\t/\t-\t/' | sed 's/\t1\t/\t+\t/' > hg19_EnsGene.gff

    -Danielle

    Comment

    • kmcarr
      Senior Member
      • May 2008
      • 1181

      #3
      How about the A. carolinensis GTF from the Ensembl FTP site.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        Yesterday, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Yesterday, 05:39 AM
      0 responses
      13 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-13-2026, 09:56 AM
      0 responses
      15 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-09-2026, 11:14 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 09-29-2026, 09:51 AM
      0 responses
      78 views
      0 reactions
      Last Post SEQadmin2  
      Working...