Mercurial > repos > ebi-gxa > atlas_fastq_provider
comparison fastq_provider.xml @ 0:22ce1e7f1aaa draft default tip
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/fastq_provider commit 507503548ba8b4c5b7fd3dc93e63d9669b8e8e57"
author | ebi-gxa |
---|---|
date | Wed, 09 Mar 2022 12:58:37 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:22ce1e7f1aaa |
---|---|
1 <tool id="fastq_provider" name="Atlas FASTQ provider" version="@TOOL_VERSION@+galaxy" python_template_version="3.5" profile="20.01"> | |
2 <description> Retrieval and download of FASTQ files from ENA and other repositories such as HCA. The tool is used in production pipelines of EMBL-EBI Expression Atlas and Single Cell Expression Atlas. </description> | |
3 <macros> | |
4 <token name="@TOOL_VERSION@">0.4.2</token> | |
5 </macros> | |
6 <requirements> | |
7 <requirement type="package" version="@TOOL_VERSION@">atlas-fastq-provider</requirement> | |
8 </requirements> | |
9 <command detect_errors="exit_code"><![CDATA[ | |
10 fetchFastq.sh -f '$source' -t '$target' | |
11 #if $resource | |
12 -s '$resource' | |
13 #end if | |
14 #if $retrieval_method | |
15 -m '$retrieval_method' | |
16 #end if | |
17 #if $mode | |
18 -p '$mode' | |
19 #end if | |
20 #if $library | |
21 -l '$library' | |
22 #end if | |
23 #if $config_file | |
24 -c '$config_file' | |
25 #end if | |
26 #if $validate_only | |
27 -v '$validate_only' | |
28 #end if | |
29 #if $download_type | |
30 -d '$download_type' | |
31 #end if | |
32 ; mv -f '$target' '$outfile' | |
33 ]]></command> | |
34 <inputs> | |
35 <param name="source" argument="-f" type="text" label="file or uri" help="file or uri" /> | |
36 <param name="target" argument="-t" type="text" label="target file" help="target file. E.g 'ERR035229.fastq.gz' " /> | |
37 <param name="resource" argument="-s" type="select" label="resource or directory, default 'auto' " help="How to fetch the file, e.g. there’s a specific method for getting results from the Human Cell Atlas' 'Azul' resource. " optional='true' > | |
38 <option value="auto" selected="true">auto</option> | |
39 <option value="ena">ENA</option> | |
40 <option value="sra">SRA file</option> | |
41 <option value="hca">Human Cell Atlas</option> | |
42 <option value="dir">Local directory</option> | |
43 </param> | |
44 <param name="retrieval_method" argument="-m" type="select" label="retrieval method, default 'wget' " help="retrieval method, default 'auto'. Files with hca source will use the 'hca' download method regardless (-m has no effect). Private ENA files will be fetched via 'ssh' (-m has no effect). The 'http' method refers to an HTTP endpoint in the EBI Fire resource. " optional='true'> | |
45 <option value="auto" selected="true">auto</option> | |
46 <option value="wget">wget</option> | |
47 <option value="dir">Local directory</option> | |
48 <option value="ssh">SSH (ENA files, for EBI only)</option> | |
49 <option value="http">HTTP endpoint (ENA files, EBI only)</option> | |
50 </param> | |
51 <param name="mode" argument="-p" type="select" label="public or private, default public. Private usable by EBI staff only" help="public or private, default 'public' " optional='true'> | |
52 <option value="public" selected="true">public</option> | |
53 <option value="private">private</option> | |
54 </param> | |
55 <param name="library" argument="-l" type="text" label="ENA library (ENA source files only), by default inferred from file name" help="library, by default inferred from file name. E.g. -l ERR1888646 " optional='true'/> | |
56 <param name="config_file" argument="-c" type="data" format="atlas-fastq-provider-config.sh" label="config file to override defaults" help="config file to override defaults" optional='true'/> | |
57 <param name="validate_only" argument="-v" type="boolean" label="validate only to check a source URI is valid, don't download" help="validate only, don't download" optional='true'/> | |
58 <param name="download_type" argument="-d" type="select" label="download type, fastq or SRA file" help="download type, fastq or srr" optional='true'> | |
59 <option value="fastq" selected="true">fastq</option> | |
60 <option value="srr">SRA</option> | |
61 </param> | |
62 </inputs> | |
63 <outputs> | |
64 <data name="outfile" label="${tool.name} on ${on_string}: compressed fastq file" format="fastq.gz" /> | |
65 </outputs> | |
66 <tests> | |
67 <test expect_num_outputs="1"> | |
68 <param name="source" value="ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR035/ERR035229/ERR035229.fastq.gz"/> | |
69 <param name="target" value="ERR035229.fastq.gz"/> | |
70 <output name="outfile" md5="c9482e89552630084997112787a5d796" /> | |
71 </test> | |
72 </tests> | |
73 <help><![CDATA[ | |
74 | |
75 Usage: fetchFastq.sh [-f <file or uri>] [-t <target file>] [-s <source resource or directory, default 'auto'>] [-m <retrieval method, default 'auto'>] [-p <public or private, default 'public'>] [-l <library, by default inferred from file name>] [-c <config file to override defaults>] [-v <validate only, don't download>] [-d <download type, 'fastq' or 'srr'>] | |
76 | |
77 ]]></help> | |
78 <citations> | |
79 <citation type="bibtex"> | |
80 @misc{githubatlas-fastq-provider, | |
81 author = {Jonathan Manning, EBI Gene Expression Team}, | |
82 year = {2021}, | |
83 title = {atlas-fastq-provider}, | |
84 publisher = {GitHub}, | |
85 journal = {GitHub repository}, | |
86 url = {https://github.com/ebi-gene-expression-group/atlas-fastq-provider}, | |
87 }</citation> | |
88 </citations> | |
89 </tool> | |
90 |