Mercurial > repos > iuc > anndata_import
annotate import.xml @ 7:cfc3f5a57dc6 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
author | iuc |
---|---|
date | Thu, 07 Jan 2021 23:28:53 +0000 |
parents | 32e547223c9e |
children | ae1e5d9d8972 |
rev | line source |
---|---|
7
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
1 <tool id="anndata_import" name="Import Anndata and loom" version="@VERSION@+@GALAXY_VERSION@" profile="20.09"> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
2 <description>from different format</description> |
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"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
6 <param name="barcodes" type="data" format="tabular,txt" label="Barcodes"/> |
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"> |
2
e175d4067b00
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents:
0
diff
changeset
|
16 <requirement type="package" version="1.4.4.post1">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[ |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
20 #if $hd5_format.filetype == 'anndata' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
21 #if $hd5_format.in.adata_format == 'mtx' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
22 mkdir mtx |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
23 #if $hd5_format.in.tenx.use == 'legacy_10x' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
24 && cp '$hd5_format.in.matrix' 'mtx/matrix.mtx' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
25 && cp '$hd5_format.in.tenx.genes' 'mtx/genes.tsv' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
26 && cp '$hd5_format.in.tenx.barcodes' 'mtx/barcodes.tsv' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
27 #else if $hd5_format.in.tenx.use == 'v3_10x' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
28 && cp '$hd5_format.in.matrix' 'mtx/matrix.mtx' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
29 && gzip 'mtx/matrix.mtx' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
30 && cp '$hd5_format.in.tenx.features' 'mtx/features.tsv' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
31 && gzip 'mtx/features.tsv' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
32 && cp '$hd5_format.in.tenx.barcodes' 'mtx/barcodes.tsv' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
33 && gzip 'mtx/barcodes.tsv' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
34 #end if |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
35 && |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
36 #else if $hd5_format.in.adata_format == 'umi_tools' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
37 gzip '$hd5_format.in.input' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
38 && |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
39 #end if |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
40 |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
41 @CMD@ |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
42 |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
43 #if $hd5_format.in.adata_format == 'mtx' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
44 && rm -rf mtx |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
45 #end if |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
46 |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
47 #else: |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
48 python '$__tool_directory__/tsv_to_loompy.py' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
49 -c '${hd5_format.coldata}' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
50 -r '${hd5_format.rowdata}' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
51 -f '${hd5_format.mainmatrix}' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
52 #if $hd5_format.other_files: |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
53 '${hd5_format.other_files}' |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
54 #end if |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
55 #end if |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
56 ]]></command> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
57 <configfiles> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
58 <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
|
59 @CMD_imports@ |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
60 #if $hd5_format.filetype == 'anndata' |
7
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
61 #if $hd5_format.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
|
62 adata = ad.read_loom( |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
63 '$hd5_format.in.input', |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
64 sparse=$hd5_format.in.sparse, |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
65 cleanup=$hd5_format.in.cleanup, |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
66 X_name='$hd5_format.in.x_name', |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
67 obs_names='$hd5_format.in.obs_names', |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
68 var_names='$hd5_format.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
|
69 |
7
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
70 #else if $hd5_format.in.adata_format == 'tabular' |
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
71 #set delimiter=$hd5_format.in.input.metadata.delimiter |
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
72 #if $delimiter != ',' |
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
73 #set delimiter='\\t' |
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
74 #end if |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
75 adata = ad.read_csv( |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
76 '$hd5_format.in.input', |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
77 delimiter='$delimiter', |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
78 first_column_names=$hd5_format.in.first_column_names) |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
79 |
7
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
80 #else if $hd5_format.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
|
81 import scanpy as sc |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
82 adata = sc.read_10x_h5('$hd5_format.in.input') |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
83 |
7
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
84 #else if $hd5_format.in.adata_format == 'mtx' |
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
85 #if $hd5_format.in.tenx.use == 'no' |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
86 adata = ad.read_mtx(filename='$hd5_format.in.matrix') |
7
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
87 #else |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
88 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
|
89 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
|
90 'mtx', |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
91 var_names='$hd5_format.in.tenx.var_names', |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
92 make_unique=$hd5_format.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
|
93 cache=False, |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
94 gex_only=$hd5_format.in.tenx.gex_only) |
7
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
95 #end if |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
96 |
7
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
97 #else if $hd5_format.in.adata_format == 'umi_tools' |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
98 adata = ad.read_umi_tools('${hd5_format.in.input}.gz') |
7
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
99 #end if |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
100 adata.write('anndata.h5ad') |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
101 #end if |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
102 ]]></configfile> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
103 </configfiles> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
104 <inputs> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
105 <conditional name="hd5_format"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
106 <param name="filetype" type="select" label="hd5 format to be created"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
107 <option value="anndata" selected="true">Anndata file</option> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
108 <option value="loom">Loom file</option> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
109 </param> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
110 <when value="anndata"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
111 <conditional name="in"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
112 <param name="adata_format" type="select" label="Format for the annotated data matrix"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
113 <option value="loom">Loom</option> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
114 <option value="tabular">Tabular, CSV, TSV</option> |
5
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
115 <option value="10x_h5">H5 format from Cell ranger or not</option> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
116 <option value="mtx">Matrix Market (mtx), from Cell ranger or not</option> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
117 <option value="umi_tools">UMI tools</option> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
118 </param> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
119 <when value="loom"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
120 <param name="input" type="data" format="loom" label="Annotated data matrix"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
121 <param name="sparse" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Is the data matrix to read sparse?"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
122 <param name="cleanup" type="boolean" truevalue="True" falsevalue="False" checked="false" label="Cleanup?"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
123 <param name="x_name" type="text" value="spliced" label="X_name"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
124 <param name="obs_names" type="text" value="CellID" label="obs_names"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
125 <param name="var_names" type="text" value="Gene" label="var_names"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
126 </when> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
127 <when value="tabular"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
128 <param name="input" type="data" format="tabular,csv,tsv" label="Annotated data matrix"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
129 <param name="first_column_names" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Does the first column store the row names?"/> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
130 </when> |
5
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
131 <when value="10x_h5" > |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
132 <param name="input" type="data" format="h5" label="Data matrix"/> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
133 </when> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
134 <when value="mtx"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
135 <param name="matrix" type="data" format="mtx" label="Matrix"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
136 <conditional name="tenx"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
137 <param name="use" type="select" label="Use 10x Genomics formatted mtx"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
138 <option value="no">No</option> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
139 <option value="legacy_10x">Output from Cell Ranger v2 or earlier versions</option> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
140 <option value="v3_10x">Output from Cell Ranger v3 or later versions</option> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
141 </param> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
142 <when value="no"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
143 <when value="legacy_10x"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
144 <param name="genes" type="data" format="tabular" label="Genes"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
145 <expand macro="params_10x"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
146 </when> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
147 <when value="v3_10x"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
148 <param name="features" type="data" format="tabular" label="Features"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
149 <expand macro="params_10x"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
150 </when> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
151 </conditional> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
152 </when> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
153 <when value="umi_tools"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
154 <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
|
155 </when> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
156 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
157 </when> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
158 <when value="loom"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
159 <param name="mainmatrix" type="data" format="tabular" label="File for main layer of loom file." help="All subsequent tsv must be the same dimensions as this file. When converted back to tsv using hd5 export, this will be labeled as 'mainmatrix.tsv'"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
160 <param name="other_files" type="data" format="tabular" multiple="true" optional="true" label="Add layers" help="Adds layers of same dimension to the loom file. When converted to tsv using hd5 export, these layers will retain their names."/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
161 <param name="coldata" type="data" format="tabular" label="Tsv of column data." help="First row is column attributes, subsequent are values."/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
162 <param name="rowdata" type="data" format="tabular" label="Tsv of row data." help="First row is row attributes, subsequent are values."/> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
163 </when> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
164 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
165 </inputs> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
166 <outputs> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
167 <data name="anndata" format="h5ad" from_work_dir="anndata.h5ad" label="Anndata import on ${on_string}"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
168 <filter>hd5_format['filetype'] == 'anndata'</filter> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
169 </data> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
170 <data name="loomdata" format="loom" from_work_dir="converted.loom" label="Loom import on ${on_string}"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
171 <filter>hd5_format['filetype'] == 'loom'</filter> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
172 </data> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
173 </outputs> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
174 <tests> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
175 <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
|
176 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
177 <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
|
178 <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
|
179 <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
|
180 <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
|
181 <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
|
182 <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
|
183 <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
|
184 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
185 <assert_stdout> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
186 <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
|
187 <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
|
188 <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
|
189 <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
|
190 <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
|
191 <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
|
192 </assert_stdout> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
193 <output name="anndata" value="import.loom.krumsiek11.h5ad" ftype="h5ad" compare="sim_size"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
194 </test> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
195 <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
|
196 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
197 <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
|
198 <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
|
199 <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
|
200 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
201 <assert_stdout> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
202 <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
|
203 <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
|
204 <has_text_matching expression="first_column_names=True"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
205 </assert_stdout> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
206 <output name="anndata" value="import.csv.h5ad" ftype="h5ad" compare="sim_size"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
207 </test> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
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="tabular"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
211 <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
|
212 <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
|
213 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
214 <assert_stdout> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
215 <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
|
216 <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
|
217 <has_text_matching expression="first_column_names=True"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
218 </assert_stdout> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
219 <output name="anndata" value="import.tsv.h5ad" ftype="h5ad" compare="sim_size"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
220 </test> |
7
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
221 <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
|
222 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
223 <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
|
224 <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
|
225 <conditional name="tenx"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
226 <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
|
227 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
228 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
229 <output name="anndata" value="import.mtx.no_10x.h5ad" ftype="h5ad" compare="sim_size"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
230 </test> |
7
cfc3f5a57dc6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 6497f5415b57bedd849b876883574b3f0050741a"
iuc
parents:
5
diff
changeset
|
231 <!--<test> |
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_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
|
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="legacy_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="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
|
238 <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
|
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> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
244 <output name="anndata" value="import.mtx.legacy_10x.h5ad" ftype="h5ad" compare="sim_size"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
245 </test> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
246 <test> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
247 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
248 <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
|
249 <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
|
250 <conditional name="tenx"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
251 <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
|
252 <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
|
253 <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
|
254 <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
|
255 <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
|
256 <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
|
257 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
258 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
259 <output name="anndata" value="import.mtx.v3_10x.h5ad" ftype="h5ad" compare="sim_size"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
260 </test>!--> |
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 expect_num_outputs="1"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
262 <param name="filetype" value="anndata"/> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
263 <conditional name="in"> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
264 <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
|
265 <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
|
266 </conditional> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
267 <output name="anndata" value="import.umi_tools.h5ad" ftype="h5ad" compare="sim_size"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
268 </test> |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
269 <test expect_num_outputs="1"> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
270 <param name="filetype" value="loom"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
271 <param name="mainmatrix" value="firstlayer.tsv"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
272 <param name="other_files" value="secondlayer.tsv"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
273 <param name="coldata" value="cols.tsv"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
274 <param name="rowdata" value="rows.tsv"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
275 <output name="loomdata" value="converted.loom.test" ftype="loom" compare="sim_size"/> |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
276 </test> |
5
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
277 <test expect_num_outputs="1"><!-- 10x h5 test --> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
278 <conditional name="hd5_format"> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
279 <param name="filetype" value="anndata"/> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
280 <conditional name="in"> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
281 <param name="adata_format" value="10x_h5"/> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
282 <param name="input" value="dropletutils_input.h5"/> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
283 </conditional> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
284 </conditional> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
285 <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
|
286 <assert_contents> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
287 <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
|
288 <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
|
289 <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
|
290 </assert_contents> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
291 </output> |
32e547223c9e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 5744259254d4254a29cb7a6687fbbfd103301064"
iuc
parents:
3
diff
changeset
|
292 </test> |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
293 </tests> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
294 <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
|
295 |
0
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
296 **What it does** |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
297 |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
298 This tool creates an AnnData or loom dataset 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
|
299 |
3
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
300 - Loom (`read_loom method <https://anndata.readthedocs.io/en/latest/anndata.read_loom.html>`__) |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
301 - Tabular (`read_csv method <https://anndata.readthedocs.io/en/latest/anndata.read_csv.html>`__) |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
302 - Matrix Market (mtx), from Cell ranger or not (`read_mtx method <https://anndata.readthedocs.io/en/latest/anndata.read_mtx.html>`__) |
b5c7ba11401d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit dc9d19d1f902f3ed54009cd0e68c8518c284b856"
iuc
parents:
2
diff
changeset
|
303 - UMI tools (`read_umi_tools method <https://anndata.readthedocs.io/en/latest/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
|
304 |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
305 @HELP@ |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
306 ]]></help> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
307 <expand macro="citations"/> |
69e2275406fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/anndata/ commit 2e16aca90c4fc6f13bd024eed43bc4adbf5967da
iuc
parents:
diff
changeset
|
308 </tool> |