Mercurial > repos > iuc > seqtk
annotate seqtk_comp.xml @ 5:a09586d5149a draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 83ecfe7d9bbf03c91f27ba18776352a1ebf8cf6f
author | iuc |
---|---|
date | Fri, 11 Jan 2019 05:15:20 -0500 |
parents | ecf1c30da3a2 |
children | 3da72230c066 |
rev | line source |
---|---|
0 | 1 <?xml version="1.0"?> |
5
a09586d5149a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 83ecfe7d9bbf03c91f27ba18776352a1ebf8cf6f
iuc
parents:
4
diff
changeset
|
2 <tool id="seqtk_comp" name="seqtk_comp" version="@TOOL_VERSION@.1"> |
3
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
3 <description>get the nucleotide composition of FASTA/Q</description> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
4 <macros> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
5 <import>macros.xml</import> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
6 </macros> |
5
a09586d5149a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 83ecfe7d9bbf03c91f27ba18776352a1ebf8cf6f
iuc
parents:
4
diff
changeset
|
7 <expand macro="requirements"> |
a09586d5149a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 83ecfe7d9bbf03c91f27ba18776352a1ebf8cf6f
iuc
parents:
4
diff
changeset
|
8 <requirement type="package" version="@AWK_VERSION@">gawk</requirement> |
a09586d5149a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 83ecfe7d9bbf03c91f27ba18776352a1ebf8cf6f
iuc
parents:
4
diff
changeset
|
9 </expand> |
3
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
10 <expand macro="stdio"/> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
11 <command><![CDATA[ |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
12 seqtk comp |
0 | 13 #if $in_bed: |
3
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
14 -r '$in_bed' |
0 | 15 #end if |
3
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
16 '$in_file' | awk 'BEGIN{print "#chr\tlength\t#A\t#C\t#G\t#T\t#2\t#3\t#4\t#CpG\t#tv\t#ts\t#CpG-ts"}1' |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
17 > '$default' |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
18 ]]></command> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
19 <inputs> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
20 <expand macro="in_faq"/> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
21 <param name="in_bed" type="data" format="bed" optional="true" label="BED file"/> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
22 </inputs> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
23 <outputs> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
24 <data name="default" format="tabular" label="Nucleotide composition of $in_file.name"/> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
25 </outputs> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
26 <tests> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
27 <test> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
28 <param name="in_file" value="seqtk_comp.fa" ftype="fasta"/> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
29 <output name="default" file="seqtk_comp.out" ftype="tabular"/> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
30 </test> |
4
ecf1c30da3a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit ad43df79dca3dc7c3511c6eb2ccf8589d2804eb2
iuc
parents:
3
diff
changeset
|
31 <test> |
ecf1c30da3a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit ad43df79dca3dc7c3511c6eb2ccf8589d2804eb2
iuc
parents:
3
diff
changeset
|
32 <param name="in_file" value="seqtk_comp.fa.gz" ftype="fasta.gz"/> |
ecf1c30da3a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit ad43df79dca3dc7c3511c6eb2ccf8589d2804eb2
iuc
parents:
3
diff
changeset
|
33 <output name="default" file="seqtk_comp.out" ftype="tabular"/> |
ecf1c30da3a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit ad43df79dca3dc7c3511c6eb2ccf8589d2804eb2
iuc
parents:
3
diff
changeset
|
34 </test> |
3
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
35 </tests> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
36 <help><![CDATA[ |
0 | 37 **What it does** |
38 | |
39 Reports composition of fasta/fastq sequences. For an example sequence like | |
40 | |
41 :: | |
42 >test0 | |
43 ACTGACTGAA | |
44 >ambig_ref | |
45 ACGTCGTGTTVHDBN | |
46 | |
47 The seqtk tool will report: | |
48 | |
49 :: | |
50 | |
51 #chr length #A #C #G #T #2 #3 #4 #CpG #tv #ts #CpG-ts | |
52 test0 11 4 2 2 2 0 0 1 0 0 0 0 | |
53 ambig_ref 15 1 2 3 4 0 4 1 4 0 0 0 | |
54 | |
55 @ATTRIBUTION@ | |
3
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
56 ]]></help> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
57 <expand macro="citation" /> |
0 | 58 </tool> |