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
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM
      • seqadmin
        Strategies for Sequencing Challenging Samples
        by seqadmin


        Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
        03-22-2024, 06:39 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      29 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      32 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      28 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      52 views
      0 likes
      Last Post seqadmin  
      Working...
      X