Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Solution for easyRNASeq RPKM value = NA

    I was having problems in generate the rpkm values from easyRNASeq, everything I got is "NA".

    The problem is because the easyRNASeq could not calculate the total reads from one bam file. The libSizes generated from the below code is "NA". It looks like the column names of the read table is bam file name, but the name of libSizes is the bam file name with absolute file address. Remove the additional filesDirectory, the problem will be solved.

    Code:
    libSizes <- libSizes[match(colnames(mCounts),names(libSizes))]
    To do that, first download the easyRNASeq package from Bioconductor: http://www.bioconductor.org/packages...asyRNASeq.html
    Code:
    wget http://www.bioconductor.org/packages/2.12/bioc/src/contrib/easyRNASeq_1.6.0.tar.gz
    Then unzip it
    Code:
    tar zxvf easyRNASeq_1.6.0.tar.gz
    Edit the file easyRNASeq-normalize.R under R folder.
    Find the following code:
    Code:
    libSizes <- librarySize(obj)
    libSizes <- libSizes[match(colnames(mCounts),names(libSizes))]
    Modify the above code into below:

    Code:
    libSizes <- librarySize(obj)
    #insert these code
    libSizeName=names(libSizes)
    for (i in 1:length(libSizeName)){
         tmp=unlist(strsplit(libSizeName[i],"/"))
         libSizeName[i]=tmp[length(tmp)]
    }
    names(libSizes) = libSizeName
    
    libSizes <- libSizes[match(colnames(mCounts),names(libSizes))]
    Save the file and reinstall the easyRNASeq package with (u might need root to do so)
    Code:
    R CMD INSTALL easyRNASeq
    Rerun the R code you are able to see the normalized value.



    ==============================================
    PHDcell: the best online free reference manager

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