Mercurial > repos > devteam > fasta_clipping_histogram
annotate fasta_clipping_histogram.xml @ 6:1894f999681f draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit 17bcf78f445b2e515122330caccb591d8de2a5b4
| author | iuc |
|---|---|
| date | Wed, 23 Apr 2025 05:17:13 +0000 |
| parents | cf0a5c96c7f8 |
| children |
| rev | line source |
|---|---|
|
5
cf0a5c96c7f8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit fd099d17eceaa319fbfe429f4725328d88b18c9f
iuc
parents:
4
diff
changeset
|
1 <tool id="cshl_fasta_clipping_histogram" name="Length Distribution" version="1.0.1+galaxy@VERSION_SUFFIX@" profile="22.05"> |
|
3
d0969fa24eb1
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
2 <description>chart</description> |
|
4
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
3 <macros> |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
4 <import>macros.xml</import> |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
5 </macros> |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
6 <expand macro="requirements"> |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
7 <requirement type="package" version="1.49">perl-gdgraph</requirement> |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
8 </expand> |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
9 <command detect_errors="exit_code"><![CDATA[ |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
10 fasta_clipping_histogram.pl |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
11 '$input' |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
12 '$outfile' |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
13 ]]></command> |
|
3
d0969fa24eb1
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
14 |
|
d0969fa24eb1
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
15 <inputs> |
|
4
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
16 <expand macro="fasta_input" /> |
|
3
d0969fa24eb1
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
17 </inputs> |
| 0 | 18 |
|
3
d0969fa24eb1
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
19 <outputs> |
|
4
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
20 <data name="outfile" format="png" metadata_source="input" /> |
|
3
d0969fa24eb1
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
21 </outputs> |
|
d0969fa24eb1
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
22 <tests> |
|
4
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
23 <test> |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
24 <param name="input" value="fasta_clipping_histogram-in1.fa" /> |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
25 <output name="outfile" file="fasta_clipping_histogram-out1.png" compare="sim_size" delta="512" /> |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
26 </test> |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
27 <test> |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
28 <param name="input" value="fasta_clipping_histogram-in2.fa" /> |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
29 <output name="outfile" file="fasta_clipping_histogram-out2.png" compare="sim_size" delta="512" /> |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
30 </test> |
|
3
d0969fa24eb1
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
31 </tests> |
|
4
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
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 | |
|
3
d0969fa24eb1
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
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 | |
|
3
d0969fa24eb1
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
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 | |
|
4
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
59 >sequence1 |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
60 AGTAGTAGGTGATGTAGAGAGAGAGAGAGTAG |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
61 >sequence2 |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
62 GTGTGTGTGGGAAGTTGACACAGTA |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
63 >sequence3 |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
64 CCTTGAGATTAACGCTAATCAAGTAAAC |
| 0 | 65 |
| 66 If the sequences span over multiple lines:: | |
| 67 | |
|
4
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
68 >sequence1 |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
69 CAGCATCTACATAATATGATCGCTATTAAACTTAAATCTCCTTGACGGAG |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
70 TCTTCGGTCATAACACAAACCCAGACCTACGTATATGACAAAGCTAATAG |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
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 | |
|
4
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
112 ]]></help> |
|
40ec4170291e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_clipping_histogram commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
3
diff
changeset
|
113 <expand macro="citations" /> |
|
3
d0969fa24eb1
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
114 </tool> |
