# HG changeset patch # User ebi-gxa # Date 1591361575 0 # Node ID 888aa6dd3a0ab1b8d2fc4df0be49d532630d0f0d # Parent c4b102a6c7680fabc2632a20fb574da4b5ed60dd "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 121972f836fc6f5a60390abcdc1e2fe904b79072" diff -r c4b102a6c768 -r 888aa6dd3a0a scanpy-neighbours.xml --- a/scanpy-neighbours.xml Thu Apr 16 09:09:16 2020 +0000 +++ b/scanpy-neighbours.xml Fri Jun 05 12:52:55 2020 +0000 @@ -1,5 +1,5 @@ - + to derive kNN graph scanpy_macros2.xml @@ -9,7 +9,11 @@ ln -s '${input_obj_file}' input.h5 && PYTHONIOENCODING=utf-8 scanpy-neighbors #if $settings.default == "false" - --n-neighbors '${settings.n_neighbours}' + #if $settings.n_neighbors_file + --n-neighbors \$( cat $settings.n_neighbors_file ) + #elif $settings.n_neighbors + --n-neighbors '${settings.n_neighbors}' + #end if --method '${settings.method}' --random-state '${settings.random_seed}' #if $settings.use_rep != "auto" @@ -31,14 +35,16 @@ - + + + label="Use hard threshold to restrict neighbourhood size (otherwise use a Gaussian kernel to down weight distant neighbors)"/> @@ -58,7 +64,7 @@ - +