annotate seqtk_comp.xml @ 1:61718851f199 draft

Uploaded
author iuc
date Thu, 05 Feb 2015 12:00:43 -0500
parents e0a0fd938de4
children f73729b62b51
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
2 <tool id="seqtk_comp" name="seqtk_comp" version="@WRAPPER_VERSION@.0">
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
3 <description>get the nucleotide composition of FASTA/Q</description>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
4 <macros>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
5 <import>macros.xml</import>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
6 </macros>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
8 <expand macro="stdio"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
9 <command><![CDATA[seqtk comp
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
10 #if $in_bed:
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
11 -r $in_bed
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
12 #end if
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
13
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
14 $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'
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
15
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
16 > $default]]></command>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
17 <inputs>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
18 <expand macro="in_faq"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
19 <param name="in_bed" optional="True" type="data" format="bed" label="bed file"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
20 </inputs>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
21 <outputs>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
22 <data format="tabular" hidden="false" name="default" label="Nucleotide composition of $in_file.name"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
23 </outputs>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
24 <tests>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
25 <test>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
26 <param name="in_file" value="seqtk_comp.fa" ftype="fasta"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
27 <output name="default" file="seqtk_comp.out" ftype="tabular"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
28 </test>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
29 </tests>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
30 <help><![CDATA[
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
31 **What it does**
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
32
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
33 Reports composition of fasta/fastq sequences. For an example sequence like
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
34
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
35 ::
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
36 >test0
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
37 ACTGACTGAA
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
38 >ambig_ref
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
39 ACGTCGTGTTVHDBN
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
40
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
41 The seqtk tool will report:
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
42
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
43 ::
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
44
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
45 #chr length #A #C #G #T #2 #3 #4 #CpG #tv #ts #CpG-ts
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
46 test0 11 4 2 2 2 0 0 1 0 0 0 0
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
47 ambig_ref 15 1 2 3 4 0 4 1 4 0 0 0
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
48
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
49
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
50 @ATTRIBUTION@
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
51 ]]></help>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
52 </tool>