changeset 7:851602577d38 draft

"planemo upload for repository https://github.com/jaidevjoshi83/pdaug commit 32b9c48c81639a81be24bb3e2f48dc0a81c0deca"
author jay
date Sun, 09 Jan 2022 04:32:43 +0000
parents 6822d43a5f84
children dc2b8908b68d
files PDAUG_Peptide_Core_Functions/PDAUG_Peptide_Core_Functions.py PDAUG_Peptide_Core_Functions/PDAUG_Peptide_Core_Functions.xml
diffstat 2 files changed, 12 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/PDAUG_Peptide_Core_Functions/PDAUG_Peptide_Core_Functions.py	Sun Jan 31 02:17:01 2021 +0000
+++ b/PDAUG_Peptide_Core_Functions/PDAUG_Peptide_Core_Functions.py	Sun Jan 09 04:32:43 2022 +0000
@@ -16,12 +16,12 @@
 filterduplicates = subparsers.add_parser('filterduplicates')
 filterduplicates.add_argument("-I","--InFile", required=True, default=None, help="Input file")
 filterduplicates.add_argument("-F","--FastOut", required=False, default='Out.fasta', help="Output file")
-
+filterduplicates.add_argument("-A","--FilterAA", required=True, default=None, help="Filter amino acide")
 
 keepnaturalaa = subparsers.add_parser('keepnaturalaa')
 keepnaturalaa.add_argument("-I","--InFile", required=True, default=None, help="Inputt file")
 keepnaturalaa.add_argument("-F","--FastOut", required=False, default='Out.fasta', help="Output file")
-
+keepnaturalaa.add_argument("-A","--FilterAA", required=True, default=None, help="Filter amino acide")
 
 filteraa = subparsers.add_parser('filteraa')
 filteraa.add_argument("-I","--InFile", required=True, default=None, help="Input file")
--- a/PDAUG_Peptide_Core_Functions/PDAUG_Peptide_Core_Functions.xml	Sun Jan 31 02:17:01 2021 +0000
+++ b/PDAUG_Peptide_Core_Functions/PDAUG_Peptide_Core_Functions.xml	Sun Jan 09 04:32:43 2022 +0000
@@ -21,7 +21,15 @@
               #end if 
 
               #if $SelCoreFunction.CoreFunction == 'filteraa'
-                  --FilterAA '$SelCoreFunction.FilterAA'
+                  --FilterAA 'filterAA'
+              #end if 
+
+              #if $SelCoreFunction.CoreFunction == 'filterduplicates'
+                  --FilterAA 'filterduplicates'
+              #end if 
+
+              #if $SelCoreFunction.CoreFunction == 'keepnaturalaa'
+                  --FilterAA 'keepnaturalaa'
               #end if 
 
               --FastOut '$output1'
@@ -148,7 +156,4 @@
     }
   </citation>
     </citations>
-</tool>
-
-
-
+</tool>
\ No newline at end of file