changeset 19:381e18f13ed2 draft

"planemo upload commit 6a3a63d9870148e6fee84e771db614f9da9a8245-dirty"
author proteore
date Thu, 30 Jul 2020 09:45:47 +0000
parents bdbc7620e804
children 3c5813b29486
files add_protein_features.R add_protein_features.xml
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/add_protein_features.R	Thu Jul 30 09:25:25 2020 +0000
+++ b/add_protein_features.R	Thu Jul 30 09:45:47 2020 +0000
@@ -122,7 +122,7 @@
 get_nextprot_info <- function(nextprot,input,pc_features,localization,diseases_info){
   cols = c("NextprotID",pc_features)
   cols=cols[cols!="None"]
-  info = nextprot[match(input,nextprot$NextprotID),cols]
+  info = nextprot[match(input,nextprot$NextprotID),intersect(colnames(nextprot),cols)]
   return(info)
 }
 
--- a/add_protein_features.xml	Thu Jul 30 09:25:25 2020 +0000
+++ b/add_protein_features.xml	Thu Jul 30 09:45:47 2020 +0000
@@ -1,4 +1,4 @@
-<tool id="prot_features" name="Add protein features" version="2020.07.30">
+<tool id="prot_features" name="Add protein features" version="2020.07.30.1">
 <description>[neXtProt, Human]
 </description>
 <requirements>
@@ -142,6 +142,10 @@
 
 Output is a tabular file containing both original columns and new columns including the annotation requested.  
 
+.. class:: warningmark
+
+"Protein name","Protein function","Post translational modifications","Protein family","Pathway(s)" options will not work will releases older than 08/2020.
+
 -----
 
 **Data source (release date)**