diff PDAUG_Word_Vector_Model/PDAUG_Word_Vector_Model.xml @ 5:c6a1b09d8846 draft

"planemo upload for repository https://github.com/jaidevjoshi83/pdaug commit ac4353ca5c0ac9ce60df9f4bf160ed08b99fbee3"
author jay
date Thu, 28 Jan 2021 04:16:01 +0000
parents 3ce435b8d648
children d739a3bc7e39
line wrap: on
line diff
--- a/PDAUG_Word_Vector_Model/PDAUG_Word_Vector_Model.xml	Tue Jan 12 19:35:15 2021 +0000
+++ b/PDAUG_Word_Vector_Model/PDAUG_Word_Vector_Model.xml	Thu Jan 28 04:16:01 2021 +0000
@@ -13,7 +13,7 @@
   </stdio>
     <command detect_errors="exit_code"><![CDATA[
 
-        python '$__tool_directory__/PDAUG_Word_Vector_Model.py' -I '$input' -M '$meanCount' -W '$window' -O '$OutFile'
+        python '$__tool_directory__/PDAUG_Word_Vector_Model.py' -I '$input' -M '$meanCount' -W '$window' -O '$OutFile' --SG '$sg'
         
     ]]></command>
 
@@ -21,6 +21,11 @@
     <param name="input" type="data" label="Input fasta file" format="fasta" argument= "--Input" help="Input fasta file with peptides"/>
     <param name="meanCount" type="integer" label="Mean Count" value="0" format="fasta" argument= "--min_count" help="Ignores a all words with total frequency lower than this"/>
     <param name="window" type="integer" label="window" value="5" argument="--window" help="Maximum distance between the current and predicted word within a sentence"/>
+    <param name="sg" type="select" label="Select algorithm" help="Training algorithm skip-gram or  CBOW.">
+        <option value="skip-gram">Skip-gram</option>
+        <option value="CBOW" >CBOW</option>
+    </param>
+
   </inputs>
 
   <outputs>
@@ -48,6 +53,7 @@
     * **--Input** Fasta file with protein sequences.
     * **--min_count** Ignores all words with total frequency lower than this 
     * **--window** Maximum distance between the current and predicted word within a sentence, accepts integer value.
+    * **--SG** Select training algorithm skip-gram or CBOW.
 
 -----