# HG changeset patch # User iuc # Date 1764088854 0 # Node ID d258720d9a42846f5c0a9a352e64019a5c7dacab # Parent d3ea0ba3d0660a84e4f740311ead5e2f8b49b84e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snapatac2 commit e0f59fae19e57f54ae0c351a16dd1805d12aba1d diff -r d3ea0ba3d066 -r d258720d9a42 dimension_reduction_clustering.xml --- a/dimension_reduction_clustering.xml Thu Nov 07 13:07:58 2024 +0000 +++ b/dimension_reduction_clustering.xml Tue Nov 25 16:40:54 2025 +0000 @@ -9,21 +9,49 @@ + - + + - + - + @@ -170,9 +223,18 @@ + + + + + + + + + - - + + @@ -181,21 +243,21 @@ - + - + - + - + @@ -206,10 +268,11 @@ + - + @@ -217,7 +280,7 @@ - + @@ -225,9 +288,9 @@ - + - + @@ -238,16 +301,16 @@ - - + - + @@ -255,23 +318,20 @@ - + - + advanced_common['show_log'] - - method['method'] and 'tl.diff_test' in method['method'] - - + @@ -283,7 +343,7 @@ - + @@ -291,13 +351,46 @@ - + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + +
- + @@ -308,24 +401,27 @@ - + - + + + + + - + - - +
@@ -333,7 +429,7 @@
- + @@ -341,13 +437,17 @@ - + + + + +
- + @@ -361,7 +461,7 @@ - + @@ -371,13 +471,17 @@ - + + + + + - + @@ -391,7 +495,7 @@ - + @@ -401,13 +505,17 @@ - + + + + + - + @@ -418,20 +526,24 @@ - + - + + + + + - + @@ -443,7 +555,7 @@ - + @@ -451,13 +563,17 @@ - + + + + + - + @@ -470,7 +586,7 @@ - + @@ -479,13 +595,17 @@ - + + + + + - - + - + @@ -515,7 +639,7 @@ - + @@ -523,7 +647,11 @@ - + + + + +
`__ +`__ + +Compute Laplacian Eigenmaps simultaneously on multiple modalities, with linear space and time complexity, using `tl.multi_spectral` +=================================================================================================================================== + +This is similar to `spectral`, but it can work on multiple modalities. + +More details on the `SnapATAC2 documentation +`__ Compute Umap, using `tl.umap` ============================= @@ -543,7 +679,7 @@ Compute Umap More details on the `SnapATAC2 documentation -`__ +`__ Compute a neighborhood graph of observations, using `pp.knn` ============================================================ @@ -553,7 +689,7 @@ Computes a neighborhood graph of observations stored in adata using the method specified by method. The distance metric used is Euclidean. More details on the `SnapATAC2 documentation -`__ +`__ Cluster cells into subgroups, using `tl.leiden` =============================================== @@ -563,7 +699,7 @@ Cluster cells using the Leiden algorithm, an improved version of the Louvain algorithm. It has been proposed for single-cell analysis by. This requires having ran `knn`. More details on the `SnapATAC2 documentation -`__ +`__ Cluster cells into subgroups using the K-means algorithm, using `tl.kmeans` =========================================================================== @@ -571,7 +707,7 @@ Cluster cells into subgroups using the K-means algorithm, a classical algorithm in data mining. More details on the `SnapATAC2 documentation -`__ +`__ Cluster cells into subgroups using the DBSCAN algorithm, using `tl.dbscan` ========================================================================== @@ -579,7 +715,7 @@ Cluster cells into subgroups using the DBSCAN algorithm. More details on the `SnapATAC2 documentation -`__ +`__ Cluster cells into subgroups using the HDBSCAN algorithm, using `tl.hdbscan` ============================================================================ @@ -587,17 +723,17 @@ Cluster cells into subgroups using the HDBSCAN algorithm. More details on the `SnapATAC2 documentation -`__ +`__ -Aggregate values in adata.X in a row-wise fashion, using `tl.aggregate_X` -========================================================================= +.. Aggregate values in adata.X in a row-wise fashion, using `tl.aggregate_X` +.. ========================================================================= -Aggregate values in adata.X in a row-wise fashion. +.. Aggregate values in adata.X in a row-wise fashion. -Aggregate values in adata.X in a row-wise fashion. This is used to compute RPKM or RPM values stratified by user-provided groupings. +.. Aggregate values in adata.X in a row-wise fashion. This is used to compute RPKM or RPM values stratified by user-provided groupings. -More details on the `SnapATAC2 documentation -`__ +.. More details on the `SnapATAC2 documentation +.. `__ Aggregate cells into pseudo-cells, using `tl.aggregate_cells` ============================================================= @@ -607,7 +743,7 @@ Aggregate cells into pseudo-cells by iterative clustering. More details on the `SnapATAC2 documentation -`__ +`__ ]]> diff -r d3ea0ba3d066 -r d258720d9a42 macros.xml --- a/macros.xml Thu Nov 07 13:07:58 2024 +0000 +++ b/macros.xml Tue Nov 25 16:40:54 2025 +0000 @@ -1,7 +1,7 @@ - 2.6.4 - 1 - 23.0 + 2.8.0 + 0 + 24.0 snapatac @@ -9,168 +9,74 @@ snapatac2 - plotly - python-kaleido - polars - pyarrow - python-igraph - hdbscan - harmonypy - scanorama - macs3 - multiprocess - leidenalg + hdbscan + leidenalg + umap-learn + xgboost + python-kaleido + polars + plotly + python-kaleido + harmonypy + scanorama - + - - + ]]> '$hidden_output' && python '$script_file' >> '$hidden_output' && touch 'anndata_info.txt' && - cat 'anndata_info.txt' @CMD_prettify_stdout@ - ]]> - - - + + + fasta.fa && + echo "Using built-in FASTA: '$method.fasta_file_condi.fasta_pre_installed.fields.name'" >&2 && + #else: + #if $method.fasta_file_condi.fasta_history.ext.endswith('.gz') + zcat '$method.fasta_file_condi.fasta_history' > fasta.fa && + #else: + ln -s '$method.fasta_file_condi.fasta_history' fasta.fa && + #end if + #end if ]]> - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10.1038/s41592-023-02139-9 - - - - - - - - - - - - - - - - - - - + + - + ]]>
+ + + + + + + + + + + - - + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 10.1038/s41592-023-02139-9 + +
diff -r d3ea0ba3d066 -r d258720d9a42 test-data/all_fasta.loc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/all_fasta.loc Tue Nov 25 16:40:54 2025 +0000 @@ -0,0 +1,1 @@ +hg38 hg38 Human (hg38) ${__HERE__}/chr21_small.fasta.gz \ No newline at end of file diff -r d3ea0ba3d066 -r d258720d9a42 test-data/chr21.gff3.gz Binary file test-data/chr21.gff3.gz has changed diff -r d3ea0ba3d066 -r d258720d9a42 test-data/chr21_small.fasta.gz Binary file test-data/chr21_small.fasta.gz has changed diff -r d3ea0ba3d066 -r d258720d9a42 test-data/cisBP_human.meme.gz Binary file test-data/cisBP_human.meme.gz has changed diff -r d3ea0ba3d066 -r d258720d9a42 test-data/gene_sets.loc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/gene_sets.loc Tue Nov 25 16:40:54 2025 +0000 @@ -0,0 +1,1 @@ +hg38 hg38 hg38GFF ${__HERE__}/chr21.gff3.gz \ No newline at end of file diff -r d3ea0ba3d066 -r d258720d9a42 test-data/meme.loc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/meme.loc Tue Nov 25 16:40:54 2025 +0000 @@ -0,0 +1,1 @@ +cisbp snap.datasets.cis_bp(unique=True) ${__HERE__}/cisBP_human.meme.gz \ No newline at end of file diff -r d3ea0ba3d066 -r d258720d9a42 tool-data/all_fasta.loc.sample --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool-data/all_fasta.loc.sample Tue Nov 25 16:40:54 2025 +0000 @@ -0,0 +1,17 @@ +#This file lists the locations and dbkeys of all the genome and transcriptome fasta files +#under the "genome" directory (a directory that contains a directory +#for each build. This file has the format (white space characters are +#TAB characters): +# +# +# +#So, all_fasta.loc could look something like this: +# +#apiMel4.5 apiMel4.5 Honeybee (Apis mellifera): apiMel4.5 /path/to/genome/apiMel4.5/apiMel4.5.fa +#hg38canon hg38 Human (Homo sapiens): hg38 Canonical /path/to/genome/hg38/hg38canon.fa +#hg38full hg38 Human (Homo sapiens): hg38 Full /path/to/genome/hg38/hg38full.fa +#hg38full.90 hg38 Human (Homo sapiens): hg38 Full Trans v90 /path/to/genome/hg38/hg38fulltrans.fa + +#Your all_fasta.loc file should contain an entry for each individual +#fasta file. So there will be multiple fasta files for each build, +#such as with hg38 above. \ No newline at end of file diff -r d3ea0ba3d066 -r d258720d9a42 tool-data/gene_sets.loc.sample --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool-data/gene_sets.loc.sample Tue Nov 25 16:40:54 2025 +0000 @@ -0,0 +1,14 @@ +# This is a sample file distributed with featureCounts that enables it and other# tools to use gene/exon annotations in the GFF/GTF format. +# +# The gene_sets.loc file syntax is: +# +# +# Please ensure that the above fields are tab separated. +# +# In case you have TWO or MORE providers PER dbkey, the one mentioned +# first in the file, should have the "default" priority. +# +#Example: +# +#Homo_sapiens.GRCh38.90 hg38 GRCh38 (hg38) annotation from Ensembl, release 90 /depot/data2/galaxy/hg38/gene_sets/Homo_sapiens.GRCh38.90.gtf +#Homo_sapiens.GRCh37.87 hg19 GRCh37 (hg19) annotation from Ensembl, release 87 /depot/data2/galaxy/hg19/gene_sets/Homo_sapiens.GRCh37.87.gtf \ No newline at end of file diff -r d3ea0ba3d066 -r d258720d9a42 tool-data/meme.loc.sample --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool-data/meme.loc.sample Tue Nov 25 16:40:54 2025 +0000 @@ -0,0 +1,13 @@ +# This is a sample file distributed with snapatac2 which enables the tool to perform motif enrichment analysis +# +# The meme.loc file syntax is: +# +# +# Please ensure that the above fields are tab separated. +# +# Currently the files should be downloaded manually +# +#Example: +# +#cisbp cis_bp(unique=True) /path/to/cisBP_human.meme.gz +#meuleman_2020 Meuleman_2020 /path/to/Meuleman_2020.meme.gz \ No newline at end of file diff -r d3ea0ba3d066 -r d258720d9a42 tool_data_table_conf.xml.sample --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_data_table_conf.xml.sample Tue Nov 25 16:40:54 2025 +0000 @@ -0,0 +1,17 @@ + + + + value, dbkey, name, path + +
+ + + value, dbkey, name, path + +
+ + + value, name, path + +
+
\ No newline at end of file diff -r d3ea0ba3d066 -r d258720d9a42 tool_data_table_conf.xml.test --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_data_table_conf.xml.test Tue Nov 25 16:40:54 2025 +0000 @@ -0,0 +1,14 @@ + + + value, dbkey, name, path + +
+ + value, dbkey, name, path + +
+ + value, name, path + +
+
\ No newline at end of file