Hello there,
I am using trinity to assemble my transcriptome reads, followed by RSEM to estimate transcript abundance and now I am trying to identify DE features using edgeR.
I have a total of 8 samples, 4 conditions with 2 replicates each. I have created a matrix containing the counts of RNA-seq fragments per feature created by RSEM in a tab-delimited text file.
And then I have run this command:
$ Trinity_HOME/Analysis/DifferentialExpression/run_DE_analysis. pl --matrix transcripts.counts.matrix --method edgeR --output edgeR_dir --samples_file samples_described.txt
However i got this error message:
Got 9 samples, and got: 9 data fields.
Header: Transcript_id RSEM_0C_Rep1.isoforms.results RSEM_0C_Rep2.isoforms.results RSEM_5C_Rep1.isoforms.results RSEM_5C_Rep2.isoforms.results RSEM_15C_Rep1.isoforms.results RSEM_15C_Rep2.isoforms.results RSEM_21C_Rep1.isoforms.results RSEM_21C_Rep2.isoforms.results
Next: comp20833_c0_seq1 1.00 0.00 0.00 2.00 1.00 0.00 2.00 0.00
-shifting sample indices over.
$VAR1 = {
'RSEM_5C_Rep2' => 4,
'RSEM_5C_Rep1' => 3,
'RSEM_0C_Rep2' => 2,
'RSEM_0C_Rep1' => 1,
'RSEM_15C_Rep1' => 5,
'RSEM_21C_Rep1' => 7,
'RSEM_21C_Rep2' => 8,
'RSEM_15C_Rep2' => 6
};
$VAR1 = {
'15C' => [
'15C_Rep1',
'15C_Rep2'
],
'0C' => [
'0C_Rep1',
'0C_Rep2'
],
'5C' => [
'5C_Rep1',
'5C_Rep2'
],
'21C' => [
'21C_Rep1',
'21C_Rep2'
]
};
Samples to compare: $VAR1 = [
'15C',
'0C',
'5C',
'21C'
];
Error, cannot determine column index for replicate name [0C_Rep1]$VAR1 = {
'RSEM_0C_Rep2' => 2,
'RSEM_5C_Rep1' => 3,
'RSEM_5C_Rep2' => 4,
'RSEM_0C_Rep1' => 1,
'RSEM_15C_Rep1' => 5,
'RSEM_21C_Rep1' => 7,
'RSEM_21C_Rep2' => 8,
'RSEM_15C_Rep2' => 6
};
Can someone please shed from light on what I should do or how to trouble shoot the problem that I am facing?
I appreciate your help so so so much.
Regards,
Cleo Nicole