-
Notifications
You must be signed in to change notification settings - Fork 513
Add Spapros #6191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add Spapros #6191
Changes from 31 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
2ea6757
add evaluation.xml
heylf 9cf03aa
first version of macros.xml
heylf fdff2ae
first version of shed.yml
heylf 8553dbf
adding second test to evaluation
heylf 858d29a
finished evaluation tool, ready for review
heylf 4b6e112
Changes to shed.yml
heylf bf3b870
some fixes and code improvements for evaluatio.xml
heylf 0690561
fix typo in macros.xml
heylf af5eddb
Adding selection.xml for spapros selction
heylf 253fccb
adding test data for spapros
heylf 07fd5a1
Merge branch 'galaxyproject:main' into spapros
heylf 99cb838
change to 240cells data evaluation.xml
heylf 7ebe909
changes to selection.xml to optimize tests
heylf 172dae2
optimize test data
heylf b651010
Review changed to evaluation.xml
heylf 3784f80
Review changes to macros.xml
heylf 71140ff
Review changes to selection.xml
heylf 7c72a2f
adding image asserts
heylf b8447be
Update tools/spapros/selection.xml
bgruening 620b98a
Update selection.xml
bgruening c08e695
synthax fix selection.xml
heylf 6d5ed41
Merge branch 'spapros' of https://github.com/heylf/tools-iuc into spa…
heylf 934c8a0
bugfix selection.xml
heylf 8bc658d
changes to marker_out_test4.tsv
heylf 2748ce4
solving issue with line switches of marker files
heylf 0219dd0
fix to slection.xml tests
heylf 1b71a09
changes to ci and pr yaml to take tifffile into account
heylf 2b80379
Revert "changes to ci and pr yaml to take tifffile into account"
heylf 13d705d
Merge branch 'main' into spapros
bgruening d0babbe
Merge branch 'main' into spapros
bgruening 531e301
remove file comparisions
bgruening 7a2ff46
rsolve merge conflict for selection.xml
heylf bfd0244
resolve assert for evaluation.xml
heylf 4562f31
remove pngs
heylf fe3e50a
bugfix selection.xml
heylf 155273d
updating marker_out.tsvs
heylf 34c52ca
fixing image differnece for slection.xml
heylf 925a569
fixing image differnece for slection.xml
heylf 581b88a
fix typo
heylf 24033e2
figuring out reproducibility isse
heylf 090b6b9
Try to fix reproducibility issue
heylf 61333c2
Try to fix reproducibility issue
heylf d5b3878
Try to fix reproducibility issue
heylf 5fcd4ea
Try to fix reproducibility issue
heylf 57821d9
figureing out what is going on
heylf dc2eb3b
figureing out what is going on
heylf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| name: spapros | ||
| owner: iuc | ||
| description: "Select and evaluate probe sets for targeted spatial transcriptomics." | ||
| homepage_url: https://github.com/theislab/spapros | ||
| long_description: | | ||
| Spapros is a python package that provides a pipeline for probe set selection and evaluation for targeted spatial transcriptomics data. | ||
| remote_repository_url: https://github.com/galaxyproject/tools-iuc/tree/master/tools/spapros/ | ||
| type: unrestricted | ||
| categories: | ||
| - Transcriptomics | ||
| - Sequence Analysis | ||
| auto_tool_repositories: | ||
| name_template: "{{ tool_id }}" | ||
| description_template: "Wrapper for the spapros tool suite: {{ tool_name }}" | ||
| suite: | ||
| name: "suite_spapros" | ||
| description: "Spapros - Probe selection and evaluation" | ||
| long_description: | | ||
| Spapros is a python package that provides a pipeline for probe set selection and evaluation for targeted spatial transcriptomics data. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,95 @@ | ||
| <macros> | ||
| <token name="@TOOL_VERSION@">0.1.5</token> | ||
| <token name="@VERSION_SUFFIX@">0</token> | ||
| <token name="@profile@">22.05</token> | ||
| <xml name="requirements"> | ||
| <requirements> | ||
| <requirement type="package" version="@TOOL_VERSION@">spapros</requirement> | ||
| <yield /> | ||
| </requirements> | ||
| </xml> | ||
| <xml name="creators"> | ||
| <creator> | ||
| <organization name="European Galaxy Team" url="https://galaxyproject.org/eu/" /> | ||
| </creator> | ||
| </xml> | ||
| <xml name="citations"> | ||
| <citations> | ||
| <citation type="doi">10.1101/2022.08.16.504115</citation> | ||
| <citation type="doi">10.1093/gigascience/giaa102</citation> | ||
| </citations> | ||
| </xml> | ||
| <xml name="version_command"> | ||
| <version_command><![CDATA[python -c "import spapros;print('%s' % spapros.__version__ )"]]></version_command> | ||
| </xml> | ||
| <token name="@CMD@"><![CDATA[ | ||
| cp '$adata' 'anndata.h5ad' && | ||
| cat '$script_file' > '$hidden_output' && | ||
| python '$script_file' >> '$hidden_output' && | ||
| ls . >> '$hidden_output' | ||
| ]]> | ||
| </token> | ||
| <token name="@CMD_imports@"><![CDATA[ | ||
| import spapros as sp | ||
| import os | ||
| import pandas as pd | ||
| import scanpy as sc | ||
| import matplotlib as mpl | ||
| import matplotlib.pyplot as plt | ||
| ]]> | ||
| </token> | ||
| <token name="@CMD_plot@"><![CDATA[ | ||
| #if $method.set_ids != 'all' and $method.set_ids != '': | ||
| set_ids=[$method.set_ids], | ||
| #end if | ||
| save='plot.$format', | ||
| show=False | ||
| ]]> | ||
| </token> | ||
| <xml name="set_ids"> | ||
| <param name="set_ids" type="text" value="all" optional="true" label="List of probeset ids (comma seperated, e.g., DE,HVG,random)" help="Kepp it with all or empty to select all probeset ids."/> | ||
| </xml> | ||
| <xml name="sanitize_query" token_validinitial="string.printable"> | ||
| <sanitizer> | ||
| <valid initial="@VALIDINITIAL@"> | ||
| <remove value="'" /> | ||
| </valid> | ||
| </sanitizer> | ||
| </xml> | ||
| <xml name="sanitize_vectors" token_validinitial="string.digits"> | ||
| <sanitizer> | ||
| <valid initial="@VALIDINITIAL@"> | ||
| <add value=","/> | ||
| </valid> | ||
| </sanitizer> | ||
| </xml> | ||
| <xml name="inputs_anndata"> | ||
| <param name="adata" type="data" format="h5ad" label="Annotated data matrix"/> | ||
| </xml> | ||
| <token name="@CMD_read_inputs@"><![CDATA[ | ||
| adata = sc.read_h5ad('anndata.h5ad') | ||
| ]]> | ||
| </token> | ||
| <xml name="inputs_common_advanced"> | ||
| <param name="show_log" type="boolean" checked="false" label="Output Log?" /> | ||
| </xml> | ||
| <xml name="param_plot_format"> | ||
| <param name="format" type="select" label="Format for saving figures"> | ||
| <option value="png">png</option> | ||
| <option value="pdf">pdf</option> | ||
| <option value="svg">svg</option> | ||
| </param> | ||
| </xml> | ||
| <xml name="param_markerset"> | ||
| <param name="markerset" type="data" format="tabular" label="Markerset tabular file with rows=conditions (e.g., celltypes) and column=features (e.g., genes)" help="This is beeing used to calculate the corelations betweens your probeset features and marker features. Marker features are for example genes that you know are important for your condition (e.g., celltypes)."/> | ||
| <param name="header_markerset" type="select" optional="false" label="Header in the list of markers?"> | ||
| <option value="included">Header included</option> | ||
| <option value="not_included">Header not included</option> | ||
| </param> | ||
| </xml> | ||
| <xml name="hidden_outputs"> | ||
| <data name="hidden_output" format="txt" label="Log file" > | ||
| <filter>show_log</filter> | ||
| </data> | ||
| </xml> | ||
| </macros> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.