annotate samtools_fastx.xml @ 3:b3d99709fe1a draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 5cb103832529f17e5c72e7f122758c13519fbe5e
author iuc
date Mon, 15 Aug 2022 09:16:56 +0000
parents 720217c23995
children 66e23b11feae
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
b3d99709fe1a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 5cb103832529f17e5c72e7f122758c13519fbe5e
iuc
parents: 2
diff changeset
1 <tool id="samtools_fastx" name="Samtools fastx" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
2 <description>extract FASTA or FASTQ from alignment files</description>
0
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
3 <macros>
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
4 <import>macros.xml</import>
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
5 </macros>
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
6 <expand macro="requirements" />
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
7 <expand macro="stdio"/>
0
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
8 <expand macro="version_command" />
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
9 <command><![CDATA[
2
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
10 @ADDTHREADS@
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
11 ## name sort input file if neccessary
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
12 #if not $input.is_of_type('qname_sorted.bam', 'qname_input_sorted.bam'):
2
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
13 samtools sort -@ \$addthreads -n '$input' -T "\${TMPDIR:-.}" > input &&
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
14 #else:
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
15 ln -s '$input' input &&
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
16 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
17
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
18 #set command=str($output_fmt_cond.output_fmt_select)[:5]
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
19
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
20 samtools $command
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
21 #if str($output_fmt_cond.output_fmt_select).startswith('fastq'):
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
22 #if str($output_fmt_cond.default_quality) != '':
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
23 -v $output_fmt_cond.default_quality
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
24 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
25 $output_fmt_cond.output_quality
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
26 $output_fmt_cond.ilumina_casava
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
27 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
28 $copy_tags
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
29 #if str($copy_arb_tags) != '':
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
30 -T '$copy_arb_tags'
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
31 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
32 $read_numbering
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
33 #if 'r0' in str($outputs):
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
34 -0 nonspecific.$output_fmt_cond.output_fmt_select
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
35 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
36 #if 'r1' in str($outputs):
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
37 -1 forward.$output_fmt_cond.output_fmt_select
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
38 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
39 #if 'r2' in str($outputs):
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
40 -2 reverse.$output_fmt_cond.output_fmt_select
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
41 #end if
2
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
42 #set $filter = $inclusive_filter
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
43 @FLAGS@
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
44 -f $flags
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
45 #set $filter = $exclusive_filter
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
46 @FLAGS@
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
47 -F $flags
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
48 #set $filter = $exclusive_filter_all
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
49 @FLAGS@
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
50 -G $flags
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
51 #if 's' in str($outputs):
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
52 -s singletons.$output_fmt_cond.output_fmt_select
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
53 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
54 #if str($idxout_cond.idxout_select) == 'yes':
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
55 #if str($idxout_cond.write1st) == 'yes':
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
56 --i1 i1.$output_fmt_cond.output_fmt_select
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
57 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
58 #if str($idxout_cond.write2nd) == 'yes':
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
59 --i2 i2.$output_fmt_cond.output_fmt_select
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
60 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
61 #if str($idxout_cond.index_format) != '':
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
62 --index-format $idxout_cond.index_format
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
63 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
64 #if str($idxout_cond.barcode_tag) != '':
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
65 --barcode-tag $idxout_cond.barcode_tag
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
66 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
67 #if str($idxout_cond.quality_tag) != '':
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
68 --quality-tag $idxout_cond.quality_tag
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
69 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
70 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
71
2
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
72 input
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
73
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
74 #if str($outputs)=='None' or 'other' in str($outputs):
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
75 ## since currently stdout in not zipped (samtools doesn't know about the extension)
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
76 #if str($output_fmt_cond.output_fmt_select).endswith('.gz'):
2
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
77 | gzip -
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
78 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
79 > output.$output_fmt_cond.output_fmt_select
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
80 && ln -s output.$output_fmt_cond.output_fmt_select output
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
81 #else
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
82 ## otherwise the remaining sequences would show up in the datasets info box
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
83 > /dev/null
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
84 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
85 #if 'r0' in str($outputs):
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
86 && ln -s nonspecific.$output_fmt_cond.output_fmt_select nonspecific
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
87 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
88 #if 'r1' in str($outputs):
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
89 && ln -s forward.$output_fmt_cond.output_fmt_select forward
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
90 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
91 #if 'r2' in str($outputs):
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
92 && ln -s reverse.$output_fmt_cond.output_fmt_select reverse
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
93 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
94 #if 's' in str($outputs):
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
95 && ln -s singletons.$output_fmt_cond.output_fmt_select singletons
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
96 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
97 #if str($idxout_cond.idxout_select) == 'yes':
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
98 #if str($idxout_cond.write1st) == 'yes':
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
99 && ln -s i1.$output_fmt_cond.output_fmt_select i1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
100 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
101 #if str($idxout_cond.write2nd) == 'yes':
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
102 && ln -s i2.$output_fmt_cond.output_fmt_select i2
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
103 #end if
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
104 #end if
0
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
105 ]]>
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
106 </command>
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
107 <inputs>
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
108 <param name="input" type="data" format="sam,bam,cram" label="BAM or SAM file to convert" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
109 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
110 <param name="output_fmt_select" type="select" label="Output format">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
111 <option value="fasta" selected="True">FASTA</option>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
112 <option value="fastqsanger">FASTQ</option>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
113 <option value="fasta.gz">compressed FASTA</option>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
114 <option value="fastqsanger.gz">compressed FASTQ</option>
0
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
115 </param>
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
116 <when value="fastqsanger">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
117 <param name="default_quality" argument="-v" type="integer" optional="True" label="Default quality if none is given" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
118 <param name="output_quality" argument="-O" type="boolean" truevalue="-O" falsevalue="" checked="false" label="Output quality in the OQ tag if available" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
119 <param name="ilumina_casava" argument="-i" type="boolean" truevalue="-i" falsevalue="" checked="false" label="add Illumina Casava 1.8 format entry to header (eg 1:N:0:ATCACG)" />
0
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
120 </when>
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
121 <when value="fasta" />
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
122 <when value="fastqsanger.gz">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
123 <param name="default_quality" argument="-v" type="integer" optional="True" label="Default quality if none is given" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
124 <param name="output_quality" argument="-O" type="boolean" truevalue="-O" falsevalue="" checked="false" label="Output quality in the OQ tag if available" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
125 <param name="ilumina_casava" argument="-i" type="boolean" truevalue="-i" falsevalue="" checked="false" label="add Illumina Casava 1.8 format entry to header (eg 1:N:0:ATCACG)" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
126 </when>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
127 <when value="fasta.gz" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
128 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
129 <param name="outputs" type="select" multiple="true" label="outputs">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
130 <option value="other" selected="true">others</option>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
131 <option value="r1">READ1</option>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
132 <option value="r2">READ2</option>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
133 <option value="s">singletons</option>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
134 <option value="r0">unspecific</option>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
135 <help>disjoint subsets of the reads can be redirected to separate data sets. "READ[12]" are reads for which the READ[12] flag is set and the READ[21] flag is not set. "unspecific" reads are those for which both ore neither of these flags are set. "singletons" are the singleto reads. Note that if selected READ1 and READ2 contain only the paired reads. "other" are the remaining reads. If onlz 'others' or nothing is selected all reads go to a single data set. </help>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
136 </param>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
137 <param name="copy_tags" argument="-t" type="boolean" truevalue="-t" falsevalue="" label="Copy RG/BC/QT tags to output header" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
138 <param name="copy_arb_tags" argument="-T" type="text" optional="true" label="copy arbitrary tags to the FASTA header line" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
139 <param name="read_numbering" type="select" label="Omit or append read numbers">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
140 <option value="" selected="True">no</option>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
141 <option value="-n">Do not append /1 and /2 to read names</option>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
142 <option value="-N">always append /1 and /2 to read name</option>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
143 </param>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
144 <param name="inclusive_filter" argument="-f" type="select" multiple="True" label="Require that these flags are set">
2
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
145 <expand macro="flag_options"/>
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
146 </param>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
147 <param name="exclusive_filter" argument="-F" type="select" multiple="True" label="Exclude reads with any of the following flags set">
2
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
148 <expand macro="flag_options" s256="true" s2048="true"/>
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
149 </param>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
150 <param name="exclusive_filter_all" argument="-G" type="select" multiple="True" label="Exclude reads with all of the following flags set">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
151 <expand macro="flag_options" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
152 </param>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
153
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
154 <conditional name="idxout_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
155 <param name="idxout_select" type="select" label="Write index read files">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
156 <option value="no" selected="True">No</option>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
157 <option value="yes">Yes (beta: feedback welcome)</option>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
158 </param>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
159 <when value="no" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
160 <when value="yes">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
161 <param name="write1st" argument="--i1" type="boolean" truevalue="yes" falsevalue="no" checked="true" label="write first index reads to extra data set" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
162 <param name="write2nd" argument="--i2" type="boolean" truevalue="yes" falsevalue="no" checked='true' label="write second index reads to extra data set" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
163 <param name="index_format" argument="--index-format" type="text" label="Index format: How to parse barcode and quality tags">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
164 <help>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
165 The index-format string describes how to parse the barcode and quality tags, for example:
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
166 i14i8 the first 14 characters are index 1, the next 8 characters are index 2
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
167 n8i14 ignore the first 8 characters, and use the next 14 characters for index 1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
168 If the tag contains a separator, then the numeric part can be replaced with '*' to mean
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
169 'read until the separator or end of tag', for example:
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
170 n*i* ignore the left part of the tag until the separator, then use the second part
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
171 of the tag as index 1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
172 </help>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
173 </param>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
174 <param name="barcode_tag" argument="--barcode-tag" type="text" optional="True" label="Barcode tag [default: BC]"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
175 <param name="quality_tag" argument="--quality-tag" type="text" optional="True" label="Quality tag [default: QT]"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
176 </when>
0
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
177 </conditional>
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
178 </inputs>
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
179 <outputs>
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
180 <data name="nonspecific" format="fasta" from_work_dir="nonspecific" label="${on_string} converted to ${output_fmt_cond.output_fmt_select} (nonspecific)">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
181 <filter>'r0' in str(outputs)</filter>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
182 <actions>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
183 <action type="format">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
184 <option type="from_param" name="output_fmt_cond" param_attribute="output_fmt_select" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
185 </action>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
186 </actions>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
187 </data>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
188 <data name="forward" format="fasta" from_work_dir="forward" label="${on_string} converted to ${output_fmt_cond.output_fmt_select} (READ1)">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
189 <filter>'r1' in str(outputs)</filter>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
190 <actions>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
191 <action type="format">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
192 <option type="from_param" name="output_fmt_cond" param_attribute="output_fmt_select" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
193 </action>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
194 </actions>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
195 </data>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
196 <data name="reverse" format="fasta" from_work_dir="reverse" label="${on_string} converted to ${output_fmt_cond.output_fmt_select} (READ2)">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
197 <filter>'r2' in str(outputs)</filter>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
198 <actions>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
199 <action type="format">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
200 <option type="from_param" name="output_fmt_cond" param_attribute="output_fmt_select" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
201 </action>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
202 </actions>
0
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
203 </data>
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
204 <data name="singletons" format="fasta" from_work_dir="singletons" label="${on_string} converted to ${output_fmt_cond.output_fmt_select} (singletons)">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
205 <filter>'s' in str(outputs)</filter>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
206 <actions>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
207 <action type="format">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
208 <option type="from_param" name="output_fmt_cond" param_attribute="output_fmt_select" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
209 </action>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
210 </actions>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
211 </data>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
212 <data name="output" format="fasta" from_work_dir="output" label="${on_string} converted to ${output_fmt_cond.output_fmt_select}">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
213 <filter>str(outputs)=='None' or 'other' in str(outputs)</filter>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
214 <actions>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
215 <action type="format">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
216 <option type="from_param" name="output_fmt_cond" param_attribute="output_fmt_select" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
217 </action>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
218 </actions>
0
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
219 </data>
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
220 <data name="i1" format="fasta" from_work_dir="i1" label="${on_string} converted to ${output_fmt_cond.output_fmt_select} (1st index)">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
221 <filter>idxout_cond['idxout_select']=='yes' and idxout_cond['write1st']</filter>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
222 <actions>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
223 <action type="format">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
224 <option type="from_param" name="output_fmt_cond" param_attribute="output_fmt_select" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
225 </action>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
226 </actions>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
227 </data>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
228 <data name="i2" format="fasta" from_work_dir="i2" label="${on_string} converted to ${output_fmt_cond.output_fmt_select} (2nd index)">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
229 <filter>idxout_cond['idxout_select']=='yes' and idxout_cond['write2nd']</filter>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
230 <actions>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
231 <action type="format">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
232 <option type="from_param" name="output_fmt_cond" param_attribute="output_fmt_select" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
233 </action>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
234 </actions>
0
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
235 </data>
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
236 </outputs>
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
237 <tests>
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
238 <!-- tests from original Galaxy tool -->
0
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
239 <test>
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
240 <param name="input" value="samtools_fastx-in1.bam" ftype="bam" />
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
241 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
242 <param name="output_fmt_select" value="fasta" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
243 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
244 <param name="outputs" value="other" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
245 <output name="output" file="samtools_fastx-out1.fasta" ftype="fasta" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
246 </test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
247 <test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
248 <param name="input" value="samtools_fastx-in2.bam" ftype="bam" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
249 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
250 <param name="output_fmt_select" value="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
251 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
252 <param name="outputs" value="r0,r1,r2" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
253 <output name="nonspecific" file="samtools_fastx-out2-1.fastq" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
254 <output name="forward" file="samtools_fastx-out2-2.fastq" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
255 <output name="reverse" file="samtools_fastx-out2-3.fastq" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
256 </test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
257 <test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
258 <param name="input" value="samtools_fastx-in3.sam" ftype="sam" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
259 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
260 <param name="output_fmt_select" value="fasta" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
261 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
262 <param name="outputs" value="r0,r1,r2" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
263 <output name="nonspecific" file="samtools_fastx-out3-1.fasta" ftype="fasta" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
264 <output name="forward" file="samtools_fastx-out3-2.fasta" ftype="fasta" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
265 <output name="reverse" file="samtools_fastx-out3-3.fasta" ftype="fasta" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
266 </test>
2
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
267 <!-- tests from original Galaxy tool with gz output. for some reason gzip (which is used
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
268 for compressing stdout does not give exactly the same file contents .. the other
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
269 compressed files seem to)-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
270 <test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
271 <param name="input" value="samtools_fastx-in1.bam" ftype="bam" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
272 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
273 <param name="output_fmt_select" value="fasta.gz" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
274 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
275 <param name="outputs" value="other" />
2
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
276 <output name="output" file="samtools_fastx-out1.fasta.gz" ftype="fasta.gz" decompress="true"/>
0
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
277 </test>
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
278 <test>
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
279 <param name="input" value="samtools_fastx-in2.bam" ftype="bam" />
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
280 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
281 <param name="output_fmt_select" value="fastqsanger.gz" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
282 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
283 <param name="outputs" value="r0,r1,r2" />
2
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
284 <output name="nonspecific" file="samtools_fastx-out2-1.fastq.gz" ftype="fastqsanger.gz" decompress="true" />
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
285 <output name="forward" file="samtools_fastx-out2-2.fastq.gz" ftype="fastqsanger.gz" decompress="true" />
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
286 <output name="reverse" file="samtools_fastx-out2-3.fastq.gz" ftype="fastqsanger.gz" decompress="true" />
0
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
287 </test>
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
288 <test>
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
289 <param name="input" value="samtools_fastx-in3.sam" ftype="sam" />
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
290 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
291 <param name="output_fmt_select" value="fasta.gz" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
292 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
293 <param name="outputs" value="r0,r1,r2" />
2
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
294 <output name="nonspecific" file="samtools_fastx-out3-1.fasta.gz" ftype="fasta.gz" decompress="true" />
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
295 <output name="forward" file="samtools_fastx-out3-2.fasta.gz" ftype="fasta.gz" decompress="true" />
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
296 <output name="reverse" file="samtools_fastx-out3-3.fasta.gz" ftype="fasta.gz" decompress="true" />
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
297 </test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
298 <!-- tests from: https://github.com/samtools/samtools/blob/6d79411685d8f0fbb34e123f52d72b63271f4dcb/test/test.pl#L2313-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
299 <!--# basic 2 output test without singleton tracking-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
300 <!--test_cmd($opts, out=>'bam2fq/1.stdout.expected', out_map=>{'1.fq' => 'bam2fq/1.1.fq.expected', '2.fq' => 'bam2fq/1.2.fq.expected'},cmd=>"$$opts{bin}/samtools fastq @$threads -1 $$opts{path}/1.fq -2 $$opts{path}/2.fq $$opts{path}/dat/bam2fq.001.sam");-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
301 <test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
302 <param name="input" value="bam2fq.001.sam" ftype="sam" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
303 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
304 <param name="output_fmt_select" value="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
305 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
306 <param name="outputs" value="r1,r2,other" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
307 <output name="forward" file="1.1.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
308 <output name="reverse" file="1.2.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
309 <output name="output" file="1.stdout.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
310 </test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
311 <!--# basic 2 output test with singleton tracking but no singleton-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
312 <!--test_cmd($opts, out=>'bam2fq/2.stdout.expected', out_map=>{'1.fq' => 'bam2fq/2.1.fq.expected', '2.fq' => 'bam2fq/2.2.fq.expected', 's.fq' => 'bam2fq/2.s.fq.expected'}, cmd=>"$$opts{bin}/samtools fastq @$threads -s $$opts{path}/s.fq -1 $$opts{path}/1.fq -2 $$opts{path}/2.fq $$opts{path}/dat/bam2fq.001.sam");-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
313 <test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
314 <param name="input" value="bam2fq.001.sam" ftype="sam" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
315 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
316 <param name="output_fmt_select" value="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
317 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
318 <param name="outputs" value="r1,r2,s,other" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
319 <output name="forward" file="2.1.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
320 <output name="reverse" file="2.2.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
321 <output name="singletons" file="2.s.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
322 <output name="output" file="2.stdout.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
323 </test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
324 <!--# basic 2 output test with singleton tracking with a singleton in the middle-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
325 <!--test_cmd($opts, out=>'bam2fq/2.stdout.expected', out_map=>{'1.fq' => 'bam2fq/3.1.fq.expected', '2.fq' => 'bam2fq/3.2.fq.expected', 's.fq' => 'bam2fq/3.s.fq.expected'}, cmd=>"$$opts{bin}/samtools fastq @$threads -s $$opts{path}/s.fq -1 $$opts{path}/1.fq -2 $$opts{path}/2.fq $$opts{path}/dat/bam2fq.002.sam");-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
326 <test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
327 <param name="input" value="bam2fq.002.sam" ftype="sam" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
328 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
329 <param name="output_fmt_select" value="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
330 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
331 <param name="outputs" value="r1,r2,s,other" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
332 <output name="forward" file="3.1.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
333 <output name="reverse" file="3.2.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
334 <output name="singletons" file="3.s.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
335 <output name="output" file="3.stdout.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
336 </test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
337 <!--# basic 2 output test with singleton tracking with a singleton as last read-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
338 <!--test_cmd($opts, out=>'bam2fq/2.stdout.expected', out_map=>{'1.fq' => 'bam2fq/4.1.fq.expected', '2.fq' => 'bam2fq/4.2.fq.expected', 's.fq' => 'bam2fq/4.s.fq.expected'}, cmd=>"$$opts{bin}/samtools fastq @$threads -s $$opts{path}/s.fq -1 $$opts{path}/1.fq -2 $$opts{path}/2.fq $$opts{path}/dat/bam2fq.003.sam");-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
339 <test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
340 <param name="input" value="bam2fq.003.sam" ftype="sam" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
341 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
342 <param name="output_fmt_select" value="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
343 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
344 <param name="outputs" value="r1,r2,s,other" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
345 <output name="forward" file="4.1.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
346 <output name="reverse" file="4.2.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
347 <output name="singletons" file="4.s.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
348 <output name="output" file="4.stdout.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
349 </test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
350 <!--# tag output test with singleton tracking with a singleton as last read-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
351 <!--test_cmd($opts, out=>'bam2fq/2.stdout.expected', out_map=>{'1.fq' => 'bam2fq/4.1.fq.expected', '2.fq' => 'bam2fq/4.2.fq.expected', 's.fq' => 'bam2fq/4.s.fq.expected', 'bc.fq' => 'bam2fq/bc.fq.expected'}, cmd=>"$$opts{bin}/samtools fastq @$threads \-\-barcode-tag BC \-\-index-format 'n2i2' \-\-i1 $$opts{path}/bc.fq -s $$opts{path}/s.fq -1 $$opts{path}/1.fq -2 $$opts{path}/2.fq $$opts{path}/dat/bam2fq.004.sam");-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
352 <test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
353 <param name="input" value="bam2fq.004.sam" ftype="sam" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
354 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
355 <param name="output_fmt_select" value="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
356 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
357 <param name="outputs" value="r1,r2,s,other" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
358 <conditional name="idxout_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
359 <param name="idxout_select" value="yes"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
360 <param name="write1st" value="yes"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
361 <param name="barcode_tag" value="BC"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
362 <param name="index_format" value="n2i2"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
363 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
364 <output name="forward" file="4.1.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
365 <output name="reverse" file="4.2.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
366 <output name="singletons" file="4.s.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
367 <output name="output" file="4.stdout.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
368 <output name="i1" file="bc.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
369 </test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
370 <!--# test -O flag with no OQ tags-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
371 <!--test_cmd($opts, out=>'bam2fq/2.stdout.expected', out_map=>{'1.fq' => 'bam2fq/4.1.fq.expected', '2.fq' => 'bam2fq/4.2.fq.expected', 's.fq' => 'bam2fq/4.s.fq.expected', 'bc.fq' => 'bam2fq/bc.fq.expected'}, cmd=>"$$opts{bin}/samtools fastq @$threads \-\-barcode-tag BC -O \-\-index-format 'n2i2' \-\-i1 $$opts{path}/bc.fq -s $$opts{path}/s.fq -1 $$opts{path}/1.fq -2 $$opts{path}/2.fq $$opts{path}/dat/bam2fq.004.sam");-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
372 <test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
373 <param name="input" value="bam2fq.010.sam" ftype="sam" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
374 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
375 <param name="output_fmt_select" value="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
376 <param name="output_quality" value="-O" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
377 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
378 <param name="outputs" value="r1,r2,s,other" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
379 <conditional name="idxout_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
380 <param name="idxout_select" value="yes"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
381 <param name="write1st" value="yes"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
382 <param name="barcode_tag" value="BC"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
383 <param name="index_format" value="n2i2"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
384 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
385 <output name="forward" file="10.1.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
386 <output name="reverse" file="10.2.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
387 <output name="singletons" file="10.s.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
388 <output name="output" file="2.stdout.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
389 <output name="i1" file="bc10.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
390 </test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
391 <!--# test -O flag with OQ tags-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
392 <!--test_cmd($opts, out=>'bam2fq/2.stdout.expected', out_map=>{'1.fq' => 'bam2fq/10.1.fq.expected', '2.fq' => 'bam2fq/10.2.fq.expected', 's.fq' => 'bam2fq/10.s.fq.expected', 'bc.fq' => 'bam2fq/bc10.fq.expected'}, cmd=>"$$opts{bin}/samtools fastq @$threads \-\-barcode-tag BC -O \-\-index-format 'n2i2' \-\-i1 $$opts{path}/bc.fq -s $$opts{path}/s.fq -1 $$opts{path}/1.fq -2 $$opts{path}/2.fq $$opts{path}/dat/bam2fq.010.sam");-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
393 <test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
394 <param name="input" value="bam2fq.010.sam" ftype="sam" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
395 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
396 <param name="output_fmt_select" value="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
397 <param name="output_quality" value="-O" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
398 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
399 <param name="outputs" value="r1,r2,s,other" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
400 <conditional name="idxout_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
401 <param name="idxout_select" value="yes"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
402 <param name="write1st" value="yes"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
403 <param name="barcode_tag" value="BC"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
404 <param name="index_format" value="n2i2"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
405 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
406 <output name="forward" file="10.1.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
407 <output name="reverse" file="10.2.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
408 <output name="singletons" file="10.s.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
409 <output name="output" file="2.stdout.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
410 <output name="i1" file="bc10.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
411 </test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
412 <!--# tag output test with separators and -N flag-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
413 <!--test_cmd($opts, out=>'bam2fq/2.stdout.expected', out_map=>{'1.fq' => 'bam2fq/5.1.fq.expected', '2.fq' => 'bam2fq/5.2.fq.expected', 's.fq' => 'bam2fq/5.s.fq.expected', 'bc_split.fq' => 'bam2fq/bc_split.fq.expected'}, cmd=>"$$opts{bin}/samtools fastq @$threads \-\-barcode-tag BC -N \-\-index-format 'n*i*' \-\-i1 $$opts{path}/bc_split.fq -s $$opts{path}/s.fq -1 $$opts{path}/1.fq -2 $$opts{path}/2.fq $$opts{path}/dat/bam2fq.005.sam");-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
414 <test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
415 <param name="input" value="bam2fq.005.sam" ftype="sam" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
416 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
417 <param name="output_fmt_select" value="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
418 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
419 <param name="outputs" value="r1,r2,s,other" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
420 <param name="read_numbering" value="-N"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
421 <conditional name="idxout_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
422 <param name="idxout_select" value="yes"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
423 <param name="write1st" value="yes"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
424 <param name="barcode_tag" value="BC"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
425 <param name="index_format" value="n*i*"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
426 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
427 <output name="forward" file="5.1.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
428 <output name="reverse" file="5.2.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
429 <output name="singletons" file="5.s.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
430 <output name="output" file="2.stdout.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
431 <output name="i1" file="bc_split.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
432 </test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
433 <!--# -t flag-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
434 <!--test_cmd($opts, out=>'bam2fq/2.stdout.expected', out_map=>{'1.fq' => 'bam2fq/6.1.fq.expected', '2.fq' => 'bam2fq/6.2.fq.expected', 's.fq' => 'bam2fq/6.s.fq.expected'}, cmd=>"$$opts{bin}/samtools fastq @$threads -N -t -s $$opts{path}/s.fq -1 $$opts{path}/1.fq -2 $$opts{path}/2.fq $$opts{path}/dat/bam2fq.005.sam");-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
435 <test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
436 <param name="input" value="bam2fq.005.sam" ftype="sam" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
437 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
438 <param name="output_fmt_select" value="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
439 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
440 <param name="outputs" value="r1,r2,s,other" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
441 <param name="copy_tags" value="-t" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
442 <param name="read_numbering" value="-N"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
443 <output name="forward" file="6.1.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
444 <output name="reverse" file="6.2.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
445 <output name="singletons" file="6.s.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
446 <output name="output" file="2.stdout.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
447 </test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
448 <!--# -T flag-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
449 <!--test_cmd($opts, out=>'bam2fq/2.stdout.expected', out_map=>{'1.fq' => 'bam2fq/7.1.fq.expected', '2.fq' => 'bam2fq/7.2.fq.expected', 's.fq' => 'bam2fq/7.s.fq.expected'}, cmd=>"$$opts{bin}/samtools fastq @$threads -N -t -T MD,ia -s $$opts{path}/s.fq -1 $$opts{path}/1.fq -2 $$opts{path}/2.fq $$opts{path}/dat/bam2fq.005.sam");-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
450 <test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
451 <param name="input" value="bam2fq.005.sam" ftype="sam" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
452 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
453 <param name="output_fmt_select" value="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
454 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
455 <param name="outputs" value="r1,r2,s,other" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
456 <param name="copy_tags" value="-t" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
457 <param name="copy_arb_tags" value="MD,ia" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
458 <param name="read_numbering" value="-N"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
459 <output name="forward" file="7.1.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
460 <output name="reverse" file="7.2.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
461 <output name="singletons" file="7.s.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
462 <output name="output" file="2.stdout.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
463 </test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
464 <!--# -i flag with no index-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
465 <!--test_cmd($opts, out=>'bam2fq/2.stdout.expected', out_map=>{'1.fq' => 'bam2fq/7.1.fq.expected', '2.fq' => 'bam2fq/7.2.fq.expected', 's.fq' => 'bam2fq/7.s.fq.expected'}, cmd=>"$$opts{bin}/samtools fastq @$threads -N -t -i -T MD,ia -s $$opts{path}/s.fq -1 $$opts{path}/1.fq -2 $$opts{path}/2.fq $$opts{path}/dat/bam2fq.005.sam");-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
466 <test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
467 <param name="input" value="bam2fq.005.sam" ftype="sam" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
468 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
469 <param name="output_fmt_select" value="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
470 <param name="ilumina_casava" value="-i" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
471 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
472 <param name="outputs" value="r1,r2,s,other" />
2
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
473 <conditional name="idxout_cond">
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
474 <param name="idxout_select" value="yes"/>
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
475 <param name="index_format" value="n2i2"/>
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
476 </conditional>
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
477 <param name="copy_tags" value="-t" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
478 <param name="copy_arb_tags" value="MD,ia" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
479 <param name="read_numbering" value="-N"/>
2
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
480 <output name="forward" file="11.1.fq.expected" ftype="fastqsanger" />
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
481 <output name="reverse" file="11.2.fq.expected" ftype="fastqsanger" />
720217c23995 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 1
diff changeset
482 <output name="singletons" file="11.s.fq.expected" ftype="fastqsanger" />
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
483 <output name="output" file="2.stdout.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
484 </test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
485 <!--# -i flag with index-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
486 <!--test_cmd($opts, out=>'bam2fq/2.stdout.expected', out_map=>{'1.fq' => 'bam2fq/8.1.fq.expected', '2.fq' => 'bam2fq/8.2.fq.expected', 's.fq' => 'bam2fq/8.s.fq.expected', 'i.fq' => 'bam2fq/8.i.fq.expected'}, cmd=>"$$opts{bin}/samtools fastq @$threads \-\-barcode-tag BC -i \-\-index-format 'n2i2' \-\-i1 $$opts{path}/i.fq -s $$opts{path}/s.fq -1 $$opts{path}/1.fq -2 $$opts{path}/2.fq $$opts{path}/dat/bam2fq.004.sam");-->
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
487 <test>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
488 <param name="input" value="bam2fq.004.sam" ftype="sam" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
489 <conditional name="output_fmt_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
490 <param name="output_fmt_select" value="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
491 <param name="ilumina_casava" value="-i" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
492 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
493 <param name="outputs" value="r1,r2,s,other" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
494 <conditional name="idxout_cond">
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
495 <param name="idxout_select" value="yes"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
496 <param name="write1st" value="yes"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
497 <param name="barcode_tag" value="BC"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
498 <param name="index_format" value="n2i2"/>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
499 </conditional>
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
500 <output name="forward" file="8.1.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
501 <output name="reverse" file="8.2.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
502 <output name="singletons" file="8.s.fq.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
503 <output name="output" file="2.stdout.expected" ftype="fastqsanger" />
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
504 <output name="i1" file="8.i.fq.expected" ftype="fastqsanger" />
0
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
505 </test>
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
506 </tests>
1
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
507 <help><![CDATA[
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
508 This tool uses `Samtools <http://www.htslib.org/>`_ to extract sequences from a
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
509 SAM or BAM file in FASTA or FASTQ format.
a8d69aee190e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 60257e09a1aadf54bb2f06cbe1e88db6fd835e83
iuc
parents: 0
diff changeset
510 ]]>
0
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
511 </help>
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
512 <expand macro="citations" />
a0d039fa9771 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_fastx commit 9291a5cc3e04c19cefb28b1431a71a619e5e85b4
iuc
parents:
diff changeset
513 </tool>