/tools/expression/eiplot.xml

https://bitbucket.org/cistrome/cistrome-harvard/ · XML · 95 lines · 70 code · 25 blank · 0 comment · 0 complexity · f88eb32ddc12d019f6a4df0d6e04fe79 MD5 · raw file

  1. <?xml version="1.0"?>
  2. <tool name="Draw a histogram/box plot" id="expindxplotId">
  3. <description>
  4. of Expression index for a given a list of Genes
  5. </description>
  6. <code file="eiplot_code.py"/>
  7. <command interpreter="python">
  8. eiplot.py '$title' '$expression_index_file' '$opMode.sampleName' '$opMode.geneList1' '$opMode.refChoice' '$opMode.geneList2' '$logmeta'
  9. </command>
  10. <inputs>
  11. <page>
  12. <param name="title" label="Title to label the new output file" type="text" size="80" value="Expression Index Plot" />
  13. <param name="expression_index_file" type="data" format="txt" label="Expression index file"
  14. optional="false" size="120" help="Choose an expression index file from your current history"/>
  15. </page>
  16. <page>
  17. <conditional name="opMode">
  18. <param name="opMode" type="select" label="Operation Type">
  19. <option value="basic" selected="true">Basic</option>
  20. <option value="advanced">Advanced</option>
  21. </param>
  22. <when value="basic">
  23. <param name="sampleName" type="select" label="Samples from the Expression Index File"
  24. dynamic_options="getSampleNames(expression_index_file)"
  25. help="Choose a sample from the expression index file">
  26. </param>
  27. <param name="geneList1" type="data" format="txt" label="Select a second gene list to compare"
  28. optional="false" size="120" help="Choose a gene list file from your current history.Genes must be separated by new line."/>
  29. <param name="refChoice" type="hidden" value="All"/>
  30. <param name="geneList2" type="hidden" value=""/>
  31. </when>
  32. <when value="advanced">
  33. <param name="sampleName" type="select" label="Samples from the Expression Index File"
  34. dynamic_options="getSampleNames(expression_index_file)"
  35. help="Choose a sample from the expression index file">
  36. </param>
  37. <param name="geneList1" type="data" format="txt" label="Select a second gene list to compare"
  38. optional="false" size="120" help="Choose a gene list file from your current history.Genes must be separated by new line."/>
  39. <param name="refChoice" type="select" display="radio" label="Select Genes">
  40. <option value="All">All Genes in the expression index file</option>
  41. <option value="Partial">Choose a partial gene list file</option>
  42. </param>
  43. <param name="geneList2" type="data" format="txt" label="Partial expression index genes"
  44. optional="true" size="120" help="Choose a partial genes file from your current history. Genes must be separated by new line. "/>
  45. </when>
  46. </conditional>
  47. </page>
  48. </inputs>
  49. <outputs>
  50. <data format='txt' name="logmeta"/>
  51. </outputs>
  52. <help>
  53. **Syntax**
  54. - **Title:** Label for the output file
  55. - **Expression index file:** Select a Normalized Expression Index (.txt) file from your history
  56. - **Samples from the Expression Index File:** Select the sample column that will serve as reference
  57. - **Select a Gene List to compare:** Choose from your history a gene symbol list to compare
  58. - **Select Genes:** You could select all other genes from the previously selected sample as "gene universe" to compare the expression or
  59. - **Select a second gene list to compare:** If you want to compare 2 gene list among each other, you should select a gene list 2
  60. -----
  61. **Summary**
  62. This tool allows you to visualize (box plot and histograms) the expression index distribution of:
  63. - One gene list when compared with the "gene universe" of all other genes for a particular sample or
  64. - Two gene lists to compare the expression distribution of one list with the other
  65. The output of this tool is a .pdf file containing 3 figures.
  66. - Box plot of the compared Expression Index
  67. - Expression distribution histogram of gene list 1
  68. - Expression distribution histogram of gene list 2 or gene universe
  69. </help>
  70. </tool>