annotate assembly_stats_txt.xml @ 1:7556309ffbaf draft default tip

"planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
author nml
date Fri, 29 May 2020 13:51:50 -0400
parents ad2b274663f8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
1 <tool id="assemblystats" name="assemblystats" version="1.1.0">
0
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
2 <description>Summarise an assembly (e.g. N50 metrics)</description>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
3 <requirements>
1
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
4 <requirement type="package" version="1.7.2">perl-bioperl</requirement>
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
5 <requirement type="package" version="5.2.7">gnuplot</requirement>
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
6 <requirement type="package" version="3.7.6">python</requirement>
0
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
7 </requirements>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
1
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
9 python3 $__tool_directory__/assembly_stats_txt.py
0
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
10
1
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
11 -d '$stats.extra_files_path'
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
12 -t '$type'
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
13 -i '$input'
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
14 -s '$stats'
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
15 -sc '$sortedcontigs'
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
16 -hpng '$histogrampng'
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
17 -spng '$summedcontigspng'
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
18 -hd '$histogramdata'
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
19 -scd '$summedcontigdata'
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
20
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
21 #if $bucket
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
22 -b
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
23 #end if
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
24
0
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
25 ]]></command>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
26 <inputs>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
27 <param label="Type of read" name="type" type="select" help="Is this from an genomic (contig) or transcriptomic assembly (isotig) or are these raw reads (read)">
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
28 <option value="contig" selected="yes">Contig (if from genomic assembly)</option>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
29 <option value="isotig">Isotig (if from transcriptomic assembly)</option>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
30 <option value="read">Raw reads from sequencer in FASTA format (useful for 454 data)</option>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
31 </param>
1
7556309ffbaf "planemo upload for repository https://github.com/phac-nml/galaxy_tools commit fb4c29f720748f46ff501140f2cd306bab6614f9"
nml
parents: 0
diff changeset
32 <param name="bucket" type="boolean" label="Output histogram with bin sizes=1" truevalue="true" falsevalue="false" help="Use this to specify whether or not bin sizes of 1 should be used when plotting histograms"/>
0
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
33 <param format="fasta" name="input" type="data" label="Source file in FASTA format"/>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
34 <param name = "all_outputs" type ="boolean" checked="false" label="Return all output files" help="If checked, all output files will be displayed. If not checked, only the file 'Assembly Statistics' will be provided." />
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
35 </inputs>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
36 <outputs>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
37 <data format="tabular" name="stats" label="Assembly statistics - $input.display_name"/>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
38 <data format="fasta" name="sortedcontigs" label="Sorted contigs - $input.display_name" >
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
39 <filter>all_outputs is True</filter>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
40 </data>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
41 <data format="png" name="histogrampng" label="Histogram of contig sizes - $input.display_name">
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
42 <filter>all_outputs is True</filter>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
43 </data>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
44 <data format="png" name="summedcontigspng" label="Cumulative sum of contig sizes - $input.display_name">
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
45 <filter>all_outputs is True</filter>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
46 </data>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
47 <data format="tabular" name="histogramdata" label="Histogram data - $input.display_name">
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
48 <filter>all_outputs is True</filter>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
49 </data>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
50 <data format="tabular" name="summedcontigdata" label="Cumulative sum of contig size data - $input.display_name">
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
51 <filter>all_outputs is True</filter>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
52 </data>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
53 </outputs>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
54 <tests>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
55 <test>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
56 <param name="input" value="SRR1002850_SMALL.fasta"/>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
57 <output name="stats" value="Assembly_statistics_-_SRR1002850_SMALL.fasta.tabular"/>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
58 </test>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
59 </tests>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
60 <help><![CDATA[
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
61 **Summarise assembly overview**
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
62
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
63 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.
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
64
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
65
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
66 # Gives back
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
67 # - N50
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
68 # - num of contigs > 1 kb
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
69 # - num of contigs
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
70 # - Read or Contig Histogram and graphs.
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
71 # - Summed contig length (by number of contigs, in sorted order)
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
72 ]]>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
73
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
74 </help>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
75 <citations>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
76 <citation type="bibtex">@ARTICLE{a1,
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
77 title = {Summarise an assembly (e.g. N50 metrics)},
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
78 author = {Konrad Paszkiewicz, Sujai Kumar, Mariam Iskander},
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
79 url = {https://github.com/phac-nml/galaxy_tools/}
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
80 }
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
81 }</citation>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
82 </citations>
ad2b274663f8 planemo upload for repository https://github.com/phac-nml/galaxy_tools commit 3f9ae719338c7c8db81d645b8ee09727e2d9ce23
nml
parents:
diff changeset
83 </tool>