Thank you very much for woking on nf-core Ribo-seq...
# riboseq
x
Thank you very much for woking on nf-core Ribo-seq pipeline and setting up this channel! I have tried to run this pipeline on a dataset with matched Ribo-seq and RNA-seq data, to perform differential translational efficiency analysis. My dataset contained three conditions, two knockouts and a control, each condition with two biological replicates. First I tried to provide a contrasts file with two comparisons as below: id,variable,reference,target,batch,pair EIF5A_KO_vs_control,treatment,control,EIF5A_KO,,pair DOHH_KO_vs_control,treatment,control,DOHH_KO,,pair But it reported an error as follows: Error in anota2seqCheckInput(dataP = Anota2seqDataSet@dataP, dataT = Anota2seqDataSet@dataT, : Too few custom contrasts supplied. Please check your contrast matrix. Calls: anota2seqRun -> anota2seqCheckInput Execution halted Then I tried to do two comparisons separately, one at a time. I created two contrasts files as below: contrast_1.csv: id,variable,reference,target,batch,pair EIF5A_KO_vs_control,treatment,control,EIF5A_KO,,pair and contrast_2.csv: id,variable,reference,target,batch,pair DOHH_KO_vs_control,treatment,control,DOHH_KO,,pair It worked fine until it performed translational efficiency analysis by 'anota2seq'. It reported an error: Error in anota2seqCheckInput(dataP, dataT, phenoVec, batchVec, NULL, "BH", : Sample class control has less than three samples. anota2seq needs at least 3 samples per sample class if there are only 2 sample classes. Calls: do.call -> -> anota2seqCheckInput Execution halted I checked the documentation of 'anota2seq', and it turned out that 'anota2seq' can only deal with two conditions with at least three replicates. I think it maybe helps to clarify it in the pipeline documentation that "the step of translational efficiency analysis can only deal with two conditions with at least three replicates in each condition". So the users can skip this step if their data doesn't meet the requirement. I also saw 'anota2seq' can perform the analysis when there are more than two conditions and each with less than three replicates, however, it needs special parameter settings. It would be ideal to include that in the pipeline, if it is applicable. Thank you for your contributions!
j
Hi @Xinlei Gao thank you for your message. That is a valuable observation and indeed should be reported in the documentation at least