Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Add Locus Column to Cummerbund diff_genes.txt

    Good morning SeqAnswers community,

    Today I am interested in adding a "locus" column to my diff_genes.txt file. I'm refering to the code at the top of pg. 575 in the 2012 Nature Protocol by Trapnell et al.

    >gene_diff_data<-diffData(genes(cuff_data))
    >sig_gene_data<-subset(gene_diff_data, (significant=='yes'))
    >write.table(sig_gene_data, 'diff_genes.txt', sep='\t', row.names=F, col.names=T, quote=F)

    The so called "locus" column is found in the genes_exp.diff file in the cuffdiff output. Again, I would like to capture this column in my diff_genes.txt. Furthermore, I would really like to have a column of "/product" ID's from the original GeneBank file, but that seems like it would involve a VBA script that would search the GeneBank file for the "locus tag" and then copy what's in quotations 5 rows down from it. I don't remember how to do that anymore though, so if anyone has any ideas before I manually ctrl find all my locus tags and product ID's, I'd really appreciate the help.

    I found this, but I don't know if it is relevant since there are no examples.

    4.1 Adding additional feature annotation
    Gene- or feature-level annotation can be permanently added to the database tables for future querying. If you have a data.frame where the first column contains the 'tracking_id' (eg. 'gene_id' for genes, 'isoform_id' for isoforms, etc). You can easily add feature level annotation using the addFeatures() function:

    > annot<-read.table("gene_annotation.tab",sep="\t",header=T,na.string="-")
    > addFeatures(cuff,annot,level="genes")


    By default, features added to a CuffSet object are assumed to be gene-level annotations, but the level can selected using the argument level. Features added to a CuffData object are assumed to be of the same type as the 'type' value for that given object (e.g. gene-level features for 'genes', isoform-level features for isoforms, etc.) - See more at: http://compbio.mit.edu/cummeRbund/ma....mojSSK12.dpuf

    Thanks and God bless,
    Jason

Latest Articles

Collapse

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

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, Yesterday, 11:49 AM
0 responses
13 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-24-2024, 08:47 AM
0 responses
16 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-11-2024, 12:08 PM
0 responses
61 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-10-2024, 10:19 PM
0 responses
60 views
0 likes
Last Post seqadmin  
Working...
X