Mercurial > repos > proteore > proteore_expression_rnaseq_abbased
diff add_expression_data.xml @ 7:fda784211e3a draft
"planemo upload commit 330a2527c7e20c4d189a0f1b7a184a8c4610b4b6-dirty"
| author | proteore |
|---|---|
| date | Wed, 22 Jan 2020 14:59:04 +0000 |
| parents | ea59f5750c51 |
| children | c9e48832420b |
line wrap: on
line diff
--- a/add_expression_data.xml Thu Jun 27 03:56:26 2019 -0400 +++ b/add_expression_data.xml Wed Jan 22 14:59:04 2020 +0000 @@ -1,4 +1,4 @@ -<tool id="rna_abbased_data" name="Add expression data" version="2019.06.27"> +<tool id="rna_abbased_data" name="Add expression data" version="2020.01.22"> <description> (RNAseq or Immuno-assays)[Human Protein Atlas] </description> <requirements> @@ -9,16 +9,24 @@ </stdio> <command><![CDATA[ - #if $inputtype.filetype == "copy_paste": - - Rscript $__tool_directory__/add_expression_HPA.R --inputtype="copypaste" --input='$inputtype.genelist' --atlas="$__tool_directory__/proteinatlas.csv" --select='$options.hpaparams' --output='$output' + Rscript $__tool_directory__/add_expression_HPA.R + --input='$inputtype.genelist' + --select='$options.hpaparams' + --output='$output' + + #if $inputtype.filetype == "copy_paste": + --inputtype="copypaste" + #else + --inputtype="tabfile" + --header='$inputtype.header' + --column='$inputtype.column' + #end if - #else - - Rscript $__tool_directory__/add_expression_HPA.R --inputtype="tabfile" --input='$inputtype.genelist' --header='$inputtype.header' --atlas="$__tool_directory__/proteinatlas.csv" --column='$inputtype.column' --select='$options.hpaparams' --output='$output' - - #end if - + #if "protein_atlas" in str($input.ref_file).split("/") + --hpa_ref="$input.ref_file" + #else + --hpa_ref="$__tool_directory__/$input.ref_file" + #end if ]]></command>
