Repository 'cpt_convert_mga'
hg clone https://toolshed.g2.bx.psu.edu/repos/cpt/cpt_convert_mga

Changeset 5:2fa0a2284a6b (2022-05-19)
Previous changeset 4:fb33f6034c94 (2022-05-19) Next changeset 6:87d8de7e6150 (2022-05-20)
Commit message:
Uploaded
modified:
cpt_convert_mga/macros.xml
b
diff -r fb33f6034c94 -r 2fa0a2284a6b cpt_convert_mga/macros.xml
--- a/cpt_convert_mga/macros.xml Thu May 19 23:40:50 2022 +0000
+++ b/cpt_convert_mga/macros.xml Thu May 19 23:57:18 2022 +0000
b
@@ -9,20 +9,7 @@
  </requirements>
  </xml>
  <xml name="genome_selector">
- <conditional name="reference_genome">
- <param name="reference_genome_source" type="select" label="Reference Genome">
- <option value="history" selected="True">From History</option>
- <option value="cached">Locally Cached</option>
- </param>
- <when value="cached">
- <param name="fasta_indexes" type="select" label="Source FASTA Sequence">
- <options from_data_table="all_fasta"/>
- </param>
- </when>
- <when value="history">
- <param name="genome_fasta" type="data" format="fasta" label="Source FASTA Sequence"/>
- </when>
- </conditional>
+ <param name="genome_fasta" type="data" format="fasta" label="Source FASTA Sequence"/>
  </xml>
  <xml name="gff3_input">
  <param label="GFF3 Annotations" name="gff3_data" type="data" format="gff3"/>
@@ -35,23 +22,13 @@
  "$gff3_data"
  </token>
  <token name="@INPUT_FASTA@">
-#if str($reference_genome.reference_genome_source) == 'cached':
- "${reference_genome.fasta_indexes.fields.path}"
-#else if str($reference_genome.reference_genome_source) == 'history':
  genomeref.fa
-#end if
  </token>
  <token name="@GENOME_SELECTOR_PRE@">
-#if $reference_genome.reference_genome_source == 'history':
- ln -s $reference_genome.genome_fasta genomeref.fa;
-#end if
+ ln -s $genome_fasta genomeref.fa;
  </token>
  <token name="@GENOME_SELECTOR@">
-#if str($reference_genome.reference_genome_source) == 'cached':
- "${reference_genome.fasta_indexes.fields.path}"
-#else if str($reference_genome.reference_genome_source) == 'history':
  genomeref.fa
-#end if
  </token>
         <xml name="input/fasta">
  <param label="Fasta file" name="sequences" type="data" format="fasta"/>