# HG changeset patch # User proteore # Date 1557475163 14400 # Node ID aca66c3b8fbbf6c636fbe82de9e00cb0f3ab80e8 # Parent 69c70e45d5ab14a58e4b7020d42bf56e528d1122 planemo upload commit 3e8aad84b7fe9218370364b1aef3ea5779475f9f-dirty diff -r 69c70e45d5ab -r aca66c3b8fbb add_protein_features.R --- a/add_protein_features.R Mon Mar 11 04:48:52 2019 -0400 +++ b/add_protein_features.R Fri May 10 03:59:23 2019 -0400 @@ -194,7 +194,7 @@ res = res[!duplicated(res$NextprotID),] output_content = merge(file, res,by.x=ncol,by.y="NextprotID",incomparables = NA,all.x=T) output_content = order_columns(output_content,ncol,id_type,file) - output_content = output_content[,-which(colnames(output_content)=="NextprotID")] #remove nextprotID column + if (id_type=="Uniprot_AC"){output_content = output_content[,-which(colnames(output_content)=="NextprotID")]} #remove nextprotID column output_content <- as.data.frame(apply(output_content, c(1,2), function(x) gsub("^$|^ $", NA, x))) #convert "" et " " to NA write.table(output_content, output, row.names = FALSE, sep = "\t", quote = FALSE) } diff -r 69c70e45d5ab -r aca66c3b8fbb add_protein_features.xml --- a/add_protein_features.xml Mon Mar 11 04:48:52 2019 -0400 +++ b/add_protein_features.xml Fri May 10 03:59:23 2019 -0400 @@ -1,4 +1,4 @@ - + [neXtProt] @@ -24,7 +24,7 @@ --diseases_info='$Nextprot_params.diseases_info' --output='$output' - #if 'nextprot_ref' in str($ref_file).split("/") + #if 'proteore_nextprot_ref' in str($ref_file).split("/") --nextprot="$ref_file" #else --nextprot="$__tool_directory__/$ref_file" @@ -81,11 +81,13 @@ - + - + + + diff -r 69c70e45d5ab -r aca66c3b8fbb proteore_nextprot_ref.loc.sample --- a/proteore_nextprot_ref.loc.sample Mon Mar 11 04:48:52 2019 -0400 +++ b/proteore_nextprot_ref.loc.sample Fri May 10 03:59:23 2019 -0400 @@ -1,2 +1,3 @@ -# -nextprot_ref_09-03-2019 neXtProt release 09-03-2019 tool-data/nextprot_ref_09-03-2019.tsv +# +9979818992 nextprot_ref_08-10-2018 neXtProt release 08-10-2018 tool-data/nextprot_ref_08-10-2018.tsv +9979809691 nextprot_ref_09-03-2019 neXtProt release 09-03-2019 tool-data/nextprot_ref_09-03-2019.tsv diff -r 69c70e45d5ab -r aca66c3b8fbb tool_data_table_conf.xml.sample --- a/tool_data_table_conf.xml.sample Mon Mar 11 04:48:52 2019 -0400 +++ b/tool_data_table_conf.xml.sample Fri May 10 03:59:23 2019 -0400 @@ -1,7 +1,7 @@ - id, name, value + id, release, name, value