Mercurial > repos > devteam > fasta_clipping_histogram
annotate fasta_clipping_histogram.xml @ 3:8889eb864cef draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit fd099d17eceaa319fbfe429f4725328d88b18c9f
author | iuc |
---|---|
date | Thu, 10 Aug 2023 06:52:37 +0000 |
parents | 9db07fd39f85 |
children |
rev | line source |
---|---|
3
8889eb864cef
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit fd099d17eceaa319fbfe429f4725328d88b18c9f
iuc
parents:
2
diff
changeset
|
1 <tool id="cshl_fasta_clipping_histogram" name="Length Distribution" version="1.0.1+galaxy@VERSION_SUFFIX@" profile="22.05"> |
1
f666895cbebd
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
0
diff
changeset
|
2 <description>chart</description> |
2
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
3 <macros> |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
4 <import>macros.xml</import> |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
5 </macros> |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
6 <expand macro="requirements"> |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
7 <requirement type="package" version="1.49">perl-gdgraph</requirement> |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
8 </expand> |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
9 <command detect_errors="exit_code"><![CDATA[ |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
10 fasta_clipping_histogram.pl |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
11 '$input' |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
12 '$outfile' |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
13 ]]></command> |
1
f666895cbebd
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
0
diff
changeset
|
14 |
f666895cbebd
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
0
diff
changeset
|
15 <inputs> |
2
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
16 <expand macro="fasta_input" /> |
1
f666895cbebd
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
0
diff
changeset
|
17 </inputs> |
0 | 18 |
1
f666895cbebd
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
0
diff
changeset
|
19 <outputs> |
2
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
20 <data name="outfile" format="png" metadata_source="input" /> |
1
f666895cbebd
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
0
diff
changeset
|
21 </outputs> |
f666895cbebd
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
0
diff
changeset
|
22 <tests> |
2
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
23 <test> |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
24 <param name="input" value="fasta_clipping_histogram-in1.fa" /> |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
25 <output name="outfile" file="fasta_clipping_histogram-out1.png" compare="sim_size" delta="512" /> |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
26 </test> |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
27 <test> |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
28 <param name="input" value="fasta_clipping_histogram-in2.fa" /> |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
29 <output name="outfile" file="fasta_clipping_histogram-out2.png" compare="sim_size" delta="512" /> |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
30 </test> |
1
f666895cbebd
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
0
diff
changeset
|
31 </tests> |
2
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
32 <help><![CDATA[ |
0 | 33 **What it does** |
34 | |
35 This tool creates a histogram image of sequence lengths distribution in a given fasta dataset file. | |
36 | |
37 **TIP:** Use this tool after clipping your library (with **FASTX Clipper tool**), to visualize the clipping results. | |
38 | |
39 ----- | |
40 | |
41 **Output Examples** | |
42 | |
1
f666895cbebd
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
0
diff
changeset
|
43 In the following library, most sequences are 24-mers to 27-mers. |
0 | 44 This could indicate an abundance of endo-siRNAs (depending of course of what you've tried to sequence in the first place). |
45 | |
46 .. image:: ${static_path}/fastx_icons/fasta_clipping_histogram_1.png | |
47 | |
1
f666895cbebd
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
0
diff
changeset
|
48 In the following library, most sequences are 19,22 or 23-mers. |
0 | 49 This could indicate an abundance of miRNAs (depending of course of what you've tried to sequence in the first place). |
50 | |
51 .. image:: ${static_path}/fastx_icons/fasta_clipping_histogram_2.png | |
52 | |
53 ----- | |
54 | |
55 **Input Formats** | |
56 | |
57 This tool accepts short-reads FASTA files. The reads don't have to be short, but they do have to be on a single line, like so:: | |
58 | |
2
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
59 >sequence1 |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
60 AGTAGTAGGTGATGTAGAGAGAGAGAGAGTAG |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
61 >sequence2 |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
62 GTGTGTGTGGGAAGTTGACACAGTA |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
63 >sequence3 |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
64 CCTTGAGATTAACGCTAATCAAGTAAAC |
0 | 65 |
66 If the sequences span over multiple lines:: | |
67 | |
2
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
68 >sequence1 |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
69 CAGCATCTACATAATATGATCGCTATTAAACTTAAATCTCCTTGACGGAG |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
70 TCTTCGGTCATAACACAAACCCAGACCTACGTATATGACAAAGCTAATAG |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
71 aactggtctttacctTTAAGTTG |
0 | 72 |
73 Use the **FASTA Width Formatter** tool to re-format the FASTA into a single-lined sequences:: | |
74 | |
75 >sequence1 | |
76 CAGCATCTACATAATATGATCGCTATTAAACTTAAATCTCCTTGACGGAGTCTTCGGTCATAACACAAACCCAGACCTACGTATATGACAAAGCTAATAGaactggtctttacctTTAAGTTG | |
77 | |
78 ----- | |
79 | |
80 **Multiplicity counts (a.k.a reads-count)** | |
81 | |
82 If the sequence identifier (the text after the '>') contains a dash and a number, it is treated as a multiplicity count value (i.e. how many times that individual sequence repeated in the original FASTA file, before collapsing). | |
83 | |
84 Example 1 - The following FASTA file *does not* have multiplicity counts:: | |
85 | |
86 >seq1 | |
87 GGATCC | |
88 >seq2 | |
89 GGTCATGGGTTTAAA | |
90 >seq3 | |
91 GGGATATATCCCCACACACACACAC | |
92 | |
93 Each sequence is counts as one, to produce the following chart: | |
94 | |
95 .. image:: ${static_path}/fastx_icons/fasta_clipping_histogram_3.png | |
96 | |
97 Example 2 - The following FASTA file have multiplicity counts:: | |
98 | |
99 >seq1-2 | |
100 GGATCC | |
101 >seq2-10 | |
102 GGTCATGGGTTTAAA | |
103 >seq3-3 | |
104 GGGATATATCCCCACACACACACAC | |
105 | |
106 The first sequence counts as 2, the second as 10, the third as 3, to produce the following chart: | |
107 | |
108 .. image:: ${static_path}/fastx_icons/fasta_clipping_histogram_4.png | |
109 | |
110 Use the **FASTA Collapser** tool to create FASTA files with multiplicity counts. | |
111 | |
112 ------ | |
113 | |
114 This tool is based on `FASTX-toolkit`__ by Assaf Gordon. | |
115 | |
2
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
116 .. __: http://hannonlab.cshl.edu/fastx_toolkit/ |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
117 ]]></help> |
9db07fd39f85
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
1
diff
changeset
|
118 <expand macro="citations" /> |
1
f666895cbebd
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
0
diff
changeset
|
119 </tool> |