annotate macros.xml @ 27:79de45b5069b draft

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