Mercurial > repos > artbio > justgzip
annotate gzip.xml @ 2:285d48249ba2 draft default tip
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
author | artbio |
---|---|
date | Wed, 13 Dec 2023 00:20:07 +0000 |
parents | 32b19379cd25 |
children |
rev | line source |
---|---|
2
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
1 <tool id="justgzip" name="Gzip datasets" version="2.8+galaxy0" profile="21.01"> |
0
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
2 <description></description> |
2
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
3 |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
4 <requirements> |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
5 <requirement type="package" version="2.8">pigz</requirement> |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
6 </requirements> |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
7 |
0
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
8 <stdio> |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
9 <exit_code range="1:" level="fatal" description="Tool exception" /> |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
10 </stdio> |
2
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
11 |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
12 <command detect_errors="exit_code"><![CDATA[ |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
13 pigz --processes \${GALAXY_SLOTS:-4} -c '${input1}' > '$output' |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
14 #if ($input1.ext.startswith("fastq") and not $input1.ext.endswith(".gz")) or $input1.ext in ["fasta", "paf", "gff3", "nii1", "nii2", "gii", "tabular"]: |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
15 #set ext = $input1.ext + ".gz" |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
16 #else |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
17 #set ext = "gz" |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
18 #end if |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
19 && echo '{"output": {"ext": "$ext"}}' >> galaxy.json |
0
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
20 ]]></command> |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
21 <inputs> |
2
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
22 <param format="data" name="input1" type="data" label="Input file" help="file to compress" /> |
0
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
23 </inputs> |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
24 <outputs> |
2
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
25 <data name="output" format="auto" label="${input1.name}.gz" /> |
0
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
26 </outputs> |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
27 <tests> |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
28 <test> |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
29 <param name="input1" value="file1" ftype="fastq" /> |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
30 <output name="output" file="file1.gz" decompress="True" ftype="fastq.gz"/> |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
31 </test> |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
32 <test> |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
33 <param name="input1" value="file1" ftype="fastqsanger" /> |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
34 <output name="output" file="file1.gz" decompress="True" ftype="fastqsanger.gz" /> |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
35 </test> |
2
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
36 </tests> |
0
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
37 |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
38 <help> |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
39 |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
40 .. class:: infomark |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
41 |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
42 **What it does** |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
43 |
2
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
44 Just **gzip** datasets, but does it faster with the multithreaded pigz program ! |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
45 |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
46 Accepted input formats include: |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
47 - fastq |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
48 - fastqsanger |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
49 - fasta |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
50 - paf |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
51 - gff3 |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
52 - nii1 |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
53 - nii2 |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
54 - gii |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
55 - tabular |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
56 - txt |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
57 - ... |
285d48249ba2
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/justgzip commit d995baa7680d2a9e6b5ae8903cf7e5e29ae47d3d
artbio
parents:
1
diff
changeset
|
58 |
0
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
59 </help> |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
60 </tool> |
401afd3c5220
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/justgzip commit cb119427c41b729c90572c410f717282ad9cb8a7
artbio
parents:
diff
changeset
|
61 |