comparison dropletutils-read-10x.xml @ 0:d62a9aa0411e draft

planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
author ebi-gxa
date Wed, 03 Apr 2019 11:59:13 -0400
parents
children 058a41379291
comparison
equal deleted inserted replaced
-1:000000000000 0:d62a9aa0411e
1 <?xml version="1.0" encoding="utf-8"?>
2 <tool id="dropletutils_read_10x" name="DropletUtils Read10x" version="@TOOL_VERSION@+galaxy0">
3 <description>into SingleCellExperiment object</description>
4 <macros>
5 <import>dropletutils_macros.xml</import>
6 </macros>
7 <expand macro="requirements"/>
8 <command detect_errors="exit_code"><![CDATA[
9 ln -s '${matrix}' matrix.mtx &&
10 ln -s '${genes}' genes.tsv &&
11 ln -s '${barcodes}' barcodes.tsv &&
12 dropletutils-read-10x-counts.R
13 -s .
14 -c TRUE
15 -o '${output_rds}'
16 ]]></command>
17
18 <inputs>
19 <param name="matrix" type="data" format="txt" label="Expression matrix in sparse matrix format (.mtx)"/>
20 <param name="genes" type="data" format="tsv,tabular" label="Gene table"/>
21 <param name="barcodes" type="data" format="tsv,tabular" label="Barcode/cell table"/>
22 </inputs>
23
24 <outputs>
25 <data name="output_rds" format="rdata" label="${tool.name} on ${on_string}: serialized SingleCellExperiment object"/>
26 </outputs>
27
28 <tests>
29 <test>
30 <param name="matrix" value="matrix.mtx"/>
31 <param name="genes" value="genes.tsv"/>
32 <param name="barcodes" value="barcodes.tsv"/>
33 <output name="output_rds" file="read_10x.rds" ftype="rdata" compare="sim_size"/>
34 </test>
35 </tests>
36
37 <help><![CDATA[
38 =============================================================
39 Read 10x-Genomics-formatted mtx directory (`Read10xCounts()`)
40 =============================================================
41
42 The mtx directory should contain:
43
44 1) Raw expression quantification as a sparse matrix in Matrix Market format, where the each column is a gene and each row is a barcode/cell.
45
46 2) A gene table of at least two columns where the first column gives the gene IDs.
47
48 3) A barcode/cell table of at least one column giving the barcode/cell IDs.
49
50 The above-mentioned files can be obtained by running `EBI SCXA Data Retrieval`
51 with a dataset accession.
52
53
54 @HELP@
55 ]]></help>
56 <expand macro="citations"/>
57 </tool>