Mercurial > repos > iuc > anndata_import
annotate import.xml @ 14:6f143dfe902a draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit c1d84c1850c53deccc384de3960d2cec37bb2869
author | iuc |
---|---|
date | Fri, 08 Nov 2024 21:59:09 +0000 |
parents | d330b3082107 |
children |
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> |
14
6f143dfe902a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit c1d84c1850c53deccc384de3960d2cec37bb2869
iuc
parents:
13
diff
changeset
|
15 <expand macro="bio_tools"/> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
16 <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
|
17 <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
|
18 </expand> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
19 <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
|
20 <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
|
21 #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
|
22 mkdir mtx |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
23 #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
|
24 && 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
|
25 && 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
|
26 && 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
|
27 #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
|
28 && 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
|
29 && 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
|
30 && 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
|
31 && 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
|
32 && 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
|
33 && 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
|
34 #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
|
35 && |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
36 #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
|
37 ## 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
|
38 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
|
39 && |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
40 #end if |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
41 |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
42 @CMD@ |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
43 ]]></command> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
44 <configfiles> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
45 <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
|
46 @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
|
47 #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
|
48 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
|
49 '$in.input', |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
50 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
|
51 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
|
52 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
|
53 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
|
54 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
|
55 |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
56 #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
|
57 #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
|
58 #if $delimiter != ',' |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
59 #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
|
60 #end if |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
61 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
|
62 '$in.input', |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
63 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
|
64 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
|
65 ## 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
|
66 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
|
67 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
|
68 |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
69 #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
|
70 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
|
71 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
|
72 |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
73 #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
|
74 #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
|
75 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
|
76 #else |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
77 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
|
78 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
|
79 'mtx', |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
80 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
|
81 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
|
82 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
|
83 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
|
84 #end if |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
85 |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
86 #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
|
87 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
|
88 #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
|
89 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
|
90 print(adata) |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
91 ]]></configfile> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
92 </configfiles> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
93 <inputs> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
94 <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
|
95 <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
|
96 <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
|
97 <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
|
98 <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
|
99 <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
|
100 <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
|
101 </param> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
102 <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
|
103 <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
|
104 <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
|
105 <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
|
106 <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
|
107 <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
|
108 <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
|
109 </when> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
110 <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
|
111 <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
|
112 <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
|
113 </when> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
114 <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
|
115 <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
|
116 </when> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
117 <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
|
118 <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
|
119 <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
|
120 <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
|
121 <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
|
122 <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
|
123 <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
|
124 </param> |
13
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="no"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
126 <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
|
127 <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
|
128 <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
|
129 </when> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
130 <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
|
131 <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
|
132 <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
|
133 </when> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
134 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
135 </when> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
136 <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
|
137 <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
|
138 </when> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
139 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
140 </inputs> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
141 <outputs> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
142 <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
|
143 </outputs> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
144 <tests> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
145 <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
|
146 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
147 <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
|
148 <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
|
149 <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
|
150 <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
|
151 <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
|
152 <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
|
153 <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
|
154 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
155 <assert_stdout> |
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="ad.read_loom"/> |
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="sparse=True"/> |
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="cleanup=False"/> |
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="X_name='spliced'"/> |
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="obs_names='CellID'"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
161 <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
|
162 </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
|
163 <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
|
164 <assert_contents> |
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/cell_type"/> |
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="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
|
167 <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
|
168 </assert_contents> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
169 </output> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
170 </test> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
171 <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
|
172 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
173 <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
|
174 <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
|
175 <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
|
176 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
177 <assert_stdout> |
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="ad.read_csv"/> |
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="delimiter=','"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
180 <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
|
181 <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
|
182 </assert_stdout> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
183 </test> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
184 <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
|
185 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
186 <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
|
187 <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
|
188 <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
|
189 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
190 <assert_stdout> |
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="ad.read_csv"/> |
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="delimiter='\\t'"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
193 <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
|
194 <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
|
195 </assert_stdout> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
196 </test> |
7
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
197 <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
|
198 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
199 <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
|
200 <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
|
201 <conditional name="tenx"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
202 <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
|
203 </conditional> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
204 </conditional> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
205 <assert_stdout> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
206 <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
|
207 </assert_stdout> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
208 </test> |
12
93dd15e13e6a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 656ce7ff596a8870b77848469e85b406c7bd9344
iuc
parents:
11
diff
changeset
|
209 <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
|
210 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
211 <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
|
212 <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
|
213 <conditional name="tenx"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
214 <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
|
215 <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
|
216 <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
|
217 <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
|
218 <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
|
219 <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
|
220 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
221 </conditional> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
222 <assert_stdout> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
223 <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
|
224 </assert_stdout> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
225 <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
|
226 <assert_contents> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
227 <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
|
228 </assert_contents> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
229 </output> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
230 </test> |
12
93dd15e13e6a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 656ce7ff596a8870b77848469e85b406c7bd9344
iuc
parents:
11
diff
changeset
|
231 <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
|
232 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
233 <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
|
234 <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
|
235 <conditional name="tenx"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
236 <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
|
237 <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
|
238 <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
|
239 <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
|
240 <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
|
241 <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
|
242 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
243 </conditional> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
244 <assert_stdout> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
245 <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
|
246 </assert_stdout> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
247 <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
|
248 <assert_contents> |
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/gene_ids"/> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
250 <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
|
251 </assert_contents> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
252 </output> |
12
93dd15e13e6a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 656ce7ff596a8870b77848469e85b406c7bd9344
iuc
parents:
11
diff
changeset
|
253 </test> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
254 <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
|
255 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
256 <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
|
257 <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
|
258 </conditional> |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
259 <assert_stdout> |
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
260 <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
|
261 </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
|
262 </test> |
5
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
263 <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
|
264 <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
|
265 <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
|
266 <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
|
267 </conditional> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
268 <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
|
269 <assert_contents> |
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="HDF"/> |
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="ENSG00000258728" /> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
272 <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
|
273 </assert_contents> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
274 </output> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
275 </test> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
276 </tests> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
277 <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
|
278 |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
279 **What it does** |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
280 |
13
d330b3082107
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 67b3808b56df343798263ff0c905df8cb789edfa
iuc
parents:
12
diff
changeset
|
281 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
|
282 |
14
6f143dfe902a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit c1d84c1850c53deccc384de3960d2cec37bb2869
iuc
parents:
13
diff
changeset
|
283 - Loom (`read_loom method <https://anndata.readthedocs.io/en/latest/generated/anndata.io.read_loom.html>`__) |
6f143dfe902a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit c1d84c1850c53deccc384de3960d2cec37bb2869
iuc
parents:
13
diff
changeset
|
284 - Tabular (`read_csv method <https://anndata.readthedocs.io/en/latest/generated/anndata.io.read_csv.html>`__) |
6f143dfe902a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit c1d84c1850c53deccc384de3960d2cec37bb2869
iuc
parents:
13
diff
changeset
|
285 - Matrix Market (mtx), from Cell ranger or not (`read_mtx method <https://anndata.readthedocs.io/en/latest/generated/anndata.io.read_mtx.html>`__) |
6f143dfe902a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit c1d84c1850c53deccc384de3960d2cec37bb2869
iuc
parents:
13
diff
changeset
|
286 - UMI tools (`read_umi_tools method <https://anndata.readthedocs.io/en/latest/generated/anndata.io.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
|
287 |
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 ]]></help> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
290 <expand macro="citations"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
291 </tool> |