annotate bio2srr.xml @ 5:1a3038b6d1dd

planemo upload for repository https://toolrepo.galaxytrakr.org/view/jpayne/bioproject_to_srr_2/556cac4fb538
author jpayne
date Fri, 03 May 2024 03:13:56 -0400
parents 2d4a2159c74b
children b2745907b1eb
rev   line source
jpayne@4 1 <tool id="bio2srr" name="Bioproject to SRR" version="3.0.0">
jpayne@4 2 <description>Retrieve SRR accessions and sample metadata from BioProject. Recursively follows links to subprojects.</description>
jpayne@0 3 <requirements>
jpayne@4 4 <requirement type="package" version="3.12">python</requirement>
jpayne@5 5 <requirement type="package" version="2.2.1">urllib3</requirement>
jpayne@4 6 <requirement type="package" version="2.31.0">requests</requirement>
jpayne@0 7 </requirements>
jpayne@0 8 <command detect_errors="exit_code"><![CDATA[
jpayne@4 9 python $__tool_directory__/bio2srr.py "$input1"
jpayne@0 10 ]]></command>
jpayne@0 11 <inputs>
jpayne@4 12 <param type="text" name="input1" label="BioProject" />
jpayne@0 13 </inputs>
jpayne@0 14 <outputs>
jpayne@4 15 <data format="txt" name="output" from_work_dir="accessions.txt" label="SRR Accession List" />
jpayne@2 16 <data format="tabular" name="metadata" from_work_dir="metadata.tsv" label="Sample Metadata Table" />
jpayne@0 17 </outputs>
jpayne@0 18 <tests>
jpayne@0 19 <test>
jpayne@4 20 <param name="input1" value="PRJNA681235" />
jpayne@4 21 <output name="output" file="accessions.txt" />
jpayne@2 22 <output name="metadata" file="metadata.tsv" />
jpayne@0 23 </test>
jpayne@4 24 <test expect_failure="1">
jpayne@4 25 <param name="input1" value="NOTHING" />
jpayne@4 26 </test>
jpayne@0 27 </tests>
jpayne@0 28 <help><![CDATA[
jpayne@4 29 Retrieve SRR accessions and sample metadata from a BioProject, including subprojects. It's a JOIN, so if a sample is associated with multiple SRA runs, then each run has a copy of the sample's metadata.
jpayne@0 30 ]]></help>
jpayne@0 31 <citations>
jpayne@0 32 </citations>
jpayne@0 33 </tool>