Mercurial > repos > iuc > seqkit_stats
annotate seqkit_stats.xml @ 0:191738d53912 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
author | iuc |
---|---|
date | Wed, 01 Jun 2022 05:38:38 +0000 |
parents | |
children | 812705bcf39c |
rev | line source |
---|---|
0
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
1 <tool id="seqkit_stats" name="SeqKit statistics" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
2 <description>of FASTA/Q files</description> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
3 <macros> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
5 </macros> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
6 <expand macro="bio_tools"/> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
7 <expand macro="requirements"/> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
9 #import re |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
10 |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
11 #set input_identifier = re.sub('[^\s\w\-]', '_', str($input.element_identifier)) |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
12 ln -s '${input}' '${input_identifier}' && |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
13 |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
14 seqkit stats |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
15 '${input_identifier}' |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
16 $all |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
17 $basename |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
18 #if str($input.ext) in ['fastqsanger', 'fastqsanger.gz']: |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
19 --fq-encoding sanger |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
20 #end if |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
21 $skip_err |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
22 $tabular |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
23 > '$output' |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
24 ]]></command> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
25 <inputs> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
26 <param name="input" type="data" format="fasta,fasta.gz,fastqsanger,fastqsanger.gz" label="Input file"/> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
27 <param argument="--all" type="boolean" truevalue="--all" falsevalue="" checked="false" label="Output all statistics?" help="Includes quartiles of seq length, sum_gap, N50"/> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
28 <param argument="--basename" type="boolean" truevalue="--basename" falsevalue="" checked="false" label="Output base name of input file?"/> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
29 <param argument="--skip_err" type="boolean" truevalue="--skip-err" falsevalue="" checked="false" label="Skip errors?" help="Only show warning messages"/> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
30 <param argument="--tabular" type="boolean" truevalue="--tabular" falsevalue="" checked="true" label="Output machine-friendly tabular format?"/> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
31 </inputs> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
32 <outputs> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
33 <data name="output" format="txt"> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
34 <change_format> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
35 <when input="tabular" value="--tabular" format="tabular"/> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
36 </change_format> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
37 </data> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
38 </outputs> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
39 <tests> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
40 <test expect_num_outputs="1"> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
41 <param name="input" value="input1.fastq.gz" ftype="fastqsanger.gz"/> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
42 <param name="all" value="--all"/> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
43 <output name="output" file="stats_output1.tabular" ftype="tabular"/> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
44 </test> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
45 <test expect_num_outputs="1"> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
46 <param name="input" value="input1.fasta.gz" ftype="fasta.gz"/> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
47 <param name="all" value="--all"/> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
48 <output name="output" file="stats_output2.tabular" ftype="tabular"/> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
49 </test> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
50 </tests> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
51 <help> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
52 **What it does** |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
53 |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
54 Outputs simple statistics of FASTA/Q files; number of sequences, sum / min / avg / max sequence lengths, Q1, Q2, Q3, |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
55 sum gap, N50, Q20(%), and Q30(%). |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
56 </help> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
57 <expand macro="citations"/> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
58 </tool> |
191738d53912
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 15c99d80da6739b94a911a2744b523a2112cc55c
iuc
parents:
diff
changeset
|
59 |