Mercurial > repos > deepakjadmin > mayatool2_test1
changeset 2:8802d7d7d52a draft
Uploaded
author | deepakjadmin |
---|---|
date | Thu, 15 Dec 2016 14:11:44 -0500 |
parents | 09690f2b8239 |
children | 00f4b17061f3 |
files | parse.xml |
diffstat | 1 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/parse.xml Thu Dec 15 14:11:44 2016 -0500 @@ -0,0 +1,17 @@ +<?xml version="1.0"?> +<tool id="aaacaret005" name="Extract IDs From Prediction Result" version="0.0.1"> +<description>This tool parse the compound name/ids from prediction result</description> +<command><![CDATA[ + awk -F '\t' '{print $1}' $predictionfile | sed '1d' | sed 's/"//g' | sed -e 's/^[ \t]*//;s/[ \t]*$//' | paste -sd "," - > $extracted_IDs ; + ]]></command> + + +<inputs> +<param name="predictionfile" type="data" format="txt,csv,tabular" label="Predition Result File" help ="upload gcac prediction result file obtained from the tool 'Extract_Compound_IDs_From_Prediction_Result_based_on_scores'" /> +</inputs> +<outputs> +<data name="extracted_IDs" type="data" format="txt" label="Ids-${predictionfile.name}" /> +</outputs> +<help> +</help> +</tool>