annotate fastq_manipulation.xml @ 4:6f864b826b3e draft

"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
author devteam
date Fri, 01 Nov 2019 13:17:24 -0400
parents 7ea141c4c834
children b77ecfa1664e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
1 <tool id="fastq_manipulation" name="Manipulate FASTQ" version="1.1.1">
4
6f864b826b3e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
devteam
parents: 3
diff changeset
2 <options sanitize="false" />
6f864b826b3e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
devteam
parents: 3
diff changeset
3 <!-- This tool uses a file to rely all parameter information (actually a dynamically generated python module), we can safely not sanitize any parameters -->
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
4 <description>reads on various attributes</description>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
5 <requirements>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
6 <requirement type="package" version="1.1.1">galaxy_sequence_utils</requirement>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
7 </requirements>
4
6f864b826b3e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
devteam
parents: 3
diff changeset
8 <edam_topics>
6f864b826b3e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
devteam
parents: 3
diff changeset
9 <edam_topic>topic_0622</edam_topic>
6f864b826b3e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
devteam
parents: 3
diff changeset
10 </edam_topics>
6f864b826b3e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
devteam
parents: 3
diff changeset
11 <edam_operations>
6f864b826b3e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
devteam
parents: 3
diff changeset
12 <edam_operation>operation_0233</edam_operation>
6f864b826b3e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit 31edb920789fbd080260f853bc856be72fa7cfa8"
devteam
parents: 3
diff changeset
13 </edam_operations>
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
14 <command><![CDATA[
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
15 gx-fastq-manipulation '$input_file' '$fastq_manipulation_file' '$output_file' '$output_file.files_path' '${input_file.extension[len('fastq'):]}'
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
16 ]]></command>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
17 <configfiles>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
18 <configfile name="fastq_manipulation_file"><![CDATA[##create an importable module
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
19 #import binascii
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
20 import binascii
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
21 import re
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
22 import six
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
23
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
24 if six.PY2:
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
25 from string import maketrans
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
26 else:
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
27 maketrans = str.maketrans
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
28
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
29
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
30 ##does read match
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
31 def match_read(fastq_read):
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
32 #for $match_block in $match_blocks:
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
33 #if $match_block['match_type']['match_type_selector'] == 'identifier':
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
34 search_target = fastq_read.identifier[1:] ##don't include @
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
35 #elif $match_block['match_type']['match_type_selector'] == 'sequence':
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
36 search_target = fastq_read.sequence
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
37 #elif $match_block['match_type']['match_type_selector'] == 'quality':
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
38 search_target = fastq_read.quality
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
39 #else:
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
40 #continue
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
41 #end if
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
42 if not re.search(binascii.unhexlify("${ binascii.hexlify(str(match_block['match_type']['match']['match_by'])) }").decode(), search_target):
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
43 return False
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
44 #end for
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
45 return True
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
46
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
47
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
48 ##modify matched reads
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
49 def manipulate_read(fastq_read):
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
50 new_read = fastq_read.clone()
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
51 #for $manipulate_block in $manipulate_blocks:
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
52 #if $manipulate_block['manipulation_type']['manipulation_type_selector'] == 'identifier':
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
53 #if $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'translate':
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
54 new_read.identifier = "@%s" % new_read.identifier[1:].translate(maketrans(binascii.unhexlify("${ binascii.hexlify(str(manipulate_block['manipulation_type']['manipulation']['from'])) }").decode(), binascii.unhexlify("${ binascii.hexlify(str(manipulate_block['manipulation_type']['manipulation']['to'])) }").decode()))
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
55 #end if
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
56 #elif $manipulate_block['manipulation_type']['manipulation_type_selector'] == 'sequence':
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
57 #if $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'translate':
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
58 new_read.sequence = new_read.sequence.translate(maketrans(binascii.unhexlify("${ binascii.hexlify(str(manipulate_block['manipulation_type']['manipulation']['from'])) }").decode(), binascii.unhexlify("${ binascii.hexlify(str(manipulate_block['manipulation_type']['manipulation']['to'])) }").decode()))
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
59 #elif $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'rev_comp':
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
60 new_read = new_read.reverse_complement()
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
61 #elif $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'rev_no_comp':
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
62 new_read = new_read.reverse()
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
63 #elif $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'no_rev_comp':
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
64 new_read = new_read.complement()
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
65 #elif $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'trim':
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
66 #if $manipulate_block['manipulation_type']['manipulation']['offset_type']['base_offset_type'] == 'offsets_percent':
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
67 left_column_offset = int(round(float(${ manipulate_block['manipulation_type']['manipulation']['offset_type']['left_column_offset'] }) / 100.0 * float(len(new_read))))
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
68 right_column_offset = int(round(float(${ manipulate_block['manipulation_type']['manipulation']['offset_type']['right_column_offset'] }) / 100.0 * float(len(new_read))))
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
69 #else
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
70 left_column_offset = ${ manipulate_block['manipulation_type']['manipulation']['offset_type']['left_column_offset'] }
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
71 right_column_offset = ${ manipulate_block['manipulation_type']['manipulation']['offset_type']['right_column_offset'] }
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
72 #end if
2
16d28d67ebeb planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 1
diff changeset
73 if right_column_offset != 0:
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
74 right_column_offset = -right_column_offset
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
75 else:
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
76 right_column_offset = None
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
77 new_read = new_read.slice(left_column_offset, right_column_offset)
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
78 if not (${str(manipulate_block['manipulation_type']['manipulation']['keep_zero_length']) == 'keep_zero_length'} or len(new_read)):
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
79 return None
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
80 #elif $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'dna_to_rna':
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
81 new_read = new_read.sequence_as_DNA()
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
82 #elif $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'rna_to_dna':
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
83 new_read = new_read.sequence_as_RNA()
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
84 #elif $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'change_adapter':
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
85 if new_read.sequence_space == 'color':
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
86 new_read = new_read.change_adapter(binascii.unhexlify("${ binascii.hexlify(str(manipulate_block['manipulation_type']['manipulation']['new_adapter'])) }").decode())
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
87 #end if
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
88 #elif $manipulate_block['manipulation_type']['manipulation_type_selector'] == 'quality':
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
89 #if $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'translate':
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
90 new_read.quality = new_read.quality.translate(maketrans(binascii.unhexlify("${ binascii.hexlify(str(manipulate_block['manipulation_type']['manipulation']['from'])) }").decode(), binascii.unhexlify("${ binascii.hexlify(str(manipulate_block['manipulation_type']['manipulation']['to'])) }").decode()))
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
91 #elif $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'map_score':
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
92 def score_method(score):
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
93 raise Exception("Unimplemented") ##This option is not yet available, need to abstract out e.g. column adding tool action: preventing users from using 'harmful' actions
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
94 new_read.quality_map(score_method)
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
95 #end if
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
96 #elif $manipulate_block['manipulation_type']['manipulation_type_selector'] == 'miscellaneous':
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
97 #if $manipulate_block['manipulation_type']['manipulation']['manipulation_selector'] == 'remove':
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
98 return None
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
99 #end if
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
100 #else:
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
101 #continue
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
102 #end if
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
103 #end for
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
104 if new_read.description != "+":
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
105 new_read.description = "+%s" % new_read.identifier[1:] ##ensure description is still valid
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
106 return new_read
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
107
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
108
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
109 def match_and_manipulate_read(fastq_read):
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
110 new_read = fastq_read
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
111 if match_read(fastq_read):
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
112 new_read = manipulate_read(fastq_read)
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
113 return new_read
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
114 ]]></configfile>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
115 </configfiles>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
116 <inputs>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
117 <!-- This tool is purposely over-engineered (e.g. Single option conditionals) to allow easy enhancement with workflow/rerun compatibility -->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
118 <param name="input_file" type="data" format="fastqsanger,fastqcssanger,fastqsanger.gz,fastqcssanger.gz,fastqsanger.bz2,fastqcssanger.bz2" label="FASTQ File" help="Requires groomed data: if your data does not appear here try using the FASTQ groomer"/>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
119 <!-- Match Reads -->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
120 <repeat name="match_blocks" title="Match Reads">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
121 <conditional name="match_type">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
122 <param name="match_type_selector" type="select" label="Match Reads by">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
123 <option value="identifier">Name/Identifier</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
124 <option value="sequence">Sequence Content</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
125 <option value="quality">Quality Score Content</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
126 </param>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
127 <when value="identifier">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
128 <conditional name="match">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
129 <param name="match_selector" type="select" label="Identifier Match Type">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
130 <option value="regex">Regular Expression</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
131 </param>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
132 <when value="regex">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
133 <param name="match_by" type="text" value=".*" label="Match by" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
134 </when>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
135 </conditional>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
136 </when>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
137 <when value="sequence">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
138 <conditional name="match">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
139 <param name="match_selector" type="select" label="Sequence Match Type">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
140 <option value="regex">Regular Expression</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
141 </param>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
142 <when value="regex">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
143 <param name="match_by" type="text" value=".*" label="Match by" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
144 </when>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
145 </conditional>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
146 </when>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
147 <when value="quality">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
148 <conditional name="match">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
149 <param name="match_selector" type="select" label="Quality Match Type">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
150 <option value="regex">Regular Expression</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
151 </param>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
152 <when value="regex">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
153 <param name="match_by" type="text" value=".*" label="Match by" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
154 </when>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
155 </conditional>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
156 </when>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
157 </conditional>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
158 </repeat>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
159 <!-- Manipulate Matched Reads -->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
160 <repeat name="manipulate_blocks" title="Manipulate Reads">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
161 <conditional name="manipulation_type">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
162 <param name="manipulation_type_selector" type="select" label="Manipulate Reads on">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
163 <option value="identifier">Name/Identifier</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
164 <option value="sequence">Sequence Content</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
165 <option value="quality">Quality Score Content</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
166 <option value="miscellaneous">Miscellaneous Actions</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
167 </param>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
168 <when value="identifier">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
169 <conditional name="manipulation">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
170 <param name="manipulation_selector" type="select" label="Identifier Manipulation Type">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
171 <option value="translate">String Translate</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
172 </param>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
173 <when value="translate">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
174 <param name="from" type="text" value="" label="From" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
175 <param name="to" type="text" value="" label="To" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
176 </when>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
177 </conditional>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
178 </when>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
179 <when value="sequence">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
180 <conditional name="manipulation">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
181 <param name="manipulation_selector" type="select" label="Sequence Manipulation Type">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
182 <option value="rev_comp">Reverse Complement</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
183 <option value="rev_no_comp">Reverse, No Complement</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
184 <option value="no_rev_comp">Complement, No Reverse</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
185 <option value="trim">Trim</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
186 <option value="dna_to_rna">DNA to RNA</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
187 <option value="rna_to_dna">RNA to DNA</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
188 <option value="translate">String Translate</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
189 <option value="change_adapter">Change Adapter Base</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
190 </param>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
191 <when value="rev_comp" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
192 <when value="rev_no_comp" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
193 <when value="no_rev_comp" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
194 <when value="trim">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
195 <conditional name="offset_type">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
196 <param name="base_offset_type" type="select" label="Define Base Offsets as" help="Use Absolute for fixed length reads (Illumina, SOLiD)&lt;br&gt;Use Percentage for variable length reads (Roche/454)">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
197 <option value="offsets_absolute" selected="true">Absolute Values</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
198 <option value="offsets_percent">Percentage of Read Length</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
199 </param>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
200 <when value="offsets_absolute">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
201 <param name="left_column_offset" type="integer" min="0" value="0" label="Offset from 5' end" help="Values start at 0, increasing from the left" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
202 <param name="right_column_offset" type="integer" value="0" label="Offset from 3' end" help="Values start at 0, increasing from the right; use a negative value to remove everything to the right of the absolute value of the position" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
203 </when>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
204 <when value="offsets_percent">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
205 <param name="left_column_offset" type="float" min="0" max="100" value="0" label="Offset from 5' end" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
206 <param name="right_column_offset" type="float" min="0" max="100" value="0" label="Offset from 3' end" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
207 </when>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
208 </conditional>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
209 <param name="keep_zero_length" type="boolean" truevalue="keep_zero_length" falsevalue="exclude_zero_length" checked="false" label="Keep reads with zero length" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
210 </when>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
211 <when value="dna_to_rna" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
212 <when value="rna_to_dna" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
213 <when value="translate">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
214 <param name="from" type="text" value="" label="From" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
215 <param name="to" type="text" value="" label="To" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
216 </when>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
217 <when value="change_adapter">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
218 <param name="new_adapter" type="text" value="G" label="New adapter" help="An empty string will remove the adapter base" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
219 </when>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
220 </conditional>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
221 </when>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
222 <when value="quality">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
223 <conditional name="manipulation">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
224 <param name="manipulation_selector" type="select" label="Quality Manipulation Type">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
225 <option value="translate">String Translate</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
226 <!-- <option value="modify_each_score">Apply Transformation to each Score</option> Not enabled yet-->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
227 </param>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
228 <when value="translate">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
229 <param name="from" type="text" value="" label="From" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
230 <param name="to" type="text" value="" label="To" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
231 </when>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
232 <!-- <when value="modify_each_score">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
233 <param name="map_score" type="text" label="Modify Score by" value="$score + 1" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
234 </when> -->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
235 </conditional>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
236 </when>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
237 <when value="miscellaneous">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
238 <conditional name="manipulation">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
239 <param name="manipulation_selector" type="select" label="Miscellaneous Manipulation Type">
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
240 <option value="remove">Remove Read</option>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
241 </param>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
242 <when value="remove" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
243 </conditional>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
244 </when>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
245 </conditional>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
246 </repeat>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
247 </inputs>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
248 <outputs>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
249 <data name="output_file" format_source="input_file" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
250 </outputs>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
251 <tests>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
252 <!-- match all and do nothing -->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
253 <test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
254 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
255 <param name="match_type_selector" value="identifier" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
256 <param name="match_selector" value="regex" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
257 <param name="match_by" value=".*" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
258 <param name="manipulation_type_selector" value="identifier" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
259 <param name="manipulation_selector" value="translate" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
260 <param name="from" value="" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
261 <param name="to" value="" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
262 <output name="output_file" file="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
263 </test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
264 <!-- match None and do nothing -->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
265 <test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
266 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
267 <param name="match_type_selector" value="identifier" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
268 <param name="match_selector" value="regex" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
269 <param name="match_by" value="STRINGDOESNOTEXIST" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
270 <param name="manipulation_type_selector" value="identifier" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
271 <param name="manipulation_selector" value="translate" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
272 <param name="from" value="" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
273 <param name="to" value="" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
274 <output name="output_file" file="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
275 </test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
276 <!-- match all and remove -->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
277 <test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
278 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
279 <param name="match_type_selector" value="identifier" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
280 <param name="match_selector" value="regex" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
281 <param name="match_by" value=".*" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
282 <param name="manipulation_type_selector" value="miscellaneous" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
283 <param name="manipulation_selector" value="remove" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
284 <output name="output_file" file="empty_file.dat" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
285 </test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
286 <!-- match None and remove -->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
287 <test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
288 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
289 <param name="match_type_selector" value="identifier" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
290 <param name="match_selector" value="regex" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
291 <param name="match_by" value="STRINGDOESNOTEXIST" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
292 <param name="manipulation_type_selector" value="miscellaneous" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
293 <param name="manipulation_selector" value="remove" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
294 <output name="output_file" file="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
295 </test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
296 <!-- match all and trim to 4 inner-most bases -->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
297 <test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
298 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
299 <param name="match_type_selector" value="identifier" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
300 <param name="match_selector" value="regex" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
301 <param name="match_by" value=".*" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
302 <param name="manipulation_type_selector" value="sequence" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
303 <param name="manipulation_selector" value="trim" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
304 <param name="base_offset_type" value="offsets_absolute"/>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
305 <param name="left_column_offset" value="45"/>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
306 <param name="right_column_offset" value="45"/>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
307 <param name="keep_zero_length" value="true" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
308 <output name="output_file" file="fastq_trimmer_out1.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
309 </test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
310 <test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
311 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
312 <param name="match_type_selector" value="identifier" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
313 <param name="match_selector" value="regex" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
314 <param name="match_by" value=".*" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
315 <param name="manipulation_type_selector" value="sequence" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
316 <param name="manipulation_selector" value="trim" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
317 <param name="base_offset_type" value="offsets_percent"/>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
318 <param name="left_column_offset" value="47.87"/>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
319 <param name="right_column_offset" value="47.87"/>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
320 <param name="keep_zero_length" value="true" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
321 <output name="output_file" file="fastq_trimmer_out1.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
322 </test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
323 <!-- match all and rev comp -->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
324 <test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
325 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
326 <param name="match_type_selector" value="identifier" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
327 <param name="match_selector" value="regex" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
328 <param name="match_by" value=".*" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
329 <param name="manipulation_type_selector" value="sequence" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
330 <param name="manipulation_selector" value="rev_comp" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
331 <output name="output_file" file="sanger_full_range_rev_comp.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
332 </test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
333 <!-- match all and rev comp, with ambiguous DNA -->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
334 <test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
335 <param name="input_file" value="misc_dna_original_sanger.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
336 <param name="match_type_selector" value="identifier" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
337 <param name="match_selector" value="regex" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
338 <param name="match_by" value=".*" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
339 <param name="manipulation_type_selector" value="sequence" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
340 <param name="manipulation_selector" value="rev_comp" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
341 <output name="output_file" file="misc_dna_as_sanger_rev_comp_1.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
342 </test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
343 <!-- match all and rev comp, with ambiguous RNA -->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
344 <test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
345 <param name="input_file" value="misc_rna_original_sanger.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
346 <param name="match_type_selector" value="identifier" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
347 <param name="match_selector" value="regex" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
348 <param name="match_by" value=".*" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
349 <param name="manipulation_type_selector" value="sequence" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
350 <param name="manipulation_selector" value="rev_comp" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
351 <output name="output_file" file="misc_rna_as_sanger_rev_comp_1.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
352 </test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
353 <!-- match first seq and rev comp -->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
354 <test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
355 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
356 <param name="match_type_selector" value="identifier" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
357 <param name="match_selector" value="regex" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
358 <param name="match_by" value="FAKE0001" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
359 <param name="manipulation_type_selector" value="sequence" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
360 <param name="manipulation_selector" value="rev_comp" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
361 <output name="output_file" file="sanger_full_range_rev_comp_1_seq.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
362 </test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
363 <!-- match first seq and rev comp: i.e. undo above -->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
364 <test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
365 <param name="input_file" value="sanger_full_range_rev_comp_1_seq.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
366 <param name="match_type_selector" value="identifier" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
367 <param name="match_selector" value="regex" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
368 <param name="match_by" value="FAKE0001" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
369 <param name="manipulation_type_selector" value="sequence" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
370 <param name="manipulation_selector" value="rev_comp" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
371 <output name="output_file" file="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
372 </test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
373 <!-- match all and DNA to RNA -->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
374 <test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
375 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
376 <param name="match_type_selector" value="identifier" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
377 <param name="match_selector" value="regex" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
378 <param name="match_by" value=".*" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
379 <param name="manipulation_type_selector" value="sequence" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
380 <param name="manipulation_selector" value="dna_to_rna" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
381 <output name="output_file" file="sanger_full_range_as_rna.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
382 </test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
383 <!-- match all and RNA to DNA-->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
384 <test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
385 <param name="input_file" value="sanger_full_range_as_rna.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
386 <param name="match_type_selector" value="identifier" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
387 <param name="match_selector" value="regex" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
388 <param name="match_by" value=".*" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
389 <param name="manipulation_type_selector" value="sequence" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
390 <param name="manipulation_selector" value="rna_to_dna" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
391 <output name="output_file" file="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
392 </test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
393 <!-- match all and RNA to DNA (gz compressed) -->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
394 <test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
395 <param name="input_file" value="sanger_full_range_as_rna.fastqsanger.gz" ftype="fastqsanger.gz" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
396 <param name="match_type_selector" value="identifier" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
397 <param name="match_selector" value="regex" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
398 <param name="match_by" value=".*" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
399 <param name="manipulation_type_selector" value="sequence" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
400 <param name="manipulation_selector" value="rna_to_dna" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
401 <output name="output_file" file="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger.gz" decompress="true" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
402 </test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
403 <!-- match all and RNA to DNA (bz2 compressed) -->
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
404 <test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
405 <param name="input_file" value="sanger_full_range_as_rna.fastqsanger.bz2" ftype="fastqsanger.bz2" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
406 <param name="match_type_selector" value="identifier" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
407 <param name="match_selector" value="regex" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
408 <param name="match_by" value=".*" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
409 <param name="manipulation_type_selector" value="sequence" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
410 <param name="manipulation_selector" value="rna_to_dna" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
411 <output name="output_file" file="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger.bz2" decompress="true" />
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
412 </test>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
413 </tests>
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
414 <help><![CDATA[
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
415 This tool allows you to build complex manipulations to be applied to each matching read in a FASTQ file. A read must match all matching directives in order for it to be manipulated; if a read does not match, it is output in a non-modified manner. All reads matching will have each of the specified manipulations performed upon them, in the order specified.
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
416
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
417 Regular Expression Matches are made using re.search, see http://docs.python.org/library/re.html for more information.
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
418 All matching is performed on a single line string, regardless if e.g. the sequence or quality score spans multiple lines in the original file.
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
419
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
420 String translations are performed using string.translate, see http://docs.python.org/library/string.html#string.translate and http://docs.python.org/library/string.html#string.maketrans for more information.
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
421
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
422 .. class:: warningmark
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
423
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
424 Only color space reads can have adapter bases substituted.
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
425
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
426 -----
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
427
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
428 **Example**
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
429
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
430 Suppose you have a color space sanger formatted sequence (fastqcssanger) and you want to double-encode the color space into psuedo-nucleotide space (this is different from converting) to allow these reads to be used in tools which do not natively support it (using specially designed indexes). This tool can handle this manipulation, however, this is generally not recommended as results tend to be poorer than those produced from tools which are specially designed to handle color space data.
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
431
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
432 Steps:
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
433
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
434 1. Click **Add new Match Reads** and leave the matching options set to the default (Matching by sequence name/identifier using the regular expression "\*."; thereby matching all reads).
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
435 2. Click **Add new Manipulate Reads**, change **Manipulate Reads on** to "Sequence Content", set **Sequence Manipulation Type** to "Change Adapter Base" and set **New Adapter** to "" (an empty text field).
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
436 3. Click **Add new Manipulate Reads**, change **Manipulate Reads on** to "Sequence Content", set **Sequence Manipulation Type** to "String Translate" and set **From** to "0123." and **To** to "ACGTN".
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
437 4. Click Execute. The new history item will contained double-encoded psuedo-nucleotide space reads.
3
7ea141c4c834 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/galaxy_sequence_utils/fastq_manipulation commit f2582539542b33240234e8ea6093e25d0aee9b6a
devteam
parents: 2
diff changeset
438 ]]></help>
1
b50aeae8bcaa planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
439 <citations>
b50aeae8bcaa planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
440 <citation type="doi">10.1093/bioinformatics/btq281</citation>
b50aeae8bcaa planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
441 </citations>
0
de14b969d713 Imported from capsule None
devteam
parents:
diff changeset
442 </tool>