Mercurial > repos > iuc > anndata_import
annotate import.xml @ 13:d330b3082107 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
author | iuc |
---|---|
date | Sat, 14 Sep 2024 19:58:24 +0000 |
parents | 93dd15e13e6a |
children | 6f143dfe902a |
rev | line source |
---|---|
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
1 <tool id="anndata_import" name="Import Anndata" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
2 <description>from different formats</description> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
3 <macros> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
5 <xml name="params_10x"> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
6 <param name="barcodes" type="data" format="tabular,txt" label="Barcodes (whitelist) file with one barcode per line"/> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
7 <param name="var_names" type="select" label="Variables index"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
8 <option value="gene_symbols">gene_symbols</option> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
9 <option value="gene_ids">gene_ids</option> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
10 </param> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
11 <param name="make_unique" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Make the variable index unique by appending '-1', '-2'?"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
12 <param name="gex_only" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Keep only 'Gene Expression' data and ignore other feature types?"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
13 </xml> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
14 </macros> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
15 <expand macro="requirements"> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
16 <requirement type="package" version="1.10.2">scanpy</requirement> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
17 </expand> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
18 <expand macro="version_command"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
19 <command detect_errors="exit_code"><![CDATA[ |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
20 #if $in.adata_format == 'mtx' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
21 mkdir mtx |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
22 #if $in.tenx.use == 'legacy_10x' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
23 && cp '$in.matrix' 'mtx/matrix.mtx' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
24 && cp '$in.tenx.genes' 'mtx/genes.tsv' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
25 && cp '$in.tenx.barcodes' 'mtx/barcodes.tsv' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
26 #else if $in.tenx.use == 'v3_10x' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
27 && cp '$in.matrix' 'mtx/matrix.mtx' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
28 && gzip 'mtx/matrix.mtx' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
29 && cp '$in.tenx.features' 'mtx/features.tsv' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
30 && gzip 'mtx/features.tsv' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
31 && cp '$in.tenx.barcodes' 'mtx/barcodes.tsv' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
32 && gzip 'mtx/barcodes.tsv' |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
33 #end if |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
34 && |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
35 #else if $in.adata_format == 'umi_tools' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
36 ## avoid gzipping in the inputdir |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
37 gzip -c '$in.input' > umi_tools_input.gz |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
38 && |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
39 #end if |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
40 |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
41 @CMD@ |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
42 ]]></command> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
43 <configfiles> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
44 <configfile name="script_file"><![CDATA[ |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
45 @CMD_imports@ |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
46 #if $in.adata_format == 'loom' |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
47 adata = ad.read_loom( |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
48 '$in.input', |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
49 sparse=$in.sparse, |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
50 cleanup=$in.cleanup, |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
51 X_name='$in.x_name', |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
52 obs_names='$in.obs_names', |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
53 var_names='$in.var_names') |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
54 |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
55 #else if $in.adata_format == 'tabular' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
56 #set delimiter=$in.input.metadata.delimiter |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
57 #if $delimiter != ',' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
58 #set delimiter='\\t' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
59 #end if |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
60 adata = ad.read_csv( |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
61 '$in.input', |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
62 delimiter='$delimiter', |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
63 first_column_names=$in.first_column_names) |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
64 ## convert into sparse matrix. Dense matrix needs large disk space and higher access times |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
65 from scipy.sparse import csr_matrix |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
66 adata.X = csr_matrix(adata.X) |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
67 |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
68 #else if $in.adata_format == '10x_h5' |
5
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
69 import scanpy as sc |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
70 adata = sc.read_10x_h5('$in.input') |
5
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
71 |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
72 #else if $in.adata_format == 'mtx' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
73 #if $in.tenx.use == 'no' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
74 adata = ad.read_mtx(filename='$in.matrix') |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
75 #else |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
76 import scanpy as sc |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
77 adata = sc.read_10x_mtx( |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
78 'mtx', |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
79 var_names='$in.tenx.var_names', |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
80 make_unique=$in.tenx.make_unique, |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
81 cache=False, |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
82 gex_only=$in.tenx.gex_only) |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
83 #end if |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
84 |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
85 #else if $in.adata_format == 'umi_tools' |
9
499059586799
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 53df027ff1c3c3f580b2cc356887b0c8cce82a94"
iuc
parents:
8
diff
changeset
|
86 adata = ad.read_umi_tools('umi_tools_input.gz') |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
87 #end if |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
88 adata.write('anndata.h5ad', compression='gzip') |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
89 print(adata) |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
90 ]]></configfile> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
91 </configfiles> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
92 <inputs> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
93 <conditional name="in"> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
94 <param name="adata_format" type="select" label="Create annadata from"> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
95 <option value="loom">Loom data</option> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
96 <option value="tabular">Tabular, CSV, TSV</option> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
97 <option value="10x_h5">H5 format from Cell ranger or not</option> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
98 <option value="mtx">Matrix Market (mtx), from Cell ranger or not</option> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
99 <option value="umi_tools">UMI tools count matrix</option> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
100 </param> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
101 <when value="loom"> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
102 <param name="input" type="data" format="loom" label="Annotated data matrix"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
103 <param name="sparse" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Is the data matrix to read sparse?"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
104 <param name="cleanup" type="boolean" truevalue="True" falsevalue="False" checked="false" label="Cleanup?"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
105 <param name="x_name" type="text" value="spliced" label="X_name"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
106 <param name="obs_names" type="text" value="CellID" label="obs_names"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
107 <param name="var_names" type="text" value="Gene" label="var_names"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
108 </when> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
109 <when value="tabular"> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
110 <param name="input" type="data" format="tabular,csv,tsv" label="Annotated data matrix"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
111 <param name="first_column_names" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Does the first column store the row names?"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
112 </when> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
113 <when value="10x_h5" > |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
114 <param name="input" type="data" format="h5" label="Data matrix"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
115 </when> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
116 <when value="mtx"> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
117 <param name="matrix" type="data" format="mtx" label="Matrix in Matrix Market format"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
118 <conditional name="tenx"> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
119 <param name="use" type="select" label="Use 10x Genomics formatted mtx"> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
120 <option value="no">No</option> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
121 <option value="legacy_10x">Output from Cell Ranger v2 or earlier versions</option> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
122 <option value="v3_10x">Output from Cell Ranger v3 or later versions</option> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
123 </param> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
124 <when value="no"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
125 <when value="legacy_10x"> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
126 <param name="genes" type="data" format="tabular" label="2-column genes file with gene id and gene name"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
127 <expand macro="params_10x"/> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
128 </when> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
129 <when value="v3_10x"> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
130 <param name="features" type="data" format="tabular" label="3-column features file with feature id, feature name and feature type" help="For scRNA-seq, features are genes. The 3rd column typically contains the word 'Gene Expression'"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
131 <expand macro="params_10x"/> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
132 </when> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
133 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
134 </when> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
135 <when value="umi_tools"> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
136 <param name="input" type="data" format="tabular" label="condensed count matrix from UMI tools"/> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
137 </when> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
138 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
139 </inputs> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
140 <outputs> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
141 <data name="anndata" format="h5ad" from_work_dir="anndata.h5ad" label="Anndata import on ${on_string}"/> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
142 </outputs> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
143 <tests> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
144 <test expect_num_outputs="1"> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
145 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
146 <param name="adata_format" value="loom"/> |
7
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
147 <param name="input" ftype="loom" value="krumsiek11.loom" /> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
148 <param name="sparse" value="True"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
149 <param name="cleanup" value="False"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
150 <param name="x_name" value="spliced"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
151 <param name="obs_names" value="CellID" /> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
152 <param name="var_names" value="Gene"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
153 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
154 <assert_stdout> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
155 <has_text_matching expression="ad.read_loom"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
156 <has_text_matching expression="sparse=True"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
157 <has_text_matching expression="cleanup=False"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
158 <has_text_matching expression="X_name='spliced'"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
159 <has_text_matching expression="obs_names='CellID'"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
160 <has_text_matching expression="var_names='Gene'"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
161 </assert_stdout> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
162 <output name="anndata" ftype="h5ad"> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
163 <assert_contents> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
164 <has_h5_keys keys="obs/cell_type"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
165 <has_h5_keys keys="obs/obs_names"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
166 <has_h5_keys keys="var/var_names"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
167 </assert_contents> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
168 </output> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
169 </test> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
170 <test expect_num_outputs="1"> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
171 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
172 <param name="adata_format" value="tabular"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
173 <param name="input" value="adata.csv"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
174 <param name="first_column_names" value="true"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
175 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
176 <assert_stdout> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
177 <has_text_matching expression="ad.read_csv"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
178 <has_text_matching expression="delimiter=','"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
179 <has_text_matching expression="first_column_names=True"/> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
180 <has_text_matching expression="3 × 2"/> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
181 </assert_stdout> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
182 </test> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
183 <test expect_num_outputs="1"> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
184 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
185 <param name="adata_format" value="tabular"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
186 <param name="input" value="adata.tsv"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
187 <param name="first_column_names" value="true"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
188 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
189 <assert_stdout> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
190 <has_text_matching expression="ad.read_csv"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
191 <has_text_matching expression="delimiter='\\t'"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
192 <has_text_matching expression="first_column_names=True"/> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
193 <has_text_matching expression="3 × 2"/> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
194 </assert_stdout> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
195 </test> |
7
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
196 <test expect_num_outputs="1"> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
197 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
198 <param name="adata_format" value="mtx"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
199 <param name="matrix" value="matrix_10x_v1.2.0.mtx"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
200 <conditional name="tenx"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
201 <param name="use" value="no"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
202 </conditional> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
203 </conditional> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
204 <assert_stdout> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
205 <has_text_matching expression="343 × 12"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
206 </assert_stdout> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
207 </test> |
12
93dd15e13e6a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 656ce7ff596a8870b77848469e85b406c7bd9344
iuc
parents:
11
diff
changeset
|
208 <test expect_num_outputs="1"> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
209 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
210 <param name="adata_format" value="mtx"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
211 <param name="matrix" value="matrix_10x_v1.2.0.mtx"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
212 <conditional name="tenx"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
213 <param name="use" value="legacy_10x"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
214 <param name="genes" value="genes_10x_v1.2.0.tsv"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
215 <param name="barcodes" value="barcodes_10x_v1.2.0.tsv"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
216 <param name="var_names" value="gene_symbols"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
217 <param name="make_unique" value="true"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
218 <param name="gex_only" value="true"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
219 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
220 </conditional> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
221 <assert_stdout> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
222 <has_text_matching expression="12 × 343"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
223 </assert_stdout> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
224 <output name="anndata" ftype="h5ad"> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
225 <assert_contents> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
226 <has_h5_keys keys="var/gene_ids"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
227 </assert_contents> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
228 </output> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
229 </test> |
12
93dd15e13e6a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 656ce7ff596a8870b77848469e85b406c7bd9344
iuc
parents:
11
diff
changeset
|
230 <test expect_num_outputs="1"> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
231 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
232 <param name="adata_format" value="mtx"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
233 <param name="matrix" value="matrix_10x_v3.0.0.mtx"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
234 <conditional name="tenx"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
235 <param name="use" value="v3_10x"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
236 <param name="features" value="features_10x_v3.0.0.tsv"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
237 <param name="barcodes" value="barcodes_10x_v3.0.0.tsv"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
238 <param name="var_names" value="gene_symbols"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
239 <param name="make_unique" value="true"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
240 <param name="gex_only" value="true"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
241 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
242 </conditional> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
243 <assert_stdout> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
244 <has_text_matching expression="1107 × 507"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
245 </assert_stdout> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
246 <output name="anndata" ftype="h5ad"> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
247 <assert_contents> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
248 <has_h5_keys keys="var/gene_ids"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
249 <has_h5_keys keys="var/feature_types"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
250 </assert_contents> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
251 </output> |
12
93dd15e13e6a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 656ce7ff596a8870b77848469e85b406c7bd9344
iuc
parents:
11
diff
changeset
|
252 </test> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
253 <test expect_num_outputs="1"> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
254 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
255 <param name="adata_format" value="umi_tools"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
256 <param name="input" value="umi_tools.tsv"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
257 </conditional> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
258 <assert_stdout> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
259 <has_text_matching expression="2 × 13"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
260 </assert_stdout> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
261 </test> |
5
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
262 <test expect_num_outputs="1"><!-- 10x h5 test --> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
263 <conditional name="in"> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
264 <param name="adata_format" value="10x_h5"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
265 <param name="input" value="dropletutils_input.h5"/> |
5
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
266 </conditional> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
267 <output name="anndata"> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
268 <assert_contents> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
269 <has_text text="HDF"/> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
270 <has_text text="ENSG00000258728" /> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
271 <has_text text="GCGAGAAAGTTGTAGA" /> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
272 </assert_contents> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
273 </output> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
274 </test> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
275 </tests> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
276 <help><![CDATA[ |
7
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
277 |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
278 **What it does** |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
279 |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
280 This tool creates an AnnData from several input types: |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
281 |
10
55e35e9203cf
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 58ea92c594280588f6045093d77af6d7d885185d"
iuc
parents:
9
diff
changeset
|
282 - Loom (`read_loom method <https://anndata.readthedocs.io/en/latest/generated/anndata.read_loom.html>`__) |
55e35e9203cf
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 58ea92c594280588f6045093d77af6d7d885185d"
iuc
parents:
9
diff
changeset
|
283 - Tabular (`read_csv method <https://anndata.readthedocs.io/en/latest/generated/anndata.read_csv.html>`__) |
55e35e9203cf
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 58ea92c594280588f6045093d77af6d7d885185d"
iuc
parents:
9
diff
changeset
|
284 - Matrix Market (mtx), from Cell ranger or not (`read_mtx method <https://anndata.readthedocs.io/en/latest/generated/anndata.read_mtx.html>`__) |
55e35e9203cf
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 58ea92c594280588f6045093d77af6d7d885185d"
iuc
parents:
9
diff
changeset
|
285 - UMI tools (`read_umi_tools method <https://anndata.readthedocs.io/en/latest/generated/anndata.read_umi_tools.html>`__) |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
286 |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
287 @HELP@ |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
288 ]]></help> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
289 <expand macro="citations"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
290 </tool> |