Mercurial > repos > ebi-gxa > salmon_kallisto_mtx_to_10x
comparison salmonKallistoMtxTo10x.xml @ 0:fe0fd27aba50 draft
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/salmon-kallisto-mtx-to-10x/.shed.yml commit 023431ca119829efbde33c94d54e051fac24a1d5
author | ebi-gxa |
---|---|
date | Thu, 07 Nov 2019 05:12:10 -0500 |
parents | |
children | a2aaefceb418 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:fe0fd27aba50 |
---|---|
1 <tool id="_salmon_kallisto_mtx_to_10x" name="salmonKallistoMtxTo10x" version="0.0.1+galaxy0"> | |
2 <description>Transforms .mtx matrix and associated labels into a format compatible with tools expecting old-style 10X data</description> | |
3 <requirements> | |
4 <requirement type="package">scipy</requirement> | |
5 <requirement type="package">pandas</requirement> | |
6 </requirements> | |
7 <command interpreter="python" detect_errors="exit_code"><![CDATA[ | |
8 $__tool_directory__/salmonKallistoMtxTo10x.py --cell_prefix "${cell_prefix}" "${mtx_file}" "${genes_file}" "${barcodes_file}" ./ | |
9 ]]></command> | |
10 | |
11 <inputs> | |
12 <param name="mtx_file" type="data" format="txt" label=".mtx-format matrix" /> | |
13 <param name="genes_file" type="data" format="txt" label="Tab-delimited genes file" /> | |
14 <param name="barcodes_file" type="data" format="txt" label="Tab-delimited barcodes file" /> | |
15 <param name="cell_prefix" type="text" optional='true' value="" label="Prefix to prepend to cell names / barcodes" help="This is useful when multiple matrices from different libraries with overlapping barcodes will be merged"/> | |
16 </inputs> | |
17 | |
18 <outputs> | |
19 <data name="genes_out" format="txt" from_work_dir="genes.tsv" label="${tool.name} on ${on_string}: genes"/> | |
20 <data name="barcodes_out" format="txt" from_work_dir="barcodes.tsv" label="${tool.name} on ${on_string}: barcodes"/> | |
21 <data name="matrix_out" format="txt" from_work_dir="matrix.mtx" label="${tool.name} on ${on_string}: matrix" /> | |
22 </outputs> | |
23 | |
24 <help><![CDATA[ | |
25 .. class:: infomark | |
26 | |
27 **What it does** | |
28 | |
29 Kallisto and Alevin (and possibly other tools) output an MTX file and associated labels that are not consistent with the old-style 10X, meaning that routines designed to parse those files cannot be used. This tool transforms (in the mathematical sense) the matrix, and reformats the genes file (essentially duplicating the column) to match those earlier conventions. | |
30 | |
31 **Inputs** | |
32 | |
33 MTX and row and gene labels from the relevant tool. For Alevin this will be | |
34 | |
35 * Matrix file: quants_mat.mtx.gz | |
36 * Genes file: quants_mat_cols.txt | |
37 * Barcodes file: quants_mat_rows.txt | |
38 | |
39 For Kallisto it will be: | |
40 | |
41 * Matrix file: [name].mtx.gz | |
42 * Genes file: [name].genes.txt | |
43 * Barcodes file: [name].barcodes.txt | |
44 | |
45 ----- | |
46 | |
47 **Outputs** | |
48 | |
49 * MTX, gene and cell labels in 10X style | |
50 ]]></help> | |
51 <citations> | |
52 <citation type="bibtex"> | |
53 @misc{github-hinxton-single-cell, | |
54 author = {Jonathan Manning, EBI Gene Expression Team}, | |
55 year = {2019}, | |
56 title = {Hinxton Single Cell Anlysis Environment}, | |
57 publisher = {GitHub}, | |
58 journal = {GitHub repository}, | |
59 url = {https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary}, | |
60 }</citation> | |
61 </citations> | |
62 </tool> |