Mercurial > repos > ebi-gxa > scanpy_normalise_data
comparison scanpy-normalise-data.xml @ 0:19805a556cd6 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy-scripts commit dca9be719ceb86abad7589c240b1bb7656826c48-dirty
| author | ebi-gxa |
|---|---|
| date | Wed, 13 Mar 2019 11:49:12 -0400 |
| parents | |
| children | 5704635cef67 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:19805a556cd6 |
|---|---|
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 2 <tool id="scanpy_normalise_data" name="Scanpy NormaliseData" version="@TOOL_VERSION@+galaxy0"> | |
| 3 <description>to make all cells having the same total expression</description> | |
| 4 <macros> | |
| 5 <import>scanpy_macros.xml</import> | |
| 6 </macros> | |
| 7 <expand macro="requirements"/> | |
| 8 <command detect_errors="exit_code"><![CDATA[ | |
| 9 ln -s '${input_obj_file}' input.h5 && | |
| 10 PYTHONIOENCODING=utf-8 scanpy-normalise-data.py | |
| 11 -i input.h5 | |
| 12 -f '${input_format}' | |
| 13 -o output.h5 | |
| 14 -F '${output_format}' | |
| 15 -s '${scale_factor}' | |
| 16 #if $save_raw | |
| 17 '${save_raw}' | |
| 18 #end if | |
| 19 ]]></command> | |
| 20 | |
| 21 <inputs> | |
| 22 <expand macro="input_object_params"/> | |
| 23 <expand macro="output_object_params"/> | |
| 24 <param name="scale_factor" argument="--scale-factor" type="float" value="1e4" label="Target number to normalise to"/> | |
| 25 <param name="save_raw" argument="--save-raw" type="boolean" truevalue="--save-raw" falsevalue="" checked="true" label="Save pre-normalised data"/> | |
| 26 </inputs> | |
| 27 | |
| 28 <outputs> | |
| 29 <data name="output_h5" format="h5" from_work_dir="output.h5" label="${tool.name} on ${on_string}: Normalized data" /> | |
| 30 </outputs> | |
| 31 | |
| 32 <tests> | |
| 33 <test> | |
| 34 <param name="input_obj_file" value="filter_genes.h5"/> | |
| 35 <param name="input_format" value="anndata"/> | |
| 36 <param name="output_format" value="anndata"/> | |
| 37 <param name="scale_factor" value="1e4"/> | |
| 38 <param name="save_raw" value="false"/> | |
| 39 <output name="output_h5" file="normalise_data.h5" ftype="h5" compare="sim_size"/> | |
| 40 </test> | |
| 41 </tests> | |
| 42 | |
| 43 <help><![CDATA[ | |
| 44 ========================================================= | |
| 45 Normalize total counts per cell (`pp.normalize_per_cell`) | |
| 46 ========================================================= | |
| 47 | |
| 48 Normalize each cell by total counts over all genes, so that every cell has | |
| 49 the same total count after normalization. | |
| 50 | |
| 51 Similar functions are used, for example, by Seurat, Cell Ranger or SPRING. | |
| 52 | |
| 53 @HELP@ | |
| 54 | |
| 55 @VERSION_HISTORY@ | |
| 56 ]]></help> | |
| 57 <expand macro="citations"/> | |
| 58 </tool> |
