Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Does gffread extract assembled transcript?

    I have read thread 'extract assembled transcripts' http://seqanswers.com/forums/showthread.php?t=5116.

    But i am not clear whether gffread can extract assembled transcript now? I mean I need extract assembled transcripts but not sequences extracted from genome.

    The manual says that "The gffread utility can be used to generate a FASTA file with the DNA sequences for all transcripts in a GFF file. For this operation a fasta file with the genomic sequences have to be provided as well. For example, one might want to extract the sequence of all transfrags assembled from a Cufflinks assembly session. " http://cufflinks.cbcb.umd.edu/gff.html

    thanks!!

  • #2
    The point of the GFF/GTF file is to give information regarding the structure of genes or other features. gffread will extract and combine the sequence of those, regardless of what their nature is. The end of the thread you linked to wanted something slightly different. What they wanted were the sequence for those features in their samples, rather than the sequence for their features in the reference genome. If you want that too (it's unclear from what you wrote), then just call SNPs (careful, you're using RNAseq data!), convert the genome such that it includes the SNPs present in your samples (including indels is much more complicated, but I assume that someone put together a program to do that, though there would be MANY edge cases), and then run gffread with that.

    Comment


    • #3
      Originally posted by dpryan View Post
      The point of the GFF/GTF file is to give information regarding the structure of genes or other features. gffread will extract and combine the sequence of those, regardless of what their nature is. The end of the thread you linked to wanted something slightly different. What they wanted were the sequence for those features in their samples, rather than the sequence for their features in the reference genome. If you want that too (it's unclear from what you wrote), then just call SNPs (careful, you're using RNAseq data!), convert the genome such that it includes the SNPs present in your samples (including indels is much more complicated, but I assume that someone put together a program to do that, though there would be MANY edge cases), and then run gffread with that.
      Thanks for your reply!! yes, I use "tophat/cufflinks" to assembled the reads into transcripts. Then, i want to extract the sequences of assembled transcripts in my sample. But, i afraid gffread extract sequence of transcripts from reference genome but not from RNA-seq data. So, your suggestion is to convert reference sequence into a new reference sequence that includes SNPs and indels, and then use gffread get the sequences of transcripts. Yes?

      pkerrwall posted a solution similar to yours in 19th floor of thread http://seqanswers.com/forums/showthread.php?t=5116. I paste his solution here:

      Here is the process that I am using:

      Code:
      samtools mpileup -uf ref.fa accepted_hits.bam | bcftools view -cg - | vcfutils.pl vcf2fq | fq2fa.pl > new_ref.fa
      gffread -w transcripts.fa -g new_ref.fa transcripts.gtf
      where fq2fa.pl is a bioperl script to convert from fq to fasta

      I also have an email into the cufflinks developers to see if there is a way that the gffread utility can be enhanced to get the consensus sequence from the bam file and not the reference genome.

      Comment


      • #4
        I wouldn't hold my breath that they'll add that functionality to gffread, that's pretty far out of its purview. So yes, you'll need to make a consensus genome with samtools and then use that with gffread.

        Comment


        • #5
          Yes, gffread can extract transcripts, and do many other things. Geo Pertea has now created a standalone package and a website for gffread and other utilities, here:

          and this site also points to the Github repo.

          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
          25 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          29 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 09:21 AM
          0 responses
          25 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