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
            Non-Coding RNA Research and Technologies
            by seqadmin




            Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.

            Nobel Prize for MicroRNA Discovery
            This week,...
            10-07-2024, 08:07 AM
          • seqadmin
            Recent Developments in Metagenomics
            by seqadmin





            Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
            09-23-2024, 06:35 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Today, 06:35 AM
          0 responses
          6 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, Yesterday, 02:44 PM
          0 responses
          7 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 10-11-2024, 06:55 AM
          0 responses
          14 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 10-02-2024, 04:51 AM
          0 responses
          110 views
          0 likes
          Last Post seqadmin  
          Working...
          X