annotate fastqe.xml @ 5:89d299153577 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit c4004b4ce3c5c26e5e9e3b611af9c3ebb25928ae"
author iuc
date Fri, 03 Sep 2021 16:11:16 +0000
parents ecb38e2798cd
children d77a9c2a242d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
ecb38e2798cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 8a7ebdd86f360d3f1a0ab3eb95aed7603299ab8b"
iuc
parents: 3
diff changeset
1 <tool id="fastqe" name="FASTQE" version="0.2.6+galaxy2">
0
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
2 <description>visualize fastq files with emoji's 🧬😎</description>
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
3 <requirements>
1
8d3aff8ba8ad "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit acc3e75aff3a12ee82d03fbfe676ec81d5451c6e"
iuc
parents: 0
diff changeset
4 <requirement type="package" version="0.2.6">fastqe</requirement>
2
a252d8415583 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 7f1ac61222e3b10cd9a82c7b35ea53985c06ba9c"
iuc
parents: 1
diff changeset
5 <requirement type="package" version="4.7">sed</requirement>
0
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
6 </requirements>
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
7 <command detect_errors="exit_code">
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
8 <![CDATA[
2
a252d8415583 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 7f1ac61222e3b10cd9a82c7b35ea53985c06ba9c"
iuc
parents: 1
diff changeset
9 #import re
a252d8415583 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 7f1ac61222e3b10cd9a82c7b35ea53985c06ba9c"
iuc
parents: 1
diff changeset
10
3
819b8c1657d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 52c73f875aef9c4692b886e1a50d8124875e7dcb"
iuc
parents: 2
diff changeset
11 mkdir inputs &&
819b8c1657d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 52c73f875aef9c4692b886e1a50d8124875e7dcb"
iuc
parents: 2
diff changeset
12 #for $i in $input
819b8c1657d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 52c73f875aef9c4692b886e1a50d8124875e7dcb"
iuc
parents: 2
diff changeset
13 #set identifier = re.sub('[^\w\-\s.]', '_', $i.element_identifier)
819b8c1657d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 52c73f875aef9c4692b886e1a50d8124875e7dcb"
iuc
parents: 2
diff changeset
14 #if $i.ext.endswith(".gz") and not $identifier.endswith(".gz")
819b8c1657d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 52c73f875aef9c4692b886e1a50d8124875e7dcb"
iuc
parents: 2
diff changeset
15 #set identifier+=".gz"
819b8c1657d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 52c73f875aef9c4692b886e1a50d8124875e7dcb"
iuc
parents: 2
diff changeset
16 #end if
4
ecb38e2798cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 8a7ebdd86f360d3f1a0ab3eb95aed7603299ab8b"
iuc
parents: 3
diff changeset
17 ln -s $i 'inputs/$identifier' &&
0
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
18 #end for
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
19
5
89d299153577 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit c4004b4ce3c5c26e5e9e3b611af9c3ebb25928ae"
iuc
parents: 4
diff changeset
20 echo "<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"><title>FASTQE Report 🤔</title></head><body><h1>FASTQE Report 🤔</h1>" > '$output' &&
0
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
21
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
22 fastqe
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
23 $bin
3
819b8c1657d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 52c73f875aef9c4692b886e1a50d8124875e7dcb"
iuc
parents: 2
diff changeset
24 ${" ".join(str($tpe).split(","))}
1
8d3aff8ba8ad "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit acc3e75aff3a12ee82d03fbfe676ec81d5451c6e"
iuc
parents: 0
diff changeset
25 --long $long
3
819b8c1657d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 52c73f875aef9c4692b886e1a50d8124875e7dcb"
iuc
parents: 2
diff changeset
26 ./inputs/*
819b8c1657d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 52c73f875aef9c4692b886e1a50d8124875e7dcb"
iuc
parents: 2
diff changeset
27 | sed 's/$/<br>/;s/^\.\/inputs\/\([^\t]*\)\t\([^\t]*\)\t/<h2>\1: \2<\/h2>\n/;' >> '$output' &&
0
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
28
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
29 echo "</body></html>" >> '$output'
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
30 ]]></command>
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
31 <inputs>
3
819b8c1657d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 52c73f875aef9c4692b886e1a50d8124875e7dcb"
iuc
parents: 2
diff changeset
32 <param label="FastQ data" name="input" type="data" format="fastq,fastq.gz" multiple="true"/>
0
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
33 <param label="Bin scores" name="bin" type="boolean" truevalue="--bin" falsevalue="" />
3
819b8c1657d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 52c73f875aef9c4692b886e1a50d8124875e7dcb"
iuc
parents: 2
diff changeset
34 <param label="Score types to show" name="tpe" type="select" multiple="true">
819b8c1657d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 52c73f875aef9c4692b886e1a50d8124875e7dcb"
iuc
parents: 2
diff changeset
35 <option value="--min" selected="true">Minimum</option>
4
ecb38e2798cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 8a7ebdd86f360d3f1a0ab3eb95aed7603299ab8b"
iuc
parents: 3
diff changeset
36 <option value="--mean" selected="true">Mean</option>
ecb38e2798cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 8a7ebdd86f360d3f1a0ab3eb95aed7603299ab8b"
iuc
parents: 3
diff changeset
37 <option value="--max" selected="true">Maximum</option>
3
819b8c1657d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 52c73f875aef9c4692b886e1a50d8124875e7dcb"
iuc
parents: 2
diff changeset
38 </param>
1
8d3aff8ba8ad "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit acc3e75aff3a12ee82d03fbfe676ec81d5451c6e"
iuc
parents: 0
diff changeset
39 <param label="Maximum read length" name="long" type="integer" help="Enable long reads up to this many bp long." min="1" value="500"/>
0
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
40 </inputs>
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
41 <outputs>
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
42 <data format="html" name="output"/>
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
43 </outputs>
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
44 <tests>
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
45 <test>
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
46 <param name="input" value="test.fq,test2.fq" />
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
47 <output name="output" file="out.html" />
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
48 </test>
3
819b8c1657d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 52c73f875aef9c4692b886e1a50d8124875e7dcb"
iuc
parents: 2
diff changeset
49 <test>
819b8c1657d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 52c73f875aef9c4692b886e1a50d8124875e7dcb"
iuc
parents: 2
diff changeset
50 <param name="input" value="test.fq.gz,test2.fq.gz" />
819b8c1657d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 52c73f875aef9c4692b886e1a50d8124875e7dcb"
iuc
parents: 2
diff changeset
51 <output name="output" file="out.html" lines_diff="12"/>
819b8c1657d5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 52c73f875aef9c4692b886e1a50d8124875e7dcb"
iuc
parents: 2
diff changeset
52 </test>
0
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
53 </tests>
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
54 <help><![CDATA[
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
55 FASTQ + Emoji = FASTQE 🤔
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
56 =========================
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
57
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
58 Compute quality stats for FASTQ files and print those stats as emoji... for some reason.
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
59
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
60 Scores can also be binned:
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
61
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
62 +-------+-------+
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
63 | Bin | Emoji |
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
64 +=======+=======+
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
65 | N | 🚫 |
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
66 +-------+-------+
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
67 | 2-9 | 💀 |
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
68 +-------+-------+
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
69 | 10–19 | 💩 |
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
70 +-------+-------+
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
71 | 20–24 | ⚠️ |
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
72 +-------+-------+
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
73 | 25–29 | 😄 |
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
74 +-------+-------+
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
75 | 30–34 | 😆 |
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
76 +-------+-------+
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
77 | 35–39 | 😎 |
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
78 +-------+-------+
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
79 | ≥ 40 | 😍 |
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
80 +-------+-------+
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
81
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
82
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
83 ]]></help>
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
84 <citations>
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
85 </citations>
ece21607a21d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastqe commit 2da1480c5e2f439a6b30a253871a86bb05c39aa0"
iuc
parents:
diff changeset
86 </tool>