# HG changeset patch # User ebi-gxa # Date 1591362779 14400 # Node ID 232937b5bb8fb86c98a16c11c9e5647b23f5ad0c # Parent 3bce5710a90b8e9553af7fa866d2a78773e7ab41 "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 3bce5710a90b -r 232937b5bb8f scanpy-neighbours.xml --- a/scanpy-neighbours.xml Thu Mar 12 05:18:41 2020 -0400 +++ b/scanpy-neighbours.xml Fri Jun 05 09:12:59 2020 -0400 @@ -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 @@ - + diff -r 3bce5710a90b -r 232937b5bb8f scanpy_macros2.xml --- a/scanpy_macros2.xml Thu Mar 12 05:18:41 2020 -0400 +++ b/scanpy_macros2.xml Fri Jun 05 09:12:59 2020 -0400 @@ -64,6 +64,7 @@ journal = {GitHub repository}, url = {https://github.com/ebi-gene-expression-group/scanpy-scripts}, } + 10.1101/2020.04.08.032698