# HG changeset patch # User ebi-gxa # Date 1590750568 0 # Node ID 92a98e92907fe273611e14876c7aa60939288162 # Parent 1838f77608a6e5bedb0da8f9f0a3a20efa4d93e7 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/ucsc-cell-browser/.shed.yml commit 2ba483354c14ddfd0f7aa57c2ad1c9944e9c4bba" diff -r 1838f77608a6 -r 92a98e92907f cell-browser.xml --- a/cell-browser.xml Wed Mar 13 17:50:14 2019 -0400 +++ b/cell-browser.xml Fri May 29 11:09:28 2020 +0000 @@ -1,7 +1,7 @@ - + displays single-cell clusterized data in an interactive web application. - ucsc-cell-browser + ucsc-cell-browser @@ -9,26 +9,41 @@ ./cellbrowser.conf; + echo "coords = [ {'file':'$tsneCoordinates', 'shortLabel':'t-SNE'} ]" > ./cellbrowser.conf; echo "meta = '$cellMetadata'" >> ./cellbrowser.conf; echo "name = 'sample'" >> ./cellbrowser.conf; echo "exprMatrix = '$expressionMatrix'" >> ./cellbrowser.conf; echo "geneIdType = 'symbol'" >> ./cellbrowser.conf; cbBuild -i cellbrowser.conf -o "$html_file.extra_files_path"; - mv "$html_file.extra_files_path"/index.html "$html_file"; + + ## "sample" is used as name, so no change needed. + cp '$__tool_directory__/redirect.html' '$html_file'; #else if $input_type.expression_source == "cell-browser-tar": tar -xf '$tarred_sources'; cbBuild -i cellbrowser.conf -o "$html_file.extra_files_path"; - mv "$html_file.extra_files_path"/index.html "$html_file"; + + ## we need to adapt redirect to use the study name used in cellbrowser.conf + study=\$(grep '^name=' cellbrowser.conf | awk -F'=' '{ print $2 }' | sed s/\"//g ) && + echo "Study to replace: "\$study && + sed "s/ds=sample/ds=\$study/" '$__tool_directory__/redirect.html' > '$html_file'; #else if $input_type.expression_source == "scanpy": + ## We could add a condition here were, if cluster_field is provided + ## then we rename it inside with an AnnData relying script to read 'louvain' to please UCSC CellBrowser + ln -s '$input_anndata_file' scanpy_ann_data.h5ad; - cbImportScanpy -i scanpy_ann_data.h5ad -o outdir -n sample --htmlDir "$html_file.extra_files_path"; - mv "$html_file.extra_files_path"/index.html "$html_file"; + cbImportScanpy -i scanpy_ann_data.h5ad + + #if $input_type.marker_field: + --markerField '${input_type.marker_field}' + #end if + + -o outdir -n sample --htmlDir '$html_file.extra_files_path'; + cp '$__tool_directory__/redirect.html' '$html_file'; #end if ]]> @@ -48,12 +63,13 @@ - + + - + @@ -98,6 +114,12 @@ 0.4.38+galaxy0: Supports Seurat (through a converter) and Scanpy input. Pablo Moreno, Expression Atlas team https://www.ebi.ac.uk/gxa/home at EMBL-EBI https://www.ebi.ac.uk/. + +0.5.21+galaxy0: Update UCSC CellBrowser version to 0.5.21. Pablo Moreno, Expression Atlas team https://www.ebi.ac.uk/gxa/home at +EMBL-EBI https://www.ebi.ac.uk/. + +0.5.38+galaxy0: Update UCSC CellBrowser version to 0.5.43. Fixes bugs and improves usage of gene symbols in AnnData objects. Pablo Moreno, Expression Atlas team https://www.ebi.ac.uk/gxa/home at +EMBL-EBI https://www.ebi.ac.uk/. ]]> @@ -110,5 +132,6 @@ url = {https://github.com/maximilianh/cellBrowser}, } + 10.1101/2020.04.08.032698 diff -r 1838f77608a6 -r 92a98e92907f redirect.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/redirect.html Fri May 29 11:09:28 2020 +0000 @@ -0,0 +1,15 @@ + + + + + + + Page Redirection + + + + If you are not redirected automatically, follow this link to example. + +