comparison matrix-service.xml @ 0:c127d4124583 draft

planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 67729956c77554abbaf1d4fd0edf19215eff28da-dirty
author ebi-gxa
date Tue, 02 Jul 2019 11:10:16 -0400
parents
children 2e81fbe036b2
comparison
equal deleted inserted replaced
-1:000000000000 0:c127d4124583
1 <?xml version="1.0" encoding="utf-8"?>
2 <tool id="hca_matrix_downloader" name="Human Cell Atlas Matrix Downloader" version="v0.0.2+galaxy0">
3 <description>retrieves expression matrices and metadata from the Human Cell Atlas.</description>
4 <requirements>
5 <requirement type="package" version="0.0.2">hca-matrix-downloader</requirement>
6 </requirements>
7 <command detect_errors="exit_code"><![CDATA[
8
9 hca-matrix-downloader -p '${project}' -f mtx -o out -f '${matrix_format}'
10
11 #if $matrix_format == "mtx":
12 && hca-mtx-to-10x out.mtx .
13 && gunzip -c out.mtx/cells.tsv.gz > exp_design.tsv
14 #end if
15
16 ]]></command>
17
18 <inputs>
19 <param name="project" type="text" value="Single cell transcriptome analysis of human pancreas" label="Human Cell Atlas project name/label/UUID" help="HCA project identifier, can be project title, project label or project UUID."/>
20 <param name="matrix_format" type="select" label="Choose the format of matrix to download" help="Matrix Market or Loom">
21 <option value="mtx" selected="true">Matrix Market</option>
22 <option value="loom">Loom</option>
23 </param>
24 </inputs>
25
26 <outputs>
27 <data name="matrix_mtx" format="txt" from_work_dir="matrix.mtx" label="${tool.name} on ${on_string} matrix.mtx">
28 <filter>matrix_format=="mtx"</filter>
29 </data>
30 <data name="genes_tsv" format="tsv" from_work_dir="genes.tsv" label="${tool.name} on ${on_string} genes.tsv">
31 <filter>matrix_format=="mtx"</filter>
32 </data>
33 <data name="barcode_tsv" format="tsv" from_work_dir="barcodes.tsv" label="${tool.name} on ${on_string} barcodes.tsv">
34 <filter>matrix_format=="mtx"</filter>
35 </data>
36 <data name="cells_meta_tsv" format="tsv" from_work_dir="exp_design.tsv" label="${tool.name} on ${on_string} exp_design.tsv">
37 <filter>matrix_format=="mtx"</filter>
38 </data>
39 <data name="matrix_loom" format="h5" from_work_dir="out.loom" label="${tool.name} on ${on_string} matrix.loom">
40 <filter>matrix_format=="loom"</filter>
41 </data>
42 </outputs>
43
44 <tests>
45 <test>
46 <param name="project" value="Single cell transcriptome analysis of human pancreas"/>
47 <param name="matrix_format" value="mtx"/>
48 <output name="matrix_mtx" file="matrix.mtx" ftype="txt"/>
49 <output name="genes_tsv" file="genes.tsv" ftype="tsv"/>
50 <output name="barcode_tsv" file="barcodes.tsv" ftype="tsv"/>
51 <output name="cells_meta_tsv" file="exp_design.tsv" ftype="tsv"/>
52 </test>
53 </tests>
54
55 <help><![CDATA[
56 ===========================================================================
57 Down expression matrix from HCA projects using HCA DCP's matrix service API
58 ===========================================================================
59
60 The data retrieval tool presented here allows the user to retrieve expression matrices
61 and metadata for any public experiment available at Human Cell Atlas data portal.
62
63 To use it, simply set the name, or label, or ID for the desired project, which can be
64 found at the HCA data browser (https://prod.data.humancellatlas.org/explore/projects),
65 and select the desired matrix format (Matrix Market or Loom).
66
67 Outputs will be:
68
69 - *When "Matrix Market" is seleted, outputs are in 10X-compatible Matrix Market format:*
70
71 1. **Matrix (txt):**
72
73 Contains the expression values for genes (rows) and cells (columns) in raw counts. This
74 text file is formatted as a Matrix Market file, and as such it is accompanied by separate
75 files for the gene identifiers and the cells identifiers.
76
77 2. **Genes (tsv):**
78
79 Identifiers (column repeated) for the genes present in the matrix of expression,
80 in the same order as the matrix rows.
81
82 3. **Barcodes (tsv):**
83
84 Identifiers for the cells of the data matrix. The file is ordered to match the columns
85 of the matrix.
86
87 4. **Experiment Design file (tsv):**
88
89 Contains metadata for the different cells of the experiment.
90
91 - *When "Loom" is selected, output is a single Loom HDF5 file:*
92
93 1. **Loom (h5):**
94
95 Contains expression values for genes (rows) and cells (columns) in raw counts, cell
96 metadata table and gene metadata table, in a single HDF5 file with specification defined
97 in http://linnarssonlab.org/loompy/format/index.html.
98
99 **Version history**
100
101 0.0.2+galaxy0: Initial contribution. Ni Huang and Pablo Moreno, Teichmann Lab at Wellcome Sanger Institute and
102 Expression Atlas team https://www.ebi.ac.uk/gxa/home at EMBL-EBI https://www.ebi.ac.uk/.
103
104 ]]></help>
105 <citations>
106 <citation type="doi">10.7554/eLife.27041</citation>
107 </citations>
108 </tool>