Mercurial > repos > artbio > justgzip
annotate gzip.xml @ 0:71f1b922330e draft default tip
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
author | artbio |
---|---|
date | Wed, 06 Apr 2022 10:11:42 +0000 |
parents | |
children |
rev | line source |
---|---|
0
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
1 <tool id="justgzip" name="Gzip datasets" version="0.2" profile="21.01"> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
2 <description></description> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
3 <stdio> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
4 <exit_code range="1:" level="fatal" description="Tool exception" /> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
5 </stdio> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
6 <command detect_errors="exit_code"><![CDATA[ |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
7 gzip -c '${input1}' > '$output' |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
8 #if ($input1.ext.startswith("fastq") and not $input1.ext.endswith(".gz")) or $input1.ext in ["fasta", "paf", "gff3", "nii1", "nii2", "gii", "tabular"]: |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
9 #set ext = $input1.ext + ".gz" |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
10 #else |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
11 #set ext = "gz" |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
12 #end if |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
13 && echo '{"output": {"ext": "$ext"}}' >> galaxy.json |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
14 ]]></command> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
15 <inputs> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
16 <param format="data" name="input1" type="data" label="Input file" help="file to compress" /> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
17 </inputs> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
18 <outputs> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
19 <data name="output" format="auto" label="${input1.name}.gz" /> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
20 </outputs> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
21 <tests> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
22 <test> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
23 <param name="input1" value="file1" ftype="fastq" /> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
24 <output name="output" file="file1.gz" decompress="True" ftype="fastq.gz"/> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
25 </test> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
26 <test> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
27 <param name="input1" value="file1" ftype="fastqsanger" /> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
28 <output name="output" file="file1.gz" decompress="True" ftype="fastqsanger.gz" /> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
29 </test> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
30 |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
31 </tests> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
32 <help> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
33 |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
34 .. class:: infomark |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
35 |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
36 **What it does** |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
37 |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
38 Just **gzip** datasets. |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
39 |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
40 </help> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
41 </tool> |
71f1b922330e
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit 33e1e0491fc6ba65ac9777c06a7f736592f6d2e3"
artbio
parents:
diff
changeset
|
42 |