Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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?

  • #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


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

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Recent Advances in Sequencing Analysis Tools
        by seqadmin


        The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
        05-06-2024, 07:48 AM
      • seqadmin
        Essential Discoveries and Tools in Epitranscriptomics
        by seqadmin




        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
        04-22-2024, 07:01 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Today, 02:46 PM
      0 responses
      9 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-07-2024, 06:57 AM
      0 responses
      13 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-06-2024, 07:17 AM
      0 responses
      16 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-02-2024, 08:06 AM
      0 responses
      23 views
      0 likes
      Last Post seqadmin  
      Working...
      X