annotate dropletutils-empty-drops.xml @ 4:fa662ca7ae7f draft default tip

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
author ebi-gxa
date Fri, 27 Nov 2020 13:39:42 +0000
parents da189ce4016b
children
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"?>
4
fa662ca7ae7f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents: 1
diff changeset
2 <tool id="dropletutils_empty_drops" name="DropletUtils emptyDrops" version="@TOOL_VERSION@+galaxy0">
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
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[
1
da189ce4016b planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit fb1feb9e744358eed6c2b5583cea433a00889495
ebi-gxa
parents: 0
diff changeset
9 dropletutils-empty-drops.R --input-object-file "${input}" --output-object-file "${output_rdata}" --output-text-file "${output_txt}" --lower "${lower}" --niters "${niters}" --filter-fdr "${filter_fdr}" --test-ambient "${testambient}" --filter-empty "${filter_empty}"
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
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>
1
da189ce4016b planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit fb1feb9e744358eed6c2b5583cea433a00889495
ebi-gxa
parents: 0
diff changeset
19 <param name="input" argument="--input-object-file" type="data" format="rdata" label="SingleCellExperiment rdata object" help="e.g. Output from DropletUtils Read10x." />
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
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>
1
da189ce4016b planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit fb1feb9e744358eed6c2b5583cea433a00889495
ebi-gxa
parents: 0
diff changeset
30 <data name="output_rdata" format="rdata" label="${tool.name} on ${on_string}: serialized SingleCellExperiment object"/>
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
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>
4
fa662ca7ae7f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents: 1
diff changeset
33 <tests>
fa662ca7ae7f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents: 1
diff changeset
34 <test>
fa662ca7ae7f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents: 1
diff changeset
35 <param name="input" value="raw_sce.rds" />
fa662ca7ae7f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents: 1
diff changeset
36 <param name="lower" value="1000" />
fa662ca7ae7f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents: 1
diff changeset
37 <param name="niters" value="10000" />
fa662ca7ae7f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents: 1
diff changeset
38 <param name="testambient" value="False" />
fa662ca7ae7f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents: 1
diff changeset
39 <param name="ignore" value="500" />
fa662ca7ae7f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents: 1
diff changeset
40 <param name="retain" value="200" />
fa662ca7ae7f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents: 1
diff changeset
41 <param name="filter_empty" value="True" />
fa662ca7ae7f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents: 1
diff changeset
42 <output name="output_rdata" file="empty_filt_sce.rds" compare="sim_size" delta="1000000" />
fa662ca7ae7f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents: 1
diff changeset
43 <output name="output_txt" file="empty_filt.txt" compare="sim_size" delta="1000000" />
fa662ca7ae7f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents: 1
diff changeset
44 </test>
fa662ca7ae7f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents: 1
diff changeset
45 </tests>
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
46
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 <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
48 ========================================================================================================================================
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
49 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
50 ========================================================================================================================================
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
51
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
52 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
53
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
54 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
55
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
56 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
57
b4332c428c63 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 261a2d85a03a86f12d182f384664db0bdc35f8ac-dirty
ebi-gxa
parents:
diff changeset
58 @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
59 ]]></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
60 <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
61 </tool>