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
            Advancing Precision Medicine for Rare Diseases in Children
            by seqadmin




            Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
            12-16-2024, 07:57 AM
          • seqadmin
            Recent Advances in Sequencing Technologies
            by seqadmin



            Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

            Long-Read Sequencing
            Long-read sequencing has seen remarkable advancements,...
            12-02-2024, 01:49 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 12-17-2024, 10:28 AM
          0 responses
          27 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-13-2024, 08:24 AM
          0 responses
          43 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-12-2024, 07:41 AM
          0 responses
          29 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-11-2024, 07:45 AM
          0 responses
          42 views
          0 likes
          Last Post seqadmin  
          Working...
          X