Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jmwhitha
    Senior Member
    • Mar 2013
    • 107

    #1

    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

  • SEQadmin2
    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
    by SEQadmin2



    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
    ...
    10-14-2026, 09:55 AM
  • SEQadmin2
    New Genomics Technologies Take Aim at Long-Standing Limits
    by SEQadmin2


    Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

    We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
    ...
    09-28-2026, 10:25 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 10-22-2026, 11:13 AM
0 responses
27 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
20 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-15-2026, 10:52 AM
0 responses
37 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-14-2026, 05:39 AM
0 responses
44 views
0 reactions
Last Post SEQadmin2  
Working...