annotate macros.xml @ 16:e132e7d02a3e draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
author iuc
date Fri, 04 Dec 2020 22:05:07 +0000
parents 5ec75f5dae3c
children 7ed2edc1337f
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>
10
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
2 <!-- REMEMBER to bump the version of rna_star_index_builder_data_manager
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
3 whenever you make changes to the following two version tokens!
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
b9e04854e2bb "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents: 13
diff changeset
5 the index versions in sync, but you should manually adjust the +galaxy
b9e04854e2bb "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents: 13
diff changeset
6 version number. -->
10
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
7 <!-- STAR version to be used -->
16
e132e7d02a3e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 15
diff changeset
8 <token name="@VERSION@">2.7.6a</token>
10
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
9 <!-- 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
10 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
11 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
12 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
13 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
14 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
15 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
16 <token name="@IDX_VERSION@">2.7.4a</token>
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_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
18
3
318b2a9d54dd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff changeset
19 <xml name="requirements">
318b2a9d54dd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff changeset
20 <requirements>
10
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
21 <requirement type="package" version="@VERSION@">star</requirement>
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
22 <requirement type="package" version="1.9">samtools</requirement>
14
b9e04854e2bb "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents: 13
diff changeset
23 <yield />
3
318b2a9d54dd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff changeset
24 </requirements>
318b2a9d54dd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff changeset
25 </xml>
10
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
26
16
e132e7d02a3e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 15
diff changeset
27 <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
28 <edam_topics>
e132e7d02a3e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 15
diff changeset
29 <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
30 <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
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_operations>
e132e7d02a3e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 15
diff changeset
33 <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
34 </edam_operations>
e132e7d02a3e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 15
diff changeset
35 </xml>
e132e7d02a3e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 15
diff changeset
36
11
41929aa1e7f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 2911002ccd79fe062f6346ee5699ea262f92f04f"
iuc
parents: 10
diff changeset
37 <xml name="index_selection" token_with_gene_model="0">
10
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
38 <param argument="--genomeDir" name="genomeDir" type="select"
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
39 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
40 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
41 <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
42 <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
43 <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
44 <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
45 <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
46 </options>
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
47 </param>
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
48 </xml>
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
49
3
318b2a9d54dd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff changeset
50 <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
51 --readFilesCommand zcat
318b2a9d54dd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff changeset
52 </token>
318b2a9d54dd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff changeset
53 <xml name="citations">
318b2a9d54dd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff changeset
54 <citations>
318b2a9d54dd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff changeset
55 <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
56 </citations>
318b2a9d54dd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff changeset
57 </xml>
10
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
58 <xml name="@SJDBOPTIONS@" token_optional="true">
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
59 <param argument="--sjdbGTFfile" type="data" format="gff3,gtf" label="Gene model (gff3,gtf) file for splice junctions" optional="@OPTIONAL@" help="Exon junction information for mapping splices"/>
3
318b2a9d54dd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff changeset
60 <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
61 </xml>
8
d5659efd66aa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit be695260aa6fe507c80f932ea9b2e63b2662d167
iuc
parents: 7
diff changeset
62 <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
63 <actions>
d5659efd66aa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit be695260aa6fe507c80f932ea9b2e63b2662d167
iuc
parents: 7
diff changeset
64 <conditional name="refGenomeSource.geneSource">
d5659efd66aa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit be695260aa6fe507c80f932ea9b2e63b2662d167
iuc
parents: 7
diff changeset
65 <when value="indexed">
d5659efd66aa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit be695260aa6fe507c80f932ea9b2e63b2662d167
iuc
parents: 7
diff changeset
66 <action type="metadata" name="dbkey">
15
5ec75f5dae3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 14
diff changeset
67 <option type="from_data_table" name="@IDX_DATA_TABLE@" column="1" offset="0">
8
d5659efd66aa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit be695260aa6fe507c80f932ea9b2e63b2662d167
iuc
parents: 7
diff changeset
68 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/>
d5659efd66aa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit be695260aa6fe507c80f932ea9b2e63b2662d167
iuc
parents: 7
diff changeset
69 <filter type="param_value" ref="refGenomeSource.GTFconditional.genomeDir" column="0"/>
d5659efd66aa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit be695260aa6fe507c80f932ea9b2e63b2662d167
iuc
parents: 7
diff changeset
70 </option>
d5659efd66aa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit be695260aa6fe507c80f932ea9b2e63b2662d167
iuc
parents: 7
diff changeset
71 </action>
d5659efd66aa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit be695260aa6fe507c80f932ea9b2e63b2662d167
iuc
parents: 7
diff changeset
72 </when>
d5659efd66aa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit be695260aa6fe507c80f932ea9b2e63b2662d167
iuc
parents: 7
diff changeset
73 <when value="history">
d5659efd66aa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit be695260aa6fe507c80f932ea9b2e63b2662d167
iuc
parents: 7
diff changeset
74 <action type="metadata" name="dbkey">
d5659efd66aa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit be695260aa6fe507c80f932ea9b2e63b2662d167
iuc
parents: 7
diff changeset
75 <option type="from_param" name="refGenomeSource.genomeFastaFiles" param_attribute="dbkey" />
d5659efd66aa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit be695260aa6fe507c80f932ea9b2e63b2662d167
iuc
parents: 7
diff changeset
76 </action>
d5659efd66aa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit be695260aa6fe507c80f932ea9b2e63b2662d167
iuc
parents: 7
diff changeset
77 </when>
d5659efd66aa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit be695260aa6fe507c80f932ea9b2e63b2662d167
iuc
parents: 7
diff changeset
78 </conditional>
d5659efd66aa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit be695260aa6fe507c80f932ea9b2e63b2662d167
iuc
parents: 7
diff changeset
79 </actions>
d5659efd66aa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit be695260aa6fe507c80f932ea9b2e63b2662d167
iuc
parents: 7
diff changeset
80 </xml>
10
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
81 <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
82 ## 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
83 #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
84 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
85 STAR
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
86 --runMode genomeGenerate
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
87 --genomeDir 'tempstargenomedir'
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
88 --genomeFastaFiles '${refGenomeSource.genomeFastaFiles}'
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
89 ## 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
90 #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
91 ## 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
92 #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
93 --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
94 --sjdbGTFfile '${refGenomeSource.GTFconditional.sjdbGTFfile}'
5ec75f5dae3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 14
diff changeset
95 #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
96 --sjdbGTFtagExonParentTranscript Parent
5ec75f5dae3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 14
diff changeset
97 #end if
5ec75f5dae3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 14
diff changeset
98 #end if
5ec75f5dae3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 14
diff changeset
99 #else:
5ec75f5dae3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 14
diff changeset
100 ## ref genome selection is less complex for STARsolo cause
5ec75f5dae3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 14
diff changeset
101 ## 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
102 --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
103 --sjdbGTFfile '${refGenomeSource.sjdbGTFfile}'
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.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
105 --sjdbGTFtagExonParentTranscript Parent
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
106 #end if
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
107 #end if
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
108 #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
109 --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
110 #end if
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
111 --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
112 &&
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
113 #end if
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
114 ]]></token>
12
39bde80cd248 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ce3f681beac515bc20661e790c2b326077f853ba"
iuc
parents: 11
diff changeset
115 <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
116 --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
117 --genomeLoad NoSharedMemory
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
118 --genomeDir
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
119 #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
120 tempstargenomedir
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
121 #else:
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
122 '${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
123 ## Handle difference between indices with/without annotations
12
39bde80cd248 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ce3f681beac515bc20661e790c2b326077f853ba"
iuc
parents: 11
diff changeset
124 #if str($refGenomeSource.GTFconditional.GTFselect) == 'without-gtf':
10
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
125 #if $refGenomeSource.GTFconditional.sjdbGTFfile:
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
126 --sjdbOverhang $refGenomeSource.GTFconditional.sjdbOverhang
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
127 --sjdbGTFfile '${refGenomeSource.GTFconditional.sjdbGTFfile}'
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
128 #if str($refGenomeSource.GTFconditional.sjdbGTFfile.ext) == 'gff3':
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
129 --sjdbGTFtagExonParentTranscript Parent
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
130 #end if
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
131 #end if
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
132 #end if
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
133 #end if
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
134 ]]></token>
15
5ec75f5dae3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 14
diff changeset
135 <xml name="ref_selection">
5ec75f5dae3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 14
diff changeset
136 <param argument="--genomeFastaFiles" type="data" format="fasta" label="Select a reference genome" />
5ec75f5dae3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 14
diff changeset
137 <!-- Currently, this parameter is not exposed in the wrapper,
5ec75f5dae3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 14
diff changeset
138 but used only in the tests to avoid excessive index sizes for
5ec75f5dae3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 14
diff changeset
139 the tiny test genomes. -->
5ec75f5dae3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 14
diff changeset
140 <param name="genomeSAindexNbases" type="hidden" value="" />
5ec75f5dae3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 14
diff changeset
141 </xml>
10
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
142 <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
143 <stdio>
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
144 <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
145 <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
146 <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
147 <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
148 <yield />
10
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
149 </stdio>
d82339e37e8e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents: 8
diff changeset
150 </xml>
3
318b2a9d54dd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff changeset
151 </macros>