annotate reheader.xml @ 2:dce768959840 draft default tip

"planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit fd56818871c82480e14389bb98350f8d6c6826c8"
author qfabrepo
date Fri, 20 Nov 2020 00:24:02 +0000
parents 9cb93e3df272
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
9cb93e3df272 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit dc2fe0de7778cdaff7b35d56691ce3de7919fc79"
qfabrepo
parents: 0
diff changeset
1 <tool id="rename" name="reheader" version="1.0.0">
0
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
2 <description>Rename sequence header in FASTQ file</description>
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
3 <requirements>
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
4 <requirement type="package" version="1.74">biopython</requirement>
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
5 </requirements>
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
6 <version_command>
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
7 python ${__tool_directory__}/reheader.py --version
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
8 </version_command>
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
9 <command detect_errors="aggressive">
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
10 python ${__tool_directory__}/reheader.py -n $inputfile.display_name -i $inputfile -o $output -d $log.files_path -l $log
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
11 </command>
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
12
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
13 <inputs>
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
14 <param format="fastq,fastq.gz,fastq.bz2" name="inputfile" type="data" label="Short read data from your current history"/>
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
15 </inputs>
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
16 <outputs>
2
dce768959840 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit fd56818871c82480e14389bb98350f8d6c6826c8"
qfabrepo
parents: 1
diff changeset
17 <data name="output" format="fastqsanger" label="${tool.name}: ${inputfile.display_name}"/>
dce768959840 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit fd56818871c82480e14389bb98350f8d6c6826c8"
qfabrepo
parents: 1
diff changeset
18 <data name="log" format="txt" label="${tool.name}.${inputfile.display_name}: log"/>
0
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
19 </outputs>
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
20 <tests>
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
21 <test>
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
22 <param name="inputfile" value="F3D0_R1.fastq"/>
1
9cb93e3df272 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit dc2fe0de7778cdaff7b35d56691ce3de7919fc79"
qfabrepo
parents: 0
diff changeset
23 <output name="output" file="test_output.txt"/>
0
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
24 </test>
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
25 </tests>
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
26
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
27 <help>
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
28 **what it does**
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
29
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
30 Renames sequence header in FASTQ file by appending SAMPLEFILENAME/1 to the end of the sequence header for the forward read or SAMPLEFILENAME_2 to the end of the sequence header for the reverse read using python_ and Biopython_
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
31
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
32 .. _python : https://www.python.org/downloads/release/python-370/
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
33 .. _Biopython : https://biopython.org/
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
34
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
35 -----
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
36
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
37 Forward Read
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
38 ------------
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
39 **Input**
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
40
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
41 - **sequence header** : @M03033:102:000000000-ATN0P:1:1101:9793:1042
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
42
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
43 **Output**
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
44
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
45 - **sequence header** : @M03033:102:000000000-ATN0P:1:1101:9793:1042_Sample1/1
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
46
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
47 Reverse Read
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
48 ------------
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
49
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
50 **Input**
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
51
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
52 - **sequence header** : @M03033:102:000000000-ATN0P:1:1101:9793:1042
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
53
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
54 **Output**
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
55
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
56 - **sequence header** : @M03033:102:000000000-ATN0P:1:1101:9793:1042_Sample1/2
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
57
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
58 -----
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
59
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
60 =========
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
61 Resources
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
62 =========
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
63
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
64 **Wrapper Authors**
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
65
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
66 QFAB Bioinformatics (support@qfab.org)
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
67 </help>
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
68
331fd79a9341 "planemo upload for repository https://github.com/QFAB-Bioinformatics/metaDEGalaxy/tree/master/reheader commit 6783cd68521863b34f8e77cbb7ba404700c72313-dirty"
qfabrepo
parents:
diff changeset
69 </tool>