annotate dropletutils-empty-drops.xml @ 0:b4332c428c63 draft

planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
author ebi-gxa
date Mon, 11 Nov 2019 05:52:59 -0500
parents
children da189ce4016b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
2 <tool id="dropletutils_empty_drops" name="DropletUtils emptyDrops" version="@TOOL_VERSION@+galaxy0">
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
3 <description>Distinguish between droplets containing cells and ambient RNA in a droplet-based single-cell RNA sequencing experiment.</description>
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
4 <macros>
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
5 <import>dropletutils_macros.xml</import>
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
6 </macros>
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
7 <expand macro="requirements"/>
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
9 dropletutils-empty-drops.R --input-object-file "${input}" --output-object-file "${output_rds}" --output-text-file "${output_txt}" --lower "${lower}" --niters "${niters}" --filter-fdr "${filter_fdr}" --test-ambient "${testambient}" --filter-empty "${filter_empty}"
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
10 #if $ignore != ''
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
11 --ignore $ignore
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
12 #end if
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
13 #if $retain != ''
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
14 --retain $retain
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
15 #end if
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
16 ]]></command>
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
17
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
18 <inputs>
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
19 <param name="input" argument="--input-object-file" type="data" format="rdata" label="SingleCellExperiment RDS object" help="e.g. Output from DropletUtils Read10x." />
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
20 <param name="lower" argument="--lower" type="integer" optional="True" label="UMI count lower bound" value='100' help="A numeric scalar specifying the lower bound on the total UMI count, at or below which all barcodes are assumed to correspond to empty droplets." />
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
21 <param name="niters" argument="--niters" type="integer" optional="True" value='1000' label="Number of iterations" help="An integer scalar specifying the number of iterations to use for the Monte Carlo p-value calculations." />
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
22 <param name="filter_fdr" argument="--filter-fdr" type="float" value='0.01' label="FDR filter for removal of barcodes with no cells" />
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
23 <param name="testambient" argument="--test-ambient" type="boolean" checked="false" label="Should results be returned for barcodes with totals less than or equal to the value of 'lower'?"/>
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
24 <param name="ignore" argument="--ignore" type="integer" optional="True" value='' label="Ignore barcodes threshold" help="A numeric scalar specifying the lower bound on the total UMI count, at or below which barcodes will be ignored. (default: none)" />
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
25 <param name="retain" argument="--retain" type="integer" optional="True" label="Retain barcodes threshold" help="A numeric scalar specifying the threshold for the total UMI count above which all barcodes are assumed to contain cells. (default: none)" />
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
26 <param name="filter_empty" argument="--filter-empty" type="boolean" checked="false" label="Should barcodes estimated to have no cells be removed from the output object?"/>
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
27 </inputs>
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
28
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
29 <outputs>
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
30 <data name="output_rds" format="rdata" label="${tool.name} on ${on_string}: serialized SingleCellExperiment object"/>
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
31 <data name="output_txt" format="txt" label="${tool.name} on ${on_string}: tabular output"/>
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
32 </outputs>
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
33
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
34 <help><![CDATA[
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
35 ========================================================================================================================================
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
36 Distinguish between droplets containing cells and ambient RNA in a droplet-based single-cell RNA sequencing experiment. (`emptyDrops()`)
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
37 ========================================================================================================================================
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
38
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
39 This tool takes a SingleCellExeriment object and esitmates empty cells. From ?emptyDrops():
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
40
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
41 The emptyDrops function combines the results of testEmptyDrops with barcodeRanks to identify droplets that are likely to contain cells. Barcodes that contain more than retain total counts are always retained. This ensures that large cells with profiles that are very similar to the ambient pool are not inadvertently discarded. If retain is not specified, it is set to the total count at the knee point detected by barcodeRanks. Manual specification of retain may be useful if the knee point was not correctly identified in complex log-rank curves. Users can also set retain=Inf to disable automatic retention of barcodes with large totals.
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
42
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
43 The Benjamini-Hochberg correction is also applied to the Monte Carlo p-values to correct for multiple testing. Cells can then be defined by taking all barcodes with significantly non-ambient profiles, e.g., at a false discovery rate of 0.1%. All barcodes with total counts above K (or retain) are assigned p-values of zero during correction, reflecting our assumption that they are true positives. This ensures that their Monte Carlo p-values do not affect the correction of other genes, and also means that they will have FDR values of zero. Nonetheless, their original Monte Carlo p-values are still reported in the output.
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
44
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
45 @HELP@
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
46 ]]></help>
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
47 <expand macro="citations"/>
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
48 </tool>