Greetings,
I am using Trinity and Trinotate to run the DE, annotation and enrichment analysis on my transcriptome data, and it works great (thanks for all those scripts btw!).
However, I am with some difficulties to generate the plots using the GOplot.
Initially, I tried to run from the
analyze_diff_expr.pl script. The DE analysis and GOseq worked for all my samples/comparisons, creating the expected output files. But during GOplot run, I noticed two issues:
1. for one of the comparisons, one of the files necessary for GOplot is not being created (EC.genelist), although EC.david is there. The following error was prompted:
Error, missing value for required column field: Term at /home/gtd/Bioinfo/Progs/trinityrnaseq-Trinity-v2.4.0/Analysis/DifferentialExpression/../../PerlLib/DelimParser.pm line 252.
DelimParser::Writer::write_row(DelimParser::Writer=HASH(0x1406f20), HASH(0x11a0e50)) called at /home/gtd/Bioinfo/Progs/trinityrnaseq-Trinity-v2.4.0/Analysis/DifferentialExpression/prep_n_run_GOplot.pl line 107
I thought that the problem could be because my assembly is composed by the combination of different assemblers, meaning different transcript IDs (although for the other comparisons both EC files are generated). Nevertheless, the same error occurred when I tried to run the analysis using the sample data found in /Spombe_analyzeDiffExprWithGOseq/, either by introducing the --include_GOplot parameter to the runMe.sh script or by running the analysis step by step by myself.
2. As mentioned, for the remaining comparisons, both EC files were generated. However, the analysis crashes when trying to generate the first bubble graph, with the following error:
Error in data.frame(fg_params, label = as.vector(label_matrix), stringsAsFactors = FALSE) :
arguments imply differing number of rows: 1, 0
Calls: GOBubble ... draw_table -> tableGrob -> gtable_table -> data.frame
Execution halted
Error, CMD: /home/gtd/Bioinfo/Progs/trinityrnaseq-Trinity-v2.4.0/Analysis/DifferentialExpression/GOplot.Rscript --EC_david trans_counts.counts.matrix.c_vs_s.DESeq2.DE_results.P1e-3_C1.DE.subset.GOseq.enriched.GOplot_dat/EC.david --EC_genelist trans_counts.counts.matrix.c_vs_s.DESeq2.DE_results.P1e-3_C1.DE.subset.GOseq.enriched.GOplot_dat/EC.genelist --pdf_outfile trans_counts.counts.matrix.c_vs_s.DESeq2.DE_results.P1e-3_C1.DE.subset.GOseq.enriched.GOplot_dat.pdf died with ret 256 at /home/gtd/Bioinfo/Progs/trinityrnaseq-Trinity-v2.4.0/Analysis/DifferentialExpression/prep_n_run_GOplot.pl line 234.
Using these EC output files, I ran the GOplot analysis on R by myself, and I found that the error occurred during this step:
> GOBubble(circ, labels = 3)
Error in data.frame(fg_params, label = as.vector(label_matrix), stringsAsFactors = FALSE) :
arguments imply differing number of rows: 1, 0
In addition, although I was able to generate the other Bubble plots, none of them show the GO terms that should be respective to each circle.
Could you help me to solve these issues, please?
Best regards,
Gustavo