Request to support for issue facing in Ballgown
0
0
Entering edit mode
4.0 years ago

Currently I am doing Differential Expression analysis of my data. I have used Hisat2, StringTie for alignment and quantification. My all results are good till output of StringTie, I got all .ctab files which required for Ballgown. But I am facing issue while creating ballgown object.

**

pheno_data = read.csv("/home/diksha/Downloads/pheno_data.csv")
bg <- ballgown(dataDir = data_directory, samplePattern="SRR", pData=pheno_data)

..

Error in ballgown(dataDir = data_directory, samplePattern = "SRR", pData = pheno_data) :
  first column of pData does not match the names of the folders containing the ballgown data.
In addition: Warning message:
In ballgown(dataDir = data_directory, samplePattern = "SRR", pData = pheno_data) :
  Rows of pData did not seem to be in the same order as the columns of the expression data. Attempting to rearrange pData...

Please help me to get fix this issue.**

next-gen RNA-Seq R stringtie • 902 views
ADD COMMENT
0
Entering edit mode

did you check pData object in R and folder names?

dikshapandey28

ADD REPLY
0
Entering edit mode

pData object is getting NULL. And I ran the below command. It returning TRUE

all(pheno_data$Run == list.files("data_directory")) [1] TRUE

After this also, I am getting mentioned error.

ADD REPLY
0
Entering edit mode

could you please post contents of pheno_data and list.files(data_directory, pattern="SRR")here? @ dikshapandey28

In the mean time, please do following:

1) Change column name of the samples to "id" and condition column name as "group" (please note that these column names are not mandatory. I wanted to use id column in next command)

2) Sort the pheno_data sample column name alphabetically. For eg. pheno_data = pheno_data[order(pheno_data$id),]

3) Recreate the ballgown object.

ADD REPLY

Login before adding your answer.

Traffic: 3114 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6