annotate assembly_stats_txt.xml @ 0:8d1c7f2a3f5c draft default tip

Uploaded
author aaronpetkau
date Sat, 04 Jul 2015 09:43:13 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
1 <tool id="assemblystats" name="assemblystats" version="1.0.2">
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
2 <description>Summarise an assembly (e.g. N50 metrics)</description>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
3 <requirements>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
4 </requirements>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
5 <command interpreter="python">
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
6 assembly_stats_txt.py
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
7 '$input_type' '$stats.extra_files_path'
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
8 '$input_type'
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
9 '$bucket'
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
10 '$input'
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
11 '$stats'
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
12 '$sortedcontigs'
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
13 '$histogrampng'
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
14 '$summedcontigspng'
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
15 '$histogramdata'
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
16 '$summedcontigdata'
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
17
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
18 </command>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
19 <inputs>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
20 <param help="Is this from an genomic (contig) or transcriptomic assembly (isotig) or are these raw reads (read)" label="Type of read" name="input_type" type="select">
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
21 <option selected="yes" value="contig">Contig (if from genomic assembly)</option>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
22 <option value="isotig">Isotig (if from transcriptomic assembly)</option>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
23 <option value="read">Raw reads from sequencer in FASTA format (useful for 454 data)</option>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
24 </param>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
25 <param falsevalue="" help="Use this to specify whether or not bin sizes of 1 should be used when plotting histograms" label="Output histogram with bin sizes=1" name="bucket" truevalue="-b" type="boolean" />
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
26 <param format="fasta" label="Source file in FASTA format" name="input" type="data" />
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
27 <param checked="false" help="If checked, all output files will be displayed. If not checked, only the file 'Assembly Statistics' will be provided." label="Return all output files" name="all_outputs" type="boolean" />
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
28 </inputs>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
29 <outputs>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
30 <data format="tabular" label="Assembly statistics - $input.display_name" name="stats" />
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
31 <data format="fasta" label="Sorted contigs - $input.display_name" name="sortedcontigs">
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
32 <filter>all_outputs is True</filter>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
33 </data>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
34 <data format="png" label="Histogram of contig sizes - $input.display_name" name="histogrampng">
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
35 <filter>all_outputs is True</filter>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
36 </data>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
37 <data format="png" label="Cumulative sum of contig sizes - $input.display_name" name="summedcontigspng">
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
38 <filter>all_outputs is True</filter>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
39 </data>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
40 <data format="tabular" label="Histogram data - $input.display_name" name="histogramdata">
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
41 <filter>all_outputs is True</filter>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
42 </data>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
43 <data format="tabular" label="Cumulative sum of contig size data - $input.display_name" name="summedcontigdata">
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
44 <filter>all_outputs is True</filter>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
45 </data>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
46 </outputs>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
47 <help>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
48 **Summarise assembly overview**
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
49
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
50 This script is used to give summary statistics of an assembly or set of reads. Typically this is run after an assembly to evaluate gross features.
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
51
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
52
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
53 # Gives back
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
54 # - N50
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
55 # - num of contigs &gt; 1 kb
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
56 # - num of contigs
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
57 # - Read or Contig Histogram and graphs.
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
58 # - Summed contig length (by number of contigs, in sorted order)
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
59 </help>
8d1c7f2a3f5c Uploaded
aaronpetkau
parents:
diff changeset
60 </tool>