annotate macros.xml @ 14:1cd2511a396e draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
author iuc
date Wed, 22 Feb 2023 18:01:29 +0000
parents 9ee34ba73ebf
children b8f5f6e87f5c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
1 <macros>
13
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
2 <!-- REMEMBER to bump the version of @IDX_VERSION_SUFFIX@
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
3 whenever you make changes to the @TOOL_VERSION@ token!
6
178bdbdb6d24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents: 3
diff changeset
4 The data manager uses a symlink to this macro file to keep the STAR and
13
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
5 the index versions in sync, but you should manually update @IDX_VERSION_SUFFIX@ -->
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
6 <!-- STAR version to be used -->
13
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
7 <token name="@TOOL_VERSION@">2.7.10b</token>
14
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
8 <token name="@VERSION_SUFFIX@">1</token>
13
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
9 <token name="@PROFILE@">21.01</token>
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
10 <!-- STAR index version compatible with this version of STAR
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
11 This is the STAR version that introduced the index structure expected
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
12 by the current version.
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
13 It can be found for any specific version of STAR with:
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
14 STAR -h | grep versionGenome
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
15 or by looking for the versionGenome parameter in source/parametersDefault
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
16 of STAR's source code -->
7
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
17 <token name="@IDX_VERSION@">2.7.4a</token>
13
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
18 <token name="@IDX_VERSION_SUFFIX@">1</token>
7
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
19 <token name="@IDX_DATA_TABLE@">rnastar_index2x_versioned</token>
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
20
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
21 <xml name="requirements">
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
22 <requirements>
13
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
23 <requirement type="package" version="@TOOL_VERSION@">star</requirement>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
24 <requirement type="package" version="1.16.1">samtools</requirement>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
25 <requirement type="package" version="1.12">gzip</requirement>
6
178bdbdb6d24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents: 3
diff changeset
26 <yield />
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
27 </requirements>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
28 </xml>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
29
8
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
30 <xml name="edam">
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
31 <edam_topics>
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
32 <edam_topic>topic_3170</edam_topic>
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
33 <edam_topic>topic_3308</edam_topic>
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
34 </edam_topics>
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
35 <edam_operations>
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
36 <edam_operation>operation_0292</edam_operation>
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
37 </edam_operations>
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
38 </xml>
9
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
39
1
e613048778d9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 2911002ccd79fe062f6346ee5699ea262f92f04f"
iuc
parents: 0
diff changeset
40 <xml name="index_selection" token_with_gene_model="0">
13
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
41 <param argument="--genomeDir" type="select"
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
42 label="Select reference genome"
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
43 help="If your genome of interest is not listed, contact the Galaxy team">
7
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
44 <options from_data_table="@IDX_DATA_TABLE@">
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
45 <filter type="static_value" column="4" value="@WITH_GENE_MODEL@" />
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
46 <filter type="static_value" column="5" value="@IDX_VERSION@" />
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
47 <filter type="sort_by" column="2" />
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
48 <validator type="no_options" message="No indexes are available for the selected input dataset" />
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
49 </options>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
50 </param>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
51 </xml>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
52
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
53 <token name="@FASTQ_GZ_OPTION@">
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
54 --readFilesCommand zcat
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
55 </token>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
56 <xml name="citations">
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
57 <citations>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
58 <citation type="doi">10.1093/bioinformatics/bts635</citation>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
59 </citations>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
60 </xml>
13
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
61 <xml name="SJDBOPTIONS">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
62 <param argument="--sjdbGTFfile" type="data" format="gff3,gtf" label="Gene model (gff3,gtf) file for splice junctions" optional="false" help="Exon junction information for mapping splices"/>
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
63 <param argument="--sjdbOverhang" type="integer" min="1" value="100" label="Length of the genomic sequence around annotated junctions" help="Used in constructing the splice junctions database. Ideal value is ReadLength-1"/>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
64 </xml>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
65 <xml name="dbKeyActions">
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
66 <actions>
14
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
67 <expand macro="dbKeyAction"/>
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
68 </actions>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
69 </xml>
14
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
70 <xml name="dbKeyAction">
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
71 <conditional name="refGenomeSource.geneSource">
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
72 <when value="indexed">
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
73 <action type="metadata" name="dbkey">
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
74 <option type="from_data_table" name="@IDX_DATA_TABLE@" column="1" offset="0">
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
75 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/>
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
76 <filter type="param_value" ref="refGenomeSource.GTFconditional.genomeDir" column="0"/>
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
77 </option>
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
78 </action>
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
79 </when>
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
80 <when value="history">
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
81 <action type="metadata" name="dbkey">
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
82 <option type="from_param" name="refGenomeSource.genomeFastaFiles" param_attribute="dbkey" />
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
83 </action>
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
84 </when>
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
85 </conditional>
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
86 </xml>
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
87 <token name="@TEMPINDEX@"><![CDATA[
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
88 ## Create temporary index for custom reference
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
89 #if str($refGenomeSource.geneSource) == 'history':
13
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
90 #if $refGenomeSource.genomeFastaFiles.ext == "fasta"
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
91 ln -s '$refGenomeSource.genomeFastaFiles' refgenome.fa &&
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
92 #else
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
93 gunzip -c '$refGenomeSource.genomeFastaFiles' > refgenome.fa &&
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
94 #end if
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
95 mkdir -p tempstargenomedir &&
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
96 STAR
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
97 --runMode genomeGenerate
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
98 --genomeDir 'tempstargenomedir'
13
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
99 --genomeFastaFiles refgenome.fa
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
100 ## Handle difference between indices with/without annotations
7
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
101 #if 'GTFconditional' in $refGenomeSource:
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
102 ## GTFconditional exists only in STAR, but not STARsolo
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
103 #if str($refGenomeSource.GTFconditional.GTFselect) == 'with-gtf':
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
104 --sjdbOverhang '${refGenomeSource.GTFconditional.sjdbOverhang}'
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
105 --sjdbGTFfile '${refGenomeSource.GTFconditional.sjdbGTFfile}'
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
106 #if str($refGenomeSource.GTFconditional.sjdbGTFfile.ext) == 'gff3':
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
107 --sjdbGTFtagExonParentTranscript Parent
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
108 #end if
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
109 #end if
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
110 #else:
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
111 ## ref genome selection is less complex for STARsolo cause
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
112 ## with-gtf is mandatory there
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
113 --sjdbOverhang '${refGenomeSource.sjdbOverhang}'
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
114 --sjdbGTFfile '${refGenomeSource.sjdbGTFfile}'
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
115 #if str($refGenomeSource.sjdbGTFfile.ext) == 'gff3':
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
116 --sjdbGTFtagExonParentTranscript Parent
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
117 #end if
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
118 #end if
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
119 #if str($refGenomeSource.genomeSAindexNbases):
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
120 --genomeSAindexNbases ${refGenomeSource.genomeSAindexNbases}
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
121 #end if
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
122 --runThreadN \${GALAXY_SLOTS:-4}
13
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
123 ## in bytes
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
124 --limitGenomeGenerateRAM \$((\${GALAXY_MEMORY_MB:-31000} * 1000000))
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
125 &&
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
126 #end if
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
127 ]]></token>
2
3a1253ee137b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ce3f681beac515bc20661e790c2b326077f853ba"
iuc
parents: 1
diff changeset
128 <token name="@REFGENOMEHANDLING@" ><![CDATA[
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
129 --runThreadN \${GALAXY_SLOTS:-4}
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
130 --genomeLoad NoSharedMemory
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
131 --genomeDir
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
132 #if str($refGenomeSource.geneSource) == 'history':
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
133 tempstargenomedir
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
134 #else:
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
135 '${refGenomeSource.GTFconditional.genomeDir.fields.path}'
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
136 ## Handle difference between indices with/without annotations
13
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
137 #if str($refGenomeSource.GTFconditional.GTFselect) == 'without-gtf-with-gtf':
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
138 --sjdbOverhang $refGenomeSource.GTFconditional.sjdbOverhang
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
139 --sjdbGTFfile '${refGenomeSource.GTFconditional.sjdbGTFfile}'
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
140 #if str($refGenomeSource.GTFconditional.sjdbGTFfile.ext) == 'gff3':
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
141 --sjdbGTFtagExonParentTranscript Parent
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
142 #end if
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
143 #end if
13
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
144 #end if
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
145 ]]></token>
9
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
146 <token name="@READSHANDLING@" ><![CDATA[
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
147 ## Check that the input pairs are of the same type
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
148 ## otherwise STARsolo will run for a long time and then error out.
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
149 ## We consume either repeats of two inputs R1 + R2
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
150 ## or a collection of paired reads.
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
151 #if str($sc.input_types.use) == "repeat":
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
152 #set $reads1 = []
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
153 #set $reads2 = []
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
154 #for $r1, $r2 in zip($sc.input_types.input1, $sc.input_types.input2):
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
155 #assert $r1.datatype == $r2.datatype
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
156 #silent $reads1.append(str($r1))
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
157 #silent $reads2.append(str($r2))
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
158 #end for
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
159 #set $reads1 = ','.join($reads1)
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
160 #set $reads2 = ','.join($reads2)
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
161 #elif str($sc.input_types.use) == "list_paired":
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
162 #set $r1 = $sc.input_types.input_collection.forward
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
163 #set $r2 = $sc.input_types.input_collection.reverse
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
164 #set $reads1 = $r1
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
165 #set $reads2 = $r2
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
166 #end if
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
167 ## cDNA sequence(s) [R2] always go first, then barcode(s) [R1]
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
168 ## see: Section 3.2 of STAR manual for multiple inputs, and Section 13 for STARsolo inputs
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
169 --readFilesIn $reads2 $reads1
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
170 --soloCBmatchWLtype $sc.soloCBmatchWLtype
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
171 #if $r1.is_of_type('fastq.gz', 'fastqsanger.gz'):
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
172 @FASTQ_GZ_OPTION@
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
173 #end if
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
174 ]]></token>
13
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
175 <token name="@LIMITS@" ><![CDATA[
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
176 --limitOutSJoneRead $getVar('algo.params.junction_limits.limitOutSJoneRead', $getVar('solo.junction_limits.limitOutSJoneRead', 1000))
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
177 --limitOutSJcollapsed $getVar('algo.params.junction_limits.limitOutSJcollapsed', $getVar('solo.junction_limits.limitOutSJcollapsed', 1000000))
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
178 --limitSjdbInsertNsj $getVar('algo.params.junction_limits.limitSjdbInsertNsj', $getVar('solo.junction_limits.limitSjdbInsertNsj', 1000000))
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
179 ]]></token>
7
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
180 <xml name="ref_selection">
13
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
181 <param argument="--genomeFastaFiles" type="data" format="fasta,fasta.gz" label="Select a reference genome" />
10
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
182 <param argument="--genomeSAindexNbases" type="integer" min="2" max="16" value="14" label="Length of the SA pre-indexing string" help="Typically between 10 and 15. Longer strings will use much more memory, but allow faster searches. For small genomes, the parameter --genomeSAindexNbases must be scaled down to min(14, log2(GenomeLength)/2 - 1)"/>
7
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
183 </xml>
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
184 <xml name="stdio" >
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
185 <stdio>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
186 <regex match="FATAL error" source="both" level="fatal"/>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
187 <regex match="EXITING: FATAL INPUT ERROR:" source="both" level="fatal"/>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
188 <regex match="EXITING: fatal error trying to allocate genome arrays, exception thrown: std::bad_alloc" source="both" level="fatal"/>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
189 <regex match="\[sam_read1\] missing header\? Abort!" source="both" level="fatal"/>
2
3a1253ee137b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ce3f681beac515bc20661e790c2b326077f853ba"
iuc
parents: 1
diff changeset
190 <yield />
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
191 </stdio>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
192 </xml>
9
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
193 <xml name="input_selection">
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
194 <conditional name="input_types" >
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
195 <param name="use" type="select" label="Input Type" >
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
196 <option value="repeat" >Separate barcode and cDNA reads</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
197 <option value="list_paired" >Paired collection of barcode and cDNA reads</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
198 </param>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
199 <when value="repeat">
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
200 <param format="fastq,fasta,fastq.gz,fastqsanger.gz" name="input1" type="data" multiple="true"
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
201 label="RNA-Seq FASTQ/FASTA file, Barcode reads" />
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
202 <param format="fastq,fasta,fastq.gz,fastqsanger.gz" name="input2" type="data" multiple="true"
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
203 label="RNA-Seq FASTQ/FASTA file, cDNA reads"/>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
204 </when>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
205 <when value="list_paired">
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
206 <param name="input_collection" collection_type="paired" type="data_collection" format="fastq,fasta,fastq.gz,fastqsanger.gz" label="Collection of Pairs" />
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
207 </when>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
208 </conditional>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
209 </xml>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
210 <xml name="input_selection_smart_seq">
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
211 <conditional name="input_types_smart_seq" >
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
212 <param name="use" type="select" label="Input Type" >
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
213 <option value="list_single_end" >Single-end FASTQ collection</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
214 <option value="list_paired_end" >Paired FASTQ collection</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
215 </param>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
216 <when value="list_single_end">
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
217 <param name="single_end_collection" collection_type="list" type="data_collection" format="fastq,fasta,fastq.gz,fastqsanger.gz" label="List of single-end FASTQ files" />
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
218 </when>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
219 <when value="list_paired_end">
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
220 <param name="paired_end_collection" collection_type="list:paired" type="data_collection" format="fastq,fasta,fastq.gz,fastqsanger.gz" label="List of paired-end FASTQ files" />
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
221 </when>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
222 </conditional>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
223 </xml>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
224 <xml name="umidedup_options">
14
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
225 <option value="1MM_All" selected="true">Collapse all UMIs with 1 mismatch distance to each other (1MM_All)</option>
10
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
226 <option value="1MM_Directional_UMItools" >Directional method from the UMI-tool</option>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
227 <option value="1MM_Directional" >Directional with stringent UMI deduplication</option>
9
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
228 </xml>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
229 <xml name="anchor_types">
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
230 <option value="0">Read start</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
231 <option value="1">Read end</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
232 <option value="2">Adapter start</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
233 <option value="3">Adapter end</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
234 </xml>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
235 <xml name="cb_match_wl_common">
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
236 <option value="Exact" >Exact</option>
14
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
237 <option value="1MM" >Single match (1MM)</option>
9
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
238 </xml>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
239 <xml name="cb_match_wl_cellranger">
14
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
240 <option value="1MM_multi" selected="true" >Multiple matches (CellRanger 2, 1MM_multi)</option>
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
241 <option value="1MM_multi_pseudocounts" >Multiple matches (CellRanger 3, 1MM_multi_pseudocounts)</option>
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
242 <option value="1MM_multi_Nbase_pseudocounts" >Multimatching to WL is allowed for CBs with N-bases (CellRanger 3, 1MM_multi_Nbase_pseudocounts)</option>
10
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
243 </xml>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
244 <xml name="solo_adapter_params">
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
245 <param argument="--soloAdapterSequence" type="text" value="-" label="Adapter sequence to anchor barcodes." >
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
246 <sanitizer>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
247 <valid initial="string.digits">
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
248 <add value="-"/>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
249 <add value="A"/>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
250 <add value="T"/>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
251 <add value="C"/>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
252 <add value="G"/>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
253 <add value="N"/>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
254 </valid>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
255 </sanitizer>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
256 </param>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
257 <param argument="--soloAdapterMismatchesNmax" type="integer" min="1" value="1" label="Maximum number of mismatches allowed in adapter sequence" />
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
258 <param argument="--clipAdapterType" type="select" >
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
259 <option value="Hamming" selected="true" >Adapter clipping based on Hamming distance</option>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
260 <option value="CellRanger4" >5p and 3p adapter clipping similar to CellRanger4</option>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
261 <option value="None" >No adapter clipping</option>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
262 </param>
9
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
263 </xml>
13
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
264 <xml name="common_SAM_attributes">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
265 <option value="NH" selected="true">NH (number of reported alignments/hits for the read)</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
266 <option value="HI" selected="true">HI (query hit index)</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
267 <option value="AS" selected="true">AS (local alignment score)</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
268 <option value="nM" selected="true">nM (number of mismatches per (paired) alignment)</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
269 <option value="NM">NM (edit distance of the aligned read to the reference)</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
270 <option value="MD">MD (string for mismatching positions)</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
271 <option value="jM">jM (intron motifs for all junctions)</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
272 <option value="jI">jI (1-based start and end of introns for all junctions)</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
273 </xml>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
274 <xml name="limits">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
275 <section name="junction_limits" title="Junction Limits" expanded="false">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
276 <param argument="--limitOutSJoneRead" type="integer" min="1" value="1000" label="Maximum number of junctions for one read (including all multimappers)" />
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
277 <param argument="--limitOutSJcollapsed" type="integer" min="1" value="1000000" label="Maximum number of collapsed junctions" />
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
278 <param argument="--limitSjdbInsertNsj" type="integer" min="0" value="1000000" label="Maximum number of inserts to be inserted into the genome on the fly." />
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
279 </section>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
280 </xml>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
281 <xml name="outCountActions">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
282 <actions>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
283 <action name="column_names" type="metadata" default="GeneID,Counts_unstrand,Counts_firstStrand,Counts_secondStrand" />
14
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
284 <expand macro="dbKeyAction"/>
13
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
285 </actions>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
286 </xml>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
287 <xml name="outWig">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
288 <conditional name="outWig">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
289 <param name="outWigType" type="select" label="Compute coverage">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
290 <option value="None">No coverage</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
291 <option value="bedGraph">Yes in bedgraph format</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
292 <option value="wiggle">Yes in wiggle format</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
293 </param>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
294 <when value="None">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
295 <!-- This is necessary for the filtering of output -->
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
296 <param name="outWigStrand" type="hidden" value="false" />
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
297 </when>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
298 <when value="bedGraph">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
299 <expand macro="outWigParams"/>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
300 </when>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
301 <when value="wiggle">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
302 <expand macro="outWigParams"/>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
303 </when>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
304 </conditional>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
305 </xml>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
306 <xml name="outWigParams">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
307 <param name="outWigTypeSecondWord" type="select" label="Input for coverage">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
308 <option value="">Default (everything that mapped)</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
309 <option value="read_5p">signal from only 5’ of the 1st read</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
310 <option value="read2">signal from only 2nd read</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
311 </param>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
312 <param argument="--outWigStrand" type="boolean" truevalue="Stranded" falsevalue="Unstranded" checked="true" label="collapse strands (unstranded coverage)" help="By default, the strands are separated."/>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
313 <param argument="--outWigReferencesPrefix" type="text" value="-" label="prefix matching reference name" help="For example, set 'chr' if you mapped on an ensembl genome but you want to display on UCSC"/>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
314 <param argument="--outWigNorm" type="boolean" truevalue="RPM" falsevalue="None" checked="true" label="Normalize coverage to million of mapped reads (RPM)"/>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
315 </xml>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
316 <token name="@OUTWIG@"><![CDATA[
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
317 #if str($outWig.outWigType) != 'None':
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
318 --outWigType '$outWig.outWigType' '$outWig.outWigTypeSecondWord'
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
319 --outWigStrand '$outWig.outWigStrand'
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
320 --outWigReferencesPrefix '$outWig.outWigReferencesPrefix'
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
321 --outWigNorm '$outWig.outWigNorm'
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
322 #end if
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
323 ]]></token>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
324 <token name="@OUTWIGOUTPUTS@"><![CDATA[
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
325 #if str($outWig.outWigType) == "bedGraph":
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
326 && mv Signal.Unique.str1.out.bg Signal.Unique.str1.out
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
327 && mv Signal.UniqueMultiple.str1.out.bg Signal.UniqueMultiple.str1.out
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
328 #if str($outWig.outWigStrand) == "Stranded":
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
329 && mv Signal.Unique.str2.out.bg Signal.Unique.str2.out
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
330 && mv Signal.UniqueMultiple.str2.out.bg Signal.UniqueMultiple.str2.out
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
331 #end if
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
332 #elif str($outWig.outWigType) == "wiggle":
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
333 && mv Signal.Unique.str1.out.wig Signal.Unique.str1.out
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
334 && mv Signal.UniqueMultiple.str1.out.wig Signal.UniqueMultiple.str1.out
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
335 #if str($outWig.outWigStrand) == "Stranded":
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
336 && mv Signal.Unique.str2.out.wig Signal.Unique.str2.out
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
337 && mv Signal.UniqueMultiple.str2.out.wig Signal.UniqueMultiple.str2.out
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
338 #end if
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
339 #end if
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
340 ]]></token>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
341 <xml name="outWigOutputs">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
342 <data format="bedgraph" name="signal_unique_str1" label="${tool.name} on ${on_string}: Coverage Uniquely mapped strand 1" from_work_dir="Signal.Unique.str1.out">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
343 <filter>outWig['outWigType'] != "None"</filter>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
344 <expand macro="dbKeyActions" />
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
345 <change_format>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
346 <when input="outWig.outWigType" value="wiggle" format="wig" />
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
347 </change_format>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
348 </data>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
349 <data format="bedgraph" name="signal_uniquemultiple_str1" label="${tool.name} on ${on_string}: Coverage Uniquely + Multiple mapped strand 1" from_work_dir="Signal.UniqueMultiple.str1.out">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
350 <filter>outWig['outWigType'] != "None"</filter>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
351 <expand macro="dbKeyActions" />
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
352 <change_format>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
353 <when input="outWig.outWigType" value="wiggle" format="wig" />
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
354 </change_format>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
355 </data>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
356 <data format="bedgraph" name="signal_unique_str2" label="${tool.name} on ${on_string}: Coverage Uniquely mapped strand 2" from_work_dir="Signal.Unique.str2.out">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
357 <filter>outWig['outWigType'] != "None" and outWig['outWigStrand']</filter>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
358 <expand macro="dbKeyActions" />
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
359 <change_format>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
360 <when input="outWig.outWigType" value="wiggle" format="wig" />
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
361 </change_format>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
362 </data>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
363 <data format="bedgraph" name="signal_uniquemultiple_str2" label="${tool.name} on ${on_string}: Coverage Uniquely + Multiple mapped strand 2" from_work_dir="Signal.UniqueMultiple.str2.out">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
364 <filter>outWig['outWigType'] != "None" and outWig['outWigStrand']</filter>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
365 <expand macro="dbKeyActions" />
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
366 <change_format>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
367 <when input="outWig.outWigType" value="wiggle" format="wig" />
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
368 </change_format>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
369 </data>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
370 </xml>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
371 <xml name="quantMode">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
372 <conditional name="quantmode_output">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
373 <param argument="--quantMode" type="select"
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
374 label="Per gene/transcript output"
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
375 help="STAR can provide analysis results not only with respect to the reference genome, but also with respect to genes and transcripts described by a gene model. Note: This functionality requires either the selection above of a cached index with a gene model, or a gene model provided alongside the index/reference genome in GTF or GFF3 format!">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
376 <option value="-">No per gene or transcript output</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
377 <option value="GeneCounts">Per gene read counts (GeneCounts)</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
378 <option value="TranscriptomeSAM">Transcript-based BAM output (TranscriptomeSAM)</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
379 <option value="TranscriptomeSAM GeneCounts">Both per gene read counts and transcript-based BAM output (TranscriptomeSAM GeneCounts)</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
380 </param>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
381 <when value="-" />
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
382 <when value="GeneCounts" />
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
383 <when value="TranscriptomeSAM">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
384 <param argument="--quantTranscriptomeBan" type="boolean" truevalue="IndelSoftclipSingleend" falsevalue="Singleend"
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
385 label="Exclude alignments with indels or soft clipping from the transcriptome BAM output?"
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
386 help="You will need to exclude alignments with indels and soft-clipped bases from the transcriptome BAM output for compatibility with certain transcript quantification tools, most notably RSEM. If you are using a tool, like eXpress, that can deal with indels and soft-clipped bases, you can achieve better results by leaving this option disabled." />
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
387 </when>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
388 <when value="TranscriptomeSAM GeneCounts">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
389 <param argument="--quantTranscriptomeBan" type="boolean" truevalue="IndelSoftclipSingleend" falsevalue="Singleend"
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
390 label="Exclude alignments with indels or soft clipping from the transcriptome BAM output?"
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
391 help="You will need to exclude alignments with indels and soft-clipped bases from the transcriptome BAM output for compatibility with certain transcript quantification tools, most notably RSEM. If you are using a tool, like eXpress, that can deal with indels and soft-clipped bases, you can achieve better results by leaving this option disabled." />
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
392 </when>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
393 </conditional>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
394 </xml>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
395 <xml name="quantModeNoGTF">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
396 <conditional name="quantmode_output">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
397 <param argument="--quantMode" type="select"
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
398 label="Per gene/transcript output">
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
399 <option value="-">No per gene or transcript output as no GTF was provided</option>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
400 </param>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
401 <when value="-" />
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
402 </conditional>
9ee34ba73ebf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ae6b59a8e52fd34e2347d1fd8d34129c36779266
iuc
parents: 10
diff changeset
403 </xml>
14
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
404 <xml name="outSAMmapqUnique">
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
405 <!-- MAPQ 255 is the default in STAR (coming from tophat behaviour and compatibility for Cufflinks) but it is a problematic value
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
406 - according to SAM/BAM specs it means "undefined".
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
407 - Using 255 as the max mapq causes problem with modern downstream tools like mutect2: https://sites.duke.edu/workblog/2021/08/18/star-rnaseq-gatk-mutect2/ and 60 has become an inofficial replacement for 255. -->
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
408 <param argument="--outSAMmapqUnique" type="integer" value="60" min="0" max="255"
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
409 label="MAPQ value for unique mappers"
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
410 help="STAR bases the mapping quality scores of alignment records in its BAM output on the number of alternative mappings for the read. If a read maps to multiple locations on the reference genome, the following MAPQ scoring scheme is
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
411 used: >=5 mappings => MAPQ=0; 3-4 mappings => MAPQ=1; 2 mappings => MAPQ=3. This setting lets you control the MAPQ used for reads mapped to a single location. Set to 255 for compatibility with Cufflink (default in STAR) but keep to 60 for modern downstream tools like mutect2." />
1cd2511a396e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 904cd12820a09a8e7ce7d01c64fa22f1ed93ed17
iuc
parents: 13
diff changeset
412 </xml>
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
413 </macros>