annotate assembly_stats_txt.xml @ 0:44c401ebc424 draft

Uploaded
author aaronpetkau
date Sat, 04 Jul 2015 08:57:35 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
1 <tool id="assemblystats" name="assemblystats" version="1.0.2">
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
2 <description>Summarise an assembly (e.g. N50 metrics)</description>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
3 <requirements>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
4 </requirements>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
5 <command interpreter="python">
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
6 assembly_stats_txt.py
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
7 '$input_type' '$stats.extra_files_path'
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
8 '$input_type'
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
9 '$bucket'
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
10 '$input'
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
11 '$stats'
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
12 '$sortedcontigs'
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
13 '$histogrampng'
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
14 '$summedcontigspng'
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
15 '$histogramdata'
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
16 '$summedcontigdata'
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
17
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
18 </command>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
19 <inputs>
44c401ebc424 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">
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
21 <option selected="yes" value="contig">Contig (if from genomic assembly)</option>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
22 <option value="isotig">Isotig (if from transcriptomic assembly)</option>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
23 <option value="read">Raw reads from sequencer in FASTA format (useful for 454 data)</option>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
24 </param>
44c401ebc424 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" />
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
26 <param format="fasta" label="Source file in FASTA format" name="input" type="data" />
44c401ebc424 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" />
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
28 </inputs>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
29 <outputs>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
30 <data format="tabular" label="Assembly statistics - $input.display_name" name="stats" />
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
31 <data format="fasta" label="Sorted contigs - $input.display_name" name="sortedcontigs">
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
32 <filter>all_outputs is True</filter>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
33 </data>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
34 <data format="png" label="Histogram of contig sizes - $input.display_name" name="histogrampng">
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
35 <filter>all_outputs is True</filter>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
36 </data>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
37 <data format="png" label="Cumulative sum of contig sizes - $input.display_name" name="summedcontigspng">
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
38 <filter>all_outputs is True</filter>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
39 </data>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
40 <data format="tabular" label="Histogram data - $input.display_name" name="histogramdata">
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
41 <filter>all_outputs is True</filter>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
42 </data>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
43 <data format="tabular" label="Cumulative sum of contig size data - $input.display_name" name="summedcontigdata">
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
44 <filter>all_outputs is True</filter>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
45 </data>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
46 </outputs>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
47 <help>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
48 **Summarise assembly overview**
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
49
44c401ebc424 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.
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
51
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
52
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
53 # Gives back
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
54 # - N50
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
55 # - num of contigs &gt; 1 kb
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
56 # - num of contigs
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
57 # - Read or Contig Histogram and graphs.
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
58 # - Summed contig length (by number of contigs, in sorted order)
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
59 </help>
44c401ebc424 Uploaded
aaronpetkau
parents:
diff changeset
60 </tool>