Mercurial > repos > ebi-gxa > update_marker_file
changeset 0:8ee96cde3643 draft
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
author | ebi-gxa |
---|---|
date | Wed, 08 Apr 2020 06:32:25 -0400 |
parents | |
children | 5036928f60bc |
files | garnett_macros.xml update_marker_file.xml |
diffstat | 2 files changed, 77 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/garnett_macros.xml Wed Apr 08 06:32:25 2020 -0400 @@ -0,0 +1,44 @@ +<macros> + <token name="@TOOL_VERSION@">0.2.8</token> + <token name="@HELP@">More information can be found at https://cole-trapnell-lab.github.io/garnett/docs/</token> + <token name="@PROFILE@">18.01</token> + <xml name="requirements"> + <requirements> + <requirement type="package" version="0.0.3">garnett-cli</requirement> + <yield/> + </requirements> + </xml> + <xml name="version"> + <version_command><![CDATA[ + echo $(R --version | grep version | grep -v GNU)", garnett version" $(R --vanilla --slave -e "library(garnett); cat(sessionInfo()\$otherPkgs\$garnett\$Version)" 2> /dev/null | grep -v -i "WARNING: ") + ]]></version_command> + </xml> + <token name="@VERSION_HISTORY@"><![CDATA[ + **Version history** + 0.2.8+galaxy0: Initial contribution. Andrey Solovyev, Expression Atlas team https://www.ebi.ac.uk/gxa/home at EMBL-EBI https://www.ebi.ac.uk/. + ]]></token> + <xml name="citations"> + <citations> + <citation type="bibtex"> + @article{, + url = {https://doi.org/10.1038/s41592-019-0535-3}, + author = {Hannah A. Pliner and Jay Shendure and Cole Trapnell}, + title = {Supervised classification enables rapid annotation of cell atlases}, + journal = {Nature Methods} + } + </citation> + <citation type="bibtex"> + @misc{githubgarnett-cli.git, + author = {Andrey Solovyev, EBI Gene Expression Team}, + year = {2019}, + title = {garnett-cli: command line interface for Garnett tool}, + publisher = {GitHub}, + journal = {GitHub repository}, + url = {https://github.com/ebi-gene-expression-group/garnett-cli.git}, + } + </citation> + <yield /> + </citations> + </xml> +</macros> +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/update_marker_file.xml Wed Apr 08 06:32:25 2020 -0400 @@ -0,0 +1,33 @@ +<tool id="update_marker_file" name="Garnett - update markers" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@"> + <description>Update marker file by filtering out suboptimal markers</description> + <macros> + <import>garnett_macros.xml</import> + </macros> + <expand macro="requirements" /> + <command detect_errors="exit_code"><![CDATA[ + update_marker_file.R --marker-list-obj '${marker_list_obj}' --marker-check-file '${marker_check_file}' --summary-col '${summary_col}' --cell-type-col '${cell_type_col}' --gene-id-col '${gene_id_col}' --updated-marker-file '${updated_marker_file}' + ]]></command> + <inputs> + <param type="data" name="marker_list_obj" label="Marker list object" format="rdata" help="Serialised object containing markers list produced by garnett_transform_markers" /> + <param type="data" name="marker_check_file" label="marker check file" format="txt" help="Path to the file with marker gene assessment done by garnett" /> + <param type="text" name="summary_col" value="summary" label="Name of summary column" help="Marker gene assessment column name" /> + <param type="text" name="cell_type_col" value="cell_type" label="Name of cell type column" help="Marker gene assessment column name" /> + <param type="text" name="gene_id_col" value="gene_id" label="Name of gene id column" help="Gene id column name in marker assessment file" /> + </inputs> + <outputs> + <data name="updated_marker_file" format="txt" /> + </outputs> + <tests> + <test> + <param name="marker_list_obj" value="marker_list.rds" /> + <param name="marker_check_file" value="marker_check.txt" /> + <output name="updated_marker_file" file="markers_upd.txt" compare="sim_size"/> + </test> + </tests> + <help><![CDATA[ + @HELP@ + + @VERSION_HISTORY@ + ]]></help> + <expand macro="citations" /> +</tool> \ No newline at end of file