annotate garnett_check_markers.xml @ 1:c00e672eadbc draft

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
author ebi-gxa
date Fri, 24 Apr 2020 11:21:22 -0400
parents d2aace2bb87f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
1 <tool id="garnett_check_markers" name="Garnett - check markers" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
2 <description>Check marker file to filter out markers of suboptimal quality</description>
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
3 <macros>
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
4 <import>garnett_macros.xml</import>
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
5 </macros>
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
6 <expand macro="requirements" />
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
1
c00e672eadbc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
8 garnett_check_markers.R --cds-object '${cds_object}' --marker-file-path '${marker_file_path}' --database '${database}' --marker-output-path '${marker_output_path}'
c00e672eadbc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
9
c00e672eadbc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
10 #if $cds_gene_id_type
c00e672eadbc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
11 --cds-gene-id-type '${cds_gene_id_type}'
c00e672eadbc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
12 #end if
c00e672eadbc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
13 #if $marker_file_gene_id_type
c00e672eadbc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
14 --marker-file-gene-id-type '${marker_file_gene_id_type}'
c00e672eadbc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
15 #end if
c00e672eadbc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
16 #if $plot_output_path
c00e672eadbc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
17 --plot-output-path '${plot_output_path}'
c00e672eadbc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
18 #end if
c00e672eadbc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
19 #if $propogate_markers
c00e672eadbc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
20 --propogate-markers '${propogate_markers}'
c00e672eadbc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
21 #end if
c00e672eadbc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
22 #if $propogate_markers
c00e672eadbc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
23 --classifier-gene-id-type '${classifier_gene_id_type}'
c00e672eadbc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
24 #end if
0
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
25 ]]></command>
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
26 <inputs>
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
27 <param type="data" name="cds_object" label="CDS object" format="rdata" help="CDS object with expression data for training" />
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
28 <param type="data" name="marker_file_path" format="txt" label="Marker file path" help="File with marker genes specifying cell types.
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
29 See https://cole-trapnell-lab.github.io/garnett/docs/#constructing-a-marker-file for specification of the file format" />
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
30 <param type="text" name="database" label="gene database" value="org.Hs.eg.db" help="argument for Bioconductor AnnotationDb-class package used for converting gene IDs" />
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
31 <param type="text" name="cds_gene_id_type" label="CDS gene id type" value="ENSEMBL" help="Format of the gene IDs in your CDS object" />
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
32 <param type="text" name="marker_file_gene_id_type" label="Marker gene id type" value="ENSEMBL" help="Format of the gene IDs in your marker file" />
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
33 <param type="boolean" name="propogate_markers" checked="true" label="propogate markers" help="Should markers from child nodes of a cell type be used
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
34 in finding representatives of the parent type?" />
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
35 <param type="text" name="classifier_gene_id_type" label="Classifier gene ID type" value="ENSEMBL" help="The type of gene ID that will be used in the classifier. If possible for your organism, this should be 'ENSEMBL', which is the default." />
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
36 </inputs>
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
37 <outputs>
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
38 <data name="marker_output_path" format="txt" />
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
39 <data name="plot_output_path" format="png" />
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
40 </outputs>
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
41 <tests>
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
42 <test>
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
43 <param name="cds_object" value="garnett_cds.rds" />
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
44 <param name="marker_file_path" value="markers_transformed.txt" />
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
45 <output name="marker_output_path" value="marker_check.txt" compare="sim_size" />
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
46 </test>
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
47 </tests>
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
48 <help><![CDATA[
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
49 @HELP@
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
50
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
51 @VERSION_HISTORY@
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
52 ]]></help>
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
53 <expand macro="citations" />
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
54 </tool>
d2aace2bb87f "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
55