Guest User

Untitled

a guest
Oct 18th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. <tool id="metabolights_downloader" name="Download MetaboLights Study" version="0.1.0">
  2. <requirements>
  3. </requirements>
  4. <command detect_errors="exit_code"><![CDATA[
  5. wget ftp://ftp.ebi.ac.uk/pub/databases/metabolights/studies/public/'$study_id'/i_*.txt ftp://ftp.ebi.ac.uk/pub/databases/metabolights/studies/public/'$study_id'/s_*.txt ftp://ftp.ebi.ac.uk/pub/databases/metabolights/studies/public/'$study_id'/a_*.txt ftp://ftp.ebi.ac.uk/pub/databases/metabolights/studies/public/'$study_id'/m_*.t*
  6. ]]></command>
  7. <inputs>
  8. <param name="study_id" type="text" label="Public Study Identifier at MetaboLights" help="This should be obtained from the MetaboLights website. For public studies, Ex. MTBLS253">
  9. <validator type="empty_field" />
  10. </param>
  11. <param type="select" name="download_rawfiles" label="Download raw files" help="Downloading raw files may take a while, as the raw files can be big in size">
  12. <option value="true">YES</option>
  13. <option value="false" selected="true">FALSE</option>
  14. </param>
  15. </inputs>
  16. <outputs>
  17. <collection type="list" label="Assay File(s)" name="a_files">
  18. <discover_datasets pattern="(?P<designation>a_.+)\.txt" format="tabular"/>
  19. </collection>
  20. <collection type="list" label="Sample File(s)" name="s_files">
  21. <discover_datasets pattern="(?P<designation>s_.+)\.txt" format="tabular"/>
  22. </collection>
  23. <collection type="list" label="Metabolite Annotation File(s)" name="maf_files">
  24. <discover_datasets pattern="(?P<designation>m_.+)\.tsv" format="tabular"/>
  25. </collection>
  26. <data name="i_file" format="tabular" label="Investigation File" from_work_dir="i_Investigation.txt" visible="true"/>
  27. </outputs>
  28. <help><![CDATA[
  29. **Overview**
  30. A program to download MetaboLights studies metadata.
  31. ]]></help>
  32. <citations>
  33. <citation type="doi">10.1002/0471250953.bi1413s53</citation>
  34. </citations>
  35. </tool>
Add Comment
Please, Sign In to add comment