annotate macros.xml @ 11:eec9494fdafa draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 1f8b01701c5b81d155617267a179ba42a0d4a307"
author iuc
date Fri, 10 Sep 2021 16:46:15 +0000
parents a6fba3d92531
children 9ee34ba73ebf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
1 <macros>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
2 <!-- REMEMBER to bump the version of rna_star_index_builder_data_manager
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
3 whenever you make changes to the following two version tokens!
6
178bdbdb6d24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents: 3
diff changeset
4 The data manager uses a symlink to this macro file to keep the STAR and
178bdbdb6d24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents: 3
diff changeset
5 the index versions in sync, but you should manually adjust the +galaxy
178bdbdb6d24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents: 3
diff changeset
6 version number. -->
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
7 <!-- STAR version to be used -->
10
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
8 <token name="@VERSION@">2.7.8a</token>
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
9 <!-- STAR index version compatible with this version of STAR
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
10 This is the STAR version that introduced the index structure expected
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
11 by the current version.
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
12 It can be found for any specific version of STAR with:
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
13 STAR -h | grep versionGenome
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
14 or by looking for the versionGenome parameter in source/parametersDefault
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
15 of STAR's source code -->
7
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
16 <token name="@IDX_VERSION@">2.7.4a</token>
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
17 <token name="@IDX_DATA_TABLE@">rnastar_index2x_versioned</token>
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
18
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
19 <xml name="requirements">
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
20 <requirements>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
21 <requirement type="package" version="@VERSION@">star</requirement>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
22 <requirement type="package" version="1.9">samtools</requirement>
6
178bdbdb6d24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents: 3
diff changeset
23 <yield />
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
24 </requirements>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
25 </xml>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
26
8
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
27 <xml name="edam">
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
28 <edam_topics>
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
29 <edam_topic>topic_3170</edam_topic>
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
30 <edam_topic>topic_3308</edam_topic>
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
31 </edam_topics>
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
32 <edam_operations>
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
33 <edam_operation>operation_0292</edam_operation>
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
34 </edam_operations>
00fbfac99d39 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 9c34fd08b619a09028707a52c868d9be1ca02a6b"
iuc
parents: 7
diff changeset
35 </xml>
9
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
36
1
e613048778d9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 2911002ccd79fe062f6346ee5699ea262f92f04f"
iuc
parents: 0
diff changeset
37 <xml name="index_selection" token_with_gene_model="0">
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
38 <param argument="--genomeDir" name="genomeDir" type="select"
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
39 label="Select reference genome"
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
40 help="If your genome of interest is not listed, contact the Galaxy team">
7
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
41 <options from_data_table="@IDX_DATA_TABLE@">
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
42 <filter type="static_value" column="4" value="@WITH_GENE_MODEL@" />
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
43 <filter type="static_value" column="5" value="@IDX_VERSION@" />
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
44 <filter type="sort_by" column="2" />
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
45 <validator type="no_options" message="No indexes are available for the selected input dataset" />
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
46 </options>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
47 </param>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
48 </xml>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
49
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
50 <token name="@FASTQ_GZ_OPTION@">
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
51 --readFilesCommand zcat
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
52 </token>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
53 <xml name="citations">
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
54 <citations>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
55 <citation type="doi">10.1093/bioinformatics/bts635</citation>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
56 </citations>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
57 </xml>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
58 <xml name="@SJDBOPTIONS@" token_optional="true">
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
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"/>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
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"/>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
61 </xml>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
62 <xml name="dbKeyActions">
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
63 <actions>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
64 <conditional name="refGenomeSource.geneSource">
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
65 <when value="indexed">
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
66 <action type="metadata" name="dbkey">
7
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
67 <option type="from_data_table" name="@IDX_DATA_TABLE@" column="1" offset="0">
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
68 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
69 <filter type="param_value" ref="refGenomeSource.GTFconditional.genomeDir" column="0"/>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
70 </option>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
71 </action>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
72 </when>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
73 <when value="history">
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
74 <action type="metadata" name="dbkey">
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
75 <option type="from_param" name="refGenomeSource.genomeFastaFiles" param_attribute="dbkey" />
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
76 </action>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
77 </when>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
78 </conditional>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
79 </actions>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
80 </xml>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
81 <token name="@TEMPINDEX@"><![CDATA[
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
82 ## Create temporary index for custom reference
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
83 #if str($refGenomeSource.geneSource) == 'history':
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
84 mkdir -p tempstargenomedir &&
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
85 STAR
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
86 --runMode genomeGenerate
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
87 --genomeDir 'tempstargenomedir'
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
88 --genomeFastaFiles '${refGenomeSource.genomeFastaFiles}'
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
89 ## Handle difference between indices with/without annotations
7
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
90 #if 'GTFconditional' in $refGenomeSource:
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
91 ## GTFconditional exists only in STAR, but not STARsolo
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
92 #if str($refGenomeSource.GTFconditional.GTFselect) == 'with-gtf':
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
93 --sjdbOverhang '${refGenomeSource.GTFconditional.sjdbOverhang}'
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
94 --sjdbGTFfile '${refGenomeSource.GTFconditional.sjdbGTFfile}'
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
95 #if str($refGenomeSource.GTFconditional.sjdbGTFfile.ext) == 'gff3':
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
96 --sjdbGTFtagExonParentTranscript Parent
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
97 #end if
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
98 #end if
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
99 #else:
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
100 ## ref genome selection is less complex for STARsolo cause
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
101 ## with-gtf is mandatory there
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
102 --sjdbOverhang '${refGenomeSource.sjdbOverhang}'
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
103 --sjdbGTFfile '${refGenomeSource.sjdbGTFfile}'
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
104 #if str($refGenomeSource.sjdbGTFfile.ext) == 'gff3':
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
105 --sjdbGTFtagExonParentTranscript Parent
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
106 #end if
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
107 #end if
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
108 #if str($refGenomeSource.genomeSAindexNbases):
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
109 --genomeSAindexNbases ${refGenomeSource.genomeSAindexNbases}
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
110 #end if
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
111 --runThreadN \${GALAXY_SLOTS:-4}
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
112 &&
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
113 #end if
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
114 ]]></token>
2
3a1253ee137b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ce3f681beac515bc20661e790c2b326077f853ba"
iuc
parents: 1
diff changeset
115 <token name="@REFGENOMEHANDLING@" ><![CDATA[
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
116 --runThreadN \${GALAXY_SLOTS:-4}
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
117 --genomeLoad NoSharedMemory
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
118 --genomeDir
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
119 #if str($refGenomeSource.geneSource) == 'history':
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
120 tempstargenomedir
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
121 #else:
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
122 '${refGenomeSource.GTFconditional.genomeDir.fields.path}'
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
123 ## Handle difference between indices with/without annotations
2
3a1253ee137b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ce3f681beac515bc20661e790c2b326077f853ba"
iuc
parents: 1
diff changeset
124 #if str($refGenomeSource.GTFconditional.GTFselect) == 'without-gtf':
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
125 #if $refGenomeSource.GTFconditional.sjdbGTFfile:
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
126 --sjdbOverhang $refGenomeSource.GTFconditional.sjdbOverhang
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
127 --sjdbGTFfile '${refGenomeSource.GTFconditional.sjdbGTFfile}'
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
128 #if str($refGenomeSource.GTFconditional.sjdbGTFfile.ext) == 'gff3':
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
129 --sjdbGTFtagExonParentTranscript Parent
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
130 #end if
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
131 #end if
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
132 #end if
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
133 #end if
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
134 ]]></token>
9
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
135 <token name="@READSHANDLING@" ><![CDATA[
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
136 ## Check that the input pairs are of the same type
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
137 ## otherwise STARsolo will run for a long time and then error out.
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
138 ## We consume either repeats of two inputs R1 + R2
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
139 ## or a collection of paired reads.
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
140 #if str($sc.input_types.use) == "repeat":
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
141 #set $reads1 = []
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
142 #set $reads2 = []
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
143 #for $r1, $r2 in zip($sc.input_types.input1, $sc.input_types.input2):
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
144 #assert $r1.datatype == $r2.datatype
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
145 #silent $reads1.append(str($r1))
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
146 #silent $reads2.append(str($r2))
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
147 #end for
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
148 #set $reads1 = ','.join($reads1)
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
149 #set $reads2 = ','.join($reads2)
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
150 #elif str($sc.input_types.use) == "list_paired":
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
151 #set $r1 = $sc.input_types.input_collection.forward
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
152 #set $r2 = $sc.input_types.input_collection.reverse
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
153 #set $reads1 = $r1
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
154 #set $reads2 = $r2
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
155 #end if
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
156 ## cDNA sequence(s) [R2] always go first, then barcode(s) [R1]
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
157 ## see: Section 3.2 of STAR manual for multiple inputs, and Section 13 for STARsolo inputs
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
158 --readFilesIn $reads2 $reads1
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
159 --soloCBmatchWLtype $sc.soloCBmatchWLtype
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
160 #if $r1.is_of_type('fastq.gz', 'fastqsanger.gz'):
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
161 @FASTQ_GZ_OPTION@
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
162 #end if
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
163 ]]></token>
7
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
164 <xml name="ref_selection">
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
165 <param argument="--genomeFastaFiles" type="data" format="fasta" label="Select a reference genome" />
10
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
166 <param argument="--genomeSAindexNbases" type="integer" min="2" max="16" value="14" label="Length of the SA pre-indexing string" help="Typically between 10 and 15. Longer strings will use much more memory, but allow faster searches. For small genomes, the parameter --genomeSAindexNbases must be scaled down to min(14, log2(GenomeLength)/2 - 1)"/>
7
e403d27e8f24 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents: 6
diff changeset
167 </xml>
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
168 <xml name="stdio" >
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
169 <stdio>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
170 <regex match="FATAL error" source="both" level="fatal"/>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
171 <regex match="EXITING: FATAL INPUT ERROR:" source="both" level="fatal"/>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
172 <regex match="EXITING: fatal error trying to allocate genome arrays, exception thrown: std::bad_alloc" source="both" level="fatal"/>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
173 <regex match="\[sam_read1\] missing header\? Abort!" source="both" level="fatal"/>
2
3a1253ee137b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ce3f681beac515bc20661e790c2b326077f853ba"
iuc
parents: 1
diff changeset
174 <yield />
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
175 </stdio>
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
176 </xml>
9
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
177 <xml name="input_selection">
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
178 <conditional name="input_types" >
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
179 <param name="use" type="select" label="Input Type" >
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
180 <option value="repeat" >Separate barcode and cDNA reads</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
181 <option value="list_paired" >Paired collection of barcode and cDNA reads</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
182 </param>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
183 <when value="repeat">
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
184 <param format="fastq,fasta,fastq.gz,fastqsanger.gz" name="input1" type="data" multiple="true"
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
185 label="RNA-Seq FASTQ/FASTA file, Barcode reads" />
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
186 <param format="fastq,fasta,fastq.gz,fastqsanger.gz" name="input2" type="data" multiple="true"
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
187 label="RNA-Seq FASTQ/FASTA file, cDNA reads"/>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
188 </when>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
189 <when value="list_paired">
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
190 <param name="input_collection" collection_type="paired" type="data_collection" format="fastq,fasta,fastq.gz,fastqsanger.gz" label="Collection of Pairs" />
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
191 </when>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
192 </conditional>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
193 </xml>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
194 <xml name="input_selection_smart_seq">
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
195 <conditional name="input_types_smart_seq" >
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
196 <param name="use" type="select" label="Input Type" >
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
197 <option value="list_single_end" >Single-end FASTQ collection</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
198 <option value="list_paired_end" >Paired FASTQ collection</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
199 </param>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
200 <when value="list_single_end">
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
201 <param name="single_end_collection" collection_type="list" type="data_collection" format="fastq,fasta,fastq.gz,fastqsanger.gz" label="List of single-end FASTQ files" />
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
202 </when>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
203 <when value="list_paired_end">
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
204 <param name="paired_end_collection" collection_type="list:paired" type="data_collection" format="fastq,fasta,fastq.gz,fastqsanger.gz" label="List of paired-end FASTQ files" />
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
205 </when>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
206 </conditional>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
207 </xml>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
208 <xml name="umidedup_options">
10
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
209 <option value="1MM_All" selected="true">Collapse all UMIs with 1 mismatch distance to each other</option>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
210 <option value="1MM_Directional_UMItools" >Directional method from the UMI-tool</option>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
211 <option value="1MM_Directional" >Directional with stringent UMI deduplication</option>
9
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
212 </xml>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
213 <xml name="anchor_types">
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
214 <option value="0">Read start</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
215 <option value="1">Read end</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
216 <option value="2">Adapter start</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
217 <option value="3">Adapter end</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
218 </xml>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
219 <xml name="cb_match_wl_common">
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
220 <option value="Exact" >Exact</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
221 <option value="1MM" >Single match</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
222 </xml>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
223 <xml name="cb_match_wl_cellranger">
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
224 <option value="1MM_multi" selected="true" >Multiple matches (CellRanger 2)</option>
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
225 <option value="1MM_multi_pseudocounts" >Multiple matches (CellRanger 3)</option>
10
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
226 <option value="1MM_multi_Nbase_pseudocounts" >Multimatching to WL is allowed for CBs with N-bases (CellRanger 3)</option>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
227 </xml>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
228 <xml name="solo_adapter_params">
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
229 <param argument="--soloAdapterSequence" type="text" value="-" label="Adapter sequence to anchor barcodes." >
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
230 <sanitizer>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
231 <valid initial="string.digits">
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
232 <add value="-"/>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
233 <add value="A"/>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
234 <add value="T"/>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
235 <add value="C"/>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
236 <add value="G"/>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
237 <add value="N"/>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
238 </valid>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
239 </sanitizer>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
240 </param>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
241 <param argument="--soloAdapterMismatchesNmax" type="integer" min="1" value="1" label="Maximum number of mismatches allowed in adapter sequence" />
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
242 <param argument="--clipAdapterType" type="select" >
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
243 <option value="Hamming" selected="true" >Adapter clipping based on Hamming distance</option>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
244 <option value="CellRanger4" >5p and 3p adapter clipping similar to CellRanger4</option>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
245 <option value="None" >No adapter clipping</option>
a6fba3d92531 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit d0c9fa48df667ffad1abd71164e6bb1d9cb16bd9"
iuc
parents: 9
diff changeset
246 </param>
9
ec9cbd6b9a49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
iuc
parents: 8
diff changeset
247 </xml>
0
e3c94e2933c9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff changeset
248 </macros>