Mercurial > repos > iuc > rgrnastar
changeset 17:7ed2edc1337f draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 00c545ddbf0f008903f4b4c11d476e6089c3f531"
line wrap: on
line diff
--- a/macros.xml Fri Dec 04 22:05:07 2020 +0000 +++ b/macros.xml Fri Jan 15 17:38:35 2021 +0000 @@ -5,7 +5,7 @@ the index versions in sync, but you should manually adjust the +galaxy version number. --> <!-- STAR version to be used --> - <token name="@VERSION@">2.7.6a</token> + <token name="@VERSION@">2.7.7a</token> <!-- STAR index version compatible with this version of STAR This is the STAR version that introduced the index structure expected by the current version. @@ -33,7 +33,7 @@ <edam_operation>operation_0292</edam_operation> </edam_operations> </xml> - + <xml name="index_selection" token_with_gene_model="0"> <param argument="--genomeDir" name="genomeDir" type="select" label="Select reference genome" @@ -132,6 +132,35 @@ #end if #end if ]]></token> + <token name="@READSHANDLING@" ><![CDATA[ + ## Check that the input pairs are of the same type + ## otherwise STARsolo will run for a long time and then error out. + ## We consume either repeats of two inputs R1 + R2 + ## or a collection of paired reads. + #if str($sc.input_types.use) == "repeat": + #set $reads1 = [] + #set $reads2 = [] + #for $r1, $r2 in zip($sc.input_types.input1, $sc.input_types.input2): + #assert $r1.datatype == $r2.datatype + #silent $reads1.append(str($r1)) + #silent $reads2.append(str($r2)) + #end for + #set $reads1 = ','.join($reads1) + #set $reads2 = ','.join($reads2) + #elif str($sc.input_types.use) == "list_paired": + #set $r1 = $sc.input_types.input_collection.forward + #set $r2 = $sc.input_types.input_collection.reverse + #set $reads1 = $r1 + #set $reads2 = $r2 + #end if + ## cDNA sequence(s) [R2] always go first, then barcode(s) [R1] + ## see: Section 3.2 of STAR manual for multiple inputs, and Section 13 for STARsolo inputs + --readFilesIn $reads2 $reads1 + --soloCBmatchWLtype $sc.soloCBmatchWLtype + #if $r1.is_of_type('fastq.gz', 'fastqsanger.gz'): + @FASTQ_GZ_OPTION@ + #end if + ]]></token> <xml name="ref_selection"> <param argument="--genomeFastaFiles" type="data" format="fasta" label="Select a reference genome" /> <!-- Currently, this parameter is not exposed in the wrapper, @@ -148,4 +177,53 @@ <yield /> </stdio> </xml> + <xml name="input_selection"> + <conditional name="input_types" > + <param name="use" type="select" label="Input Type" > + <option value="repeat" >Separate barcode and cDNA reads</option> + <option value="list_paired" >Paired collection of barcode and cDNA reads</option> + </param> + <when value="repeat"> + <param format="fastq,fasta,fastq.gz,fastqsanger.gz" name="input1" type="data" multiple="true" + label="RNA-Seq FASTQ/FASTA file, Barcode reads" /> + <param format="fastq,fasta,fastq.gz,fastqsanger.gz" name="input2" type="data" multiple="true" + label="RNA-Seq FASTQ/FASTA file, cDNA reads"/> + </when> + <when value="list_paired"> + <param name="input_collection" collection_type="paired" type="data_collection" format="fastq,fasta,fastq.gz,fastqsanger.gz" label="Collection of Pairs" /> + </when> + </conditional> + </xml> + <xml name="input_selection_smart_seq"> + <conditional name="input_types_smart_seq" > + <param name="use" type="select" label="Input Type" > + <option value="list_single_end" >Single-end FASTQ collection</option> + <option value="list_paired_end" >Paired FASTQ collection</option> + </param> + <when value="list_single_end"> + <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" /> + </when> + <when value="list_paired_end"> + <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" /> + </when> + </conditional> + </xml> + <xml name="umidedup_options"> + <option value="1MM_All" selected="true">All</option> + <option value="1MM_Directional" >Directional</option> + </xml> + <xml name="anchor_types"> + <option value="0">Read start</option> + <option value="1">Read end</option> + <option value="2">Adapter start</option> + <option value="3">Adapter end</option> + </xml> + <xml name="cb_match_wl_common"> + <option value="Exact" >Exact</option> + <option value="1MM" >Single match</option> + </xml> + <xml name="cb_match_wl_cellranger"> + <option value="1MM_multi" selected="true" >Multiple matches (CellRanger 2)</option> + <option value="1MM_multi_pseudocounts" >Multiple matches (CellRanger 3)</option> + </xml> </macros>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/indrop.barcodes1.txt Fri Jan 15 17:38:35 2021 +0000 @@ -0,0 +1,384 @@ + GTTTGTTT + ACCGTGTTT + GATAGTGTTT + TGAGGCGGTTT + GATCGTTT + ATCACGTTT + GATGTAGTTT + TGACACAGTTT + CTTTCTTT + AGCCTCTTT + GACGGGCTTT + TGAATGACTTT + TGCTATTT + ACGGAATTT + GACATTTGTT + TGAGTTCTGTT + CCGCTGTT + AAAATCGTT + GATTGGCGTT + TGACTACCGTT + GTAACGTT + AACTGAGTT + GAAGGCAGTT + TGACTGTTCTT + ACCTTCTT + AATACTCTT + GAGAAGGCTT + TGAAGGAGCTT + TCATCCTT + AAGCGCCTT + GAGGTCCCTT + TGACAATACTT + TTGGACTT + ACCCGACTT + GATCTCACTT + TGAGACAACTT + TCCTTATT + AGATGTATT + GAGTCATATT + TGAGCCGGATT + CTTCGATT + AGAACGATT + GAACGCCATT + TGACATACATT + ATCTTTGT + ACTACTTGT + GAAAGATTGT + TGACTTGGTGT + TTATCTGT + ATGGCCTGT + GACGAGATGT + TGAGTCCATGT + GGGTTGGT + ACCCTTGGT + GATCTGTGGT + TGAAAACTGGT + GCATGGGT + AAATCGGGT + GATTGAGGGT + TGATCGACGGT + CTTCAGGT + AGGGAAGGT + GAGAATTCGT + TGAGTCGTCGT + TTAAGCGT + ATGCTCCGT + GAACTGCCGT + TGATAACCCGT + CCAACCGT + AGTTTACGT + GACAATTAGT + TGACGGGTAGT + GCTCTAGT + AGTATGAGT + GATTCCGAGT + TGACCAGCAGT + TGACCAGT + AAGCGAAGT + GATGGTTTCT + TGACACTTTCT + AAGCTTCT + ATTGATTCT + GATGAGGTCT + TGACCTCGTCT + GTCTCTCT + AGCACCTCT + GAGCGTTGCT + TGATACGTGCT + GGCATGCT + AAGATGGCT + GAACCACGCT + TGAGTGGAGCT + TCGAAGCT + ATGTGTCCT + GACGACTCCT + TGATATTGCCT + TTCGGCCT + AAAACGCCT + GACAGTCCCT + TGATTTACCCT + GCTTACCT + AATATACCT + GAGGGAACCT + TGACCATTACT + TAACTACT + ATTGTGACT + GACACGGACT + TGAGAAGCACT + GTTCAACT + ACCGCAACT + GATACAAACT + TGACCTGTTAT + TAGCTTAT + AGGGTGTAT + GAGAGAGTAT + TGAACATCTAT + TTGCATAT + AACCCATAT + GACGATTGAT + TGATCCCTGAT + GGTGGGAT + AATGCGGAT + GAACTAGGAT + TGAAGCGCGAT + GTTACGAT + AGCCAAGAT + GAGTTGTCAT + TGACAAGTCAT + ATATGCAT + ACTCCGCAT + GAGAGCCCAT + TGACAGACCAT + CGGCACAT + AAAGGTAAT + GACGAATAAT + TGACTCAGAAT + ACTTCAAT + AGGGCCAAT + GAATGGAAAT + TGACAACAAAT + AATGTTTG + ACTGCGTTG + GAATTCCTTG + TGAAACCCTTG + GTACCTTG + ACTAGATTG + GAGAGAATTG + TGAAGGTTGTG + TACTTGTG + AGGTTAGTG + GAATCAAGTG + TGACGAGTCTG + CCCATCTG + AGCAACCTG + GATTAAACTG + TGATCGTCATG + GCAGCATG + AAATGAATG + GACCCGAATG + TGATAGAAATG + AGAGGTGG + ACAACGTGG + GACTGTCTGG + TGATTCGCTGG + TCATATGG + AGTGGATGG + GAGACGATGG + TGAATGCATGG + CTTACGGG + AAGAACGGG + GACAAGAGGG + TGAAAACAGGG + TGCAAGGG + AAAAGTCGG + GAGATCTCGG + TGACGTATCGG + ATTTCCGG + AAGCTACGG + GATAAGACGG + TGAAGCGTAGG + TAAATAGG + ATCATGAGG + GATGTAAAGG + TGAGACAAAGG + GAGTTTCG + ATCGGTTCG + GACTTCTTCG + TGAAAATGTCG + TAGCCTCG + ATTGGATCG + GATGCCATCG + TGATTAGTCCG + TACAGCCG + AACTCACCG + GATCGGTACG + TGAATTCGACG + GTTGCACG + AATCCCACG + GATGTACACG + TGAAACACACG + AGGCAACG + AACGAAACG + GAGGCGTTAG + TGATCCCGTAG + TAGTCTAG + ACGTGCTAG + GACCTACTAG + TGATGTTTGAG + GATGTGAG + ATTTGGGAG + GATGGAGGAG + TGATCACCGAG + CTATAGAG + AACGCAGAG + GACCCTTCAG + TGAACGCTCAG + CATCGCAG + ATCTAGCAG + GATGTTCCAG + TGAATACCCAG + TGCGACAG + AGGTCACAG + GATTTAACAG + TGACACAACAG + GGAAACAG + AGGCCTAAG + GAACACTAAG + TGACGTAGAAG + GGATAAAG + AAGTGAAAG + GAGTCCAAAG + TGATGTCTTTC + CGTATTTC + AATATCTTC + GATGGGATTC + TGAGCGCATTC + TTTGTGTC + ACAGGTGTC + GACGCTAGTC + TGAGGTTTCTC + TTCCGCTC + ACACTCCTC + GATGACCCTC + TGAGTACACTC + TGCGTATC + ATCTGCATC + GATAACCATC + TGAGCCACATC + CTTTAATC + AAAGTAATC + GATCCCAATC + TGAGGGAAATC + CAGTTTGC + ACTGAGTGC + GAAGTGATGC + TGACTCGATGC + GCTTTGGC + AATGTTGGC + GATACCAGGC + TGACACAAGGC + ATCAGCGC + AGTTACCGC + GAGAATACGC + TGATTGCACGC + AACTTAGC + AACGGTAGC + GACCCATAGC + TGACTACGAGC + GGAGAAGC + ATTCGTTCC + GAGGACTTCC + TGATCCAGTCC + AGAAGTCC + AAAACCTCC + GACTTACTCC + TGAAACAATCC + ACCTTGCC + AGAAGTGCC + GAATTGGGCC + TGATTGTCGCC + TTATAGCC + AGCAAAGCC + GACATCTCCC + TGAGTAATCCC + TGATGCCC + AAATGACCC + GACTAGACCC + TGAGATTTACC + TGGCTACC + ATTAGGACC + GAGAAAGACC + TGATCGACACC + GTGTAACC + ACCCTAACC + GATCTCAACC + TGATTGTTTAC + CGGCTTAC + ACAGATTAC + GAAAGCGTAC + TGAGTCCGTAC + ACGTATAC + AGTCAATAC + GACTCTTGAC + TGAGGTCTGAC + AACCTGAC + ATAGTGGAC + GATGACGGAC + TGAGCAAGGAC + GATTAGAC + ATTCCAGAC + GAAGGAAGAC + TGAGAGTTCAC + TGCCTCAC + ATTTATCAC + GAATGGGCAC + TGACTTCGCAC + AGCACCAC + AGGTGACAC + GACCTGACAC + TGACTAGTAAC + AGCAGAAC + ACGGACAAC + GATCGGTTTA + TGAAGAAGTTA + GGCCCTTA + AATGGATTA + GACCACATTA + TGAGCAGGGTA + GAGCGGTA + ACTTAGGTA + GAGGGAGGTA + TGACTCGCGTA + CGAACGTA + AATTCAGTA + GATTGATCTA + TGATGTGGCTA + ATCCGCTA + AAAAGCCTA + GACGTACCTA + TGAGGCTACTA + AGAGACTA + ACGTGGATA + GAGACAGATA + TGATTCACATA + CGCTAATA + ACCATTTGA + GACGCCTTGA + TGAGAGGCTGA + TGGTATGA + AAGCTATGA + GATGAAATGA + TGACTTCTGGA + TCCAGGGA + AGTGTCGGA + GAACAGCGGA + TGAATATAGGA + GCAGTCGA + AAAACTCGA + GAGATTGCGA + TGAATGACCGA + ACCCACGA + AGGGAACGA + GAAGTTTAGA + TGAGGAATAGA + AAATCAGA + AGTCAAAGA + GACCTATTCA + TGAAGGATTCA + CGACGTCA + ACGCTCTCA + GATGTGCTCA + TGACTGGTGCA + TACCGGCA + ATAGTCGCA + GACGTCAGCA + TGAATGAAGCA + CCCAAGCA + AGCTTTCCA + GATCCGTCCA + TGAACTAGCCA + AATTCCCA + AAGACACCA + GAGTTAACCA + TGATGATAACA
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/indrop.barcodes2.txt Fri Jan 15 17:38:35 2021 +0000 @@ -0,0 +1,384 @@ + GTTTGTTT + CCGTGTTT + TAGTGTTT + GGCGGTTT + GATCGTTT + TCACGTTT + TGTAGTTT + CACAGTTT + CTTTCTTT + GCCTCTTT + CGGGCTTT + ATGACTTT + TGCTATTT + CGGAATTT + CATTTGTT + GTTCTGTT + CCGCTGTT + AAATCGTT + TTGGCGTT + CTACCGTT + GTAACGTT + ACTGAGTT + AGGCAGTT + CTGTTCTT + ACCTTCTT + ATACTCTT + GAAGGCTT + AGGAGCTT + TCATCCTT + AGCGCCTT + GGTCCCTT + CAATACTT + TTGGACTT + CCCGACTT + TCTCACTT + GACAACTT + TCCTTATT + GATGTATT + GTCATATT + GCCGGATT + CTTCGATT + GAACGATT + ACGCCATT + CATACATT + ATCTTTGT + CTACTTGT + AAGATTGT + CTTGGTGT + TTATCTGT + TGGCCTGT + CGAGATGT + GTCCATGT + GGGTTGGT + CCCTTGGT + TCTGTGGT + AAACTGGT + GCATGGGT + AATCGGGT + TTGAGGGT + TCGACGGT + CTTCAGGT + GGGAAGGT + GAATTCGT + GTCGTCGT + TTAAGCGT + TGCTCCGT + ACTGCCGT + TAACCCGT + CCAACCGT + GTTTACGT + CAATTAGT + CGGGTAGT + GCTCTAGT + GTATGAGT + TTCCGAGT + CCAGCAGT + TGACCAGT + AGCGAAGT + TGGTTTCT + CACTTTCT + AAGCTTCT + TTGATTCT + TGAGGTCT + CCTCGTCT + GTCTCTCT + GCACCTCT + GCGTTGCT + TACGTGCT + GGCATGCT + AGATGGCT + ACCACGCT + GTGGAGCT + TCGAAGCT + TGTGTCCT + CGACTCCT + TATTGCCT + TTCGGCCT + AAACGCCT + CAGTCCCT + TTTACCCT + GCTTACCT + ATATACCT + GGGAACCT + CCATTACT + TAACTACT + TTGTGACT + CACGGACT + GAAGCACT + GTTCAACT + CCGCAACT + TACAAACT + CCTGTTAT + TAGCTTAT + GGGTGTAT + GAGAGTAT + ACATCTAT + TTGCATAT + ACCCATAT + CGATTGAT + TCCCTGAT + GGTGGGAT + ATGCGGAT + ACTAGGAT + AGCGCGAT + GTTACGAT + GCCAAGAT + GTTGTCAT + CAAGTCAT + ATATGCAT + CTCCGCAT + GAGCCCAT + CAGACCAT + CGGCACAT + AAGGTAAT + CGAATAAT + CTCAGAAT + ACTTCAAT + GGGCCAAT + ATGGAAAT + CAACAAAT + AATGTTTG + CTGCGTTG + ATTCCTTG + AACCCTTG + GTACCTTG + CTAGATTG + GAGAATTG + AGGTTGTG + TACTTGTG + GGTTAGTG + ATCAAGTG + CGAGTCTG + CCCATCTG + GCAACCTG + TTAAACTG + TCGTCATG + GCAGCATG + AATGAATG + CCCGAATG + TAGAAATG + AGAGGTGG + CAACGTGG + CTGTCTGG + TTCGCTGG + TCATATGG + GTGGATGG + GACGATGG + ATGCATGG + CTTACGGG + AGAACGGG + CAAGAGGG + AAACAGGG + TGCAAGGG + AAAGTCGG + GATCTCGG + CGTATCGG + ATTTCCGG + AGCTACGG + TAAGACGG + AGCGTAGG + TAAATAGG + TCATGAGG + TGTAAAGG + GACAAAGG + GAGTTTCG + TCGGTTCG + CTTCTTCG + AAATGTCG + TAGCCTCG + TTGGATCG + TGCCATCG + TTAGTCCG + TACAGCCG + ACTCACCG + TCGGTACG + ATTCGACG + GTTGCACG + ATCCCACG + TGTACACG + AACACACG + AGGCAACG + ACGAAACG + GGCGTTAG + TCCCGTAG + TAGTCTAG + CGTGCTAG + CCTACTAG + TGTTTGAG + GATGTGAG + TTTGGGAG + TGGAGGAG + TCACCGAG + CTATAGAG + ACGCAGAG + CCCTTCAG + ACGCTCAG + CATCGCAG + TCTAGCAG + TGTTCCAG + ATACCCAG + TGCGACAG + GGTCACAG + TTTAACAG + CACAACAG + GGAAACAG + GGCCTAAG + ACACTAAG + CGTAGAAG + GGATAAAG + AGTGAAAG + GTCCAAAG + TGTCTTTC + CGTATTTC + ATATCTTC + TGGGATTC + GCGCATTC + TTTGTGTC + CAGGTGTC + CGCTAGTC + GGTTTCTC + TTCCGCTC + CACTCCTC + TGACCCTC + GTACACTC + TGCGTATC + TCTGCATC + TAACCATC + GCCACATC + CTTTAATC + AAGTAATC + TCCCAATC + GGGAAATC + CAGTTTGC + CTGAGTGC + AGTGATGC + CTCGATGC + GCTTTGGC + ATGTTGGC + TACCAGGC + CACAAGGC + ATCAGCGC + GTTACCGC + GAATACGC + TTGCACGC + AACTTAGC + ACGGTAGC + CCCATAGC + CTACGAGC + GGAGAAGC + TTCGTTCC + GGACTTCC + TCCAGTCC + AGAAGTCC + AAACCTCC + CTTACTCC + AACAATCC + ACCTTGCC + GAAGTGCC + ATTGGGCC + TTGTCGCC + TTATAGCC + GCAAAGCC + CATCTCCC + GTAATCCC + TGATGCCC + AATGACCC + CTAGACCC + GATTTACC + TGGCTACC + TTAGGACC + GAAAGACC + TCGACACC + GTGTAACC + CCCTAACC + TCTCAACC + TTGTTTAC + CGGCTTAC + CAGATTAC + AAGCGTAC + GTCCGTAC + ACGTATAC + GTCAATAC + CTCTTGAC + GGTCTGAC + AACCTGAC + TAGTGGAC + TGACGGAC + GCAAGGAC + GATTAGAC + TTCCAGAC + AGGAAGAC + GAGTTCAC + TGCCTCAC + TTTATCAC + ATGGGCAC + CTTCGCAC + AGCACCAC + GGTGACAC + CCTGACAC + CTAGTAAC + AGCAGAAC + CGGACAAC + TCGGTTTA + AGAAGTTA + GGCCCTTA + ATGGATTA + CCACATTA + GCAGGGTA + GAGCGGTA + CTTAGGTA + GGGAGGTA + CTCGCGTA + CGAACGTA + ATTCAGTA + TTGATCTA + TGTGGCTA + ATCCGCTA + AAAGCCTA + CGTACCTA + GGCTACTA + AGAGACTA + CGTGGATA + GACAGATA + TTCACATA + CGCTAATA + CCATTTGA + CGCCTTGA + GAGGCTGA + TGGTATGA + AGCTATGA + TGAAATGA + CTTCTGGA + TCCAGGGA + GTGTCGGA + ACAGCGGA + ATATAGGA + GCAGTCGA + AAACTCGA + GATTGCGA + ATGACCGA + ACCCACGA + GGGAACGA + AGTTTAGA + GGAATAGA + AAATCAGA + GTCAAAGA + CCTATTCA + AGGATTCA + CGACGTCA + CGCTCTCA + TGTGCTCA + CTGGTGCA + TACCGGCA + TAGTCGCA + CGTCAGCA + ATGAAGCA + CCCAAGCA + GCTTTCCA + TCCGTCCA + ACTAGCCA + AATTCCCA + AGACACCA + GTTAACCA + TGATAACA