annotate genap2_kb_python/macros.xml @ 0:e8d93f1429c2 draft

Uploaded
author fwuennemann
date Fri, 16 Apr 2021 18:18:21 +0000
parents
children dbcb26e2a1db
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
1 <?xml version="1.0"?>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
2 <macros>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
3 <token name="@VERSION@">0.1.0</token>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
4 <token name="@IDX_VERSION@">q1</token>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
5 <xml name="requirements">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
6 <requirements>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
7 <requirement type="package" version="@VERSION@">kb-python</requirement>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
8 </requirements>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
9 </xml>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
10 <xml name="citations">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
11 <citations>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
12 <citation type="doi">add citation</citation>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
13 </citations>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
14 </xml>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
15 <xml name="index">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
16 <conditional name="refTranscriptSource">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
17 <param name="TranscriptSource" type="select" label="Select a reference transcriptome from your history or use a built-in index?">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
18 <option value="history">Use an index from your history</option>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
19 <option value="built" selected="True">Built one </option>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
20 </param>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
21 <when value="history">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
22 <section name="h_index" title="Select the index files from your history:" expanded="true">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
23 <param name="index_file" type="data" format="kallisto.idx" label="kb index file (.idx)"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
24 <param name="t2g_file" type="data" format="txt" label="Transcript to gene (t2g) file"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
25 <section name="history_lamanno" title="Additional index files" expanded="false">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
26 <param name="cdna_t2c" optional="true" type="data" format="txt" label="-c1 cDNA transcripts-to-captures (t2c) file (only needed with workflow==lamanno or nucleus)"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
27 <param name="intron_t2c" optional="true" type="data" format="txt" label="-c2 intron transcripts-to-captures (t2c) file (only needed with workflow==lamanno or nucleus)"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
28 </section>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
29 </section>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
30 </when>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
31 <when value="built">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
32 <section name="s_index" title="Kb index" expanded="true">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
33 <param name="genomic_fasta" type="data" optional="true" format="fasta" label="Genomic fasta file (leave empty when: workflow = kite)"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
34 <param name="genomic_gtf" type="data" optional="true" format="gtf" label="Genomic gtf file (leave empty when: workflow = kite)"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
35 <param name="kite_table" type="data" label="Kite table of feature barcodes and IDs (only required when workflow = kite)" optional="true" format="tabular"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
36 </section>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
37 </when>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
38 </conditional>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
39 </xml>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
40 <xml name="tests">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
41 <!-- Test1: Test with pre-built index provided by user -->
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
42 <test>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
43 <conditional name="refTranscriptSource">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
44 <param name="TranscriptSource" value="history"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
45 <section name="h_index">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
46 <param name="index_file" value="GRCm39.gencode.chr19_sub.kb_ref.idx"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
47 <param name="t2g_file" value="GRCm39.gencode.chr19_sub.t2g.txt"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
48 </section>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
49 </conditional>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
50 <param name="technology" value="10XV2"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
51 <param name="workflow" value="standard"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
52 <param name="FASTQ1" value="SRR8599150_S1_L001_R1_001.100k_lines.fastq.gz"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
53 <param name="FASTQ2" value="SRR8599150_S1_L001_R2_001.100k_lines.fastq.gz"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
54 <param name="extra_dtype" value="none"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
55 <output name="barcodes" file="barcodes.tsv" compare="sim_size" delta="100000" ftype="txt"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
56 <output name="genes" file="genes.tsv" compare="sim_size" delta="100000" ftype="txt"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
57 <output name="matrix" file="matrix.mtx" compare="sim_size" delta="100000" ftype="mtx"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
58 </test>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
59 <!--Test2: Test with building the index on the fly, before kb count.-->
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
60 <test>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
61 <conditional name="refTranscriptSource">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
62 <param name="TranscriptSource" value="built"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
63 <section name="s_index">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
64 <param name="genomic_fasta" value="GRCm39.chr19_100k.fa.gz"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
65 <param name="genomic_gtf" value="gencode.VM26.chr19_10k.gtf.gz"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
66 </section>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
67 </conditional>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
68 <param name="technology" value="10XV2"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
69 <param name="workflow" value="standard"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
70 <param name="FASTQ1" value="SRR8599150_S1_L001_R1_001.100k_lines.fastq.gz"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
71 <param name="FASTQ2" value="SRR8599150_S1_L001_R2_001.100k_lines.fastq.gz"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
72 <param name="extra_dtype" value="none"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
73 <output name="barcodes" file="barcodes.tsv" compare="sim_size" delta="100000" ftype="txt"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
74 <output name="genes" file="genes.tsv" compare="sim_size" delta="100000" ftype="txt"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
75 <output name="matrix" file="matrix.mtx" compare="sim_size" delta="100000" ftype="mtx"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
76 </test>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
77 <!--Test3: Test lamanno workflow with pre-built index.-->
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
78 <test>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
79 <conditional name="refTranscriptSource">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
80 <param name="TranscriptSource" value="history"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
81 <section name="h_index">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
82 <param name="index_file" value="kb_ref.lamanno.idx"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
83 <param name="t2g_file" value="t2g.lamanno.txt"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
84 <section name="history_lamanno">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
85 <param name="cdna_t2c" value="cdna_t2c.lamanno.txt"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
86 <param name="intron_t2c" value="intron_t2c.lamanno.txt"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
87 </section>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
88 </section>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
89 </conditional>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
90 <param name="technology" value="10XV2"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
91 <param name="workflow" value="lamanno"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
92 <param name="FASTQ1" value="SRR8599150_S1_L001_R1_001.100k_lines.fastq.gz"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
93 <param name="FASTQ2" value="SRR8599150_S1_L001_R2_001.100k_lines.fastq.gz"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
94 <param name="extra_dtype" value="none"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
95 <output name="barcodes" file="barcodes.lamanno.tsv" compare="sim_size" delta="100000" ftype="txt"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
96 <output name="genes" file="genes.lamanno.tsv" compare="sim_size" delta="100000" ftype="txt"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
97 <output name="matrix" file="matrix.lamanno.mtx" compare="sim_size" delta="100000" ftype="mtx"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
98 </test>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
99 <!--Test:4 Test lamanno workflow with building the index on the fly, before kb count.-->
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
100 <test>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
101 <conditional name="refTranscriptSource">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
102 <param name="TranscriptSource" value="built"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
103 <section name="s_index">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
104 <param name="genomic_fasta" value="GRCm39.chr19_100k.fa.gz"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
105 <param name="genomic_gtf" value="gencode.VM26.chr19_10k.gtf.gz"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
106 </section>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
107 </conditional>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
108 <param name="technology" value="10XV2"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
109 <param name="workflow" value="lamanno"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
110 <param name="FASTQ1" value="SRR8599150_S1_L001_R1_001.100k_lines.fastq.gz"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
111 <param name="FASTQ2" value="SRR8599150_S1_L001_R2_001.100k_lines.fastq.gz"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
112 <param name="extra_dtype" value="none"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
113 <output name="barcodes" file="barcodes.lamanno.tsv" compare="sim_size" delta="100000" ftype="txt"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
114 <output name="genes" file="genes.lamanno.tsv" compare="sim_size" delta="100000" ftype="txt"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
115 <output name="matrix" file="matrix.lamanno.mtx" compare="sim_size" delta="100000" ftype="mtx"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
116 </test>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
117 <!--Test:5 Test kite workflow with pre-built index.-->
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
118 <test>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
119 <conditional name="refTranscriptSource">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
120 <param name="TranscriptSource" value="history"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
121 <section name="h_index">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
122 <param name="index_file" value="mismatch.idx"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
123 <param name="t2g_file" value="t2g.kite.txt"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
124 </section>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
125 </conditional>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
126 <param name="technology" value="10XV3"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
127 <param name="workflow" value="kite"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
128 <param name="FASTQ1" value="pbmc_1k_protein_v3_antibody_S2_L001_R1_001.100k_sub.fastq.gz"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
129 <param name="FASTQ2" value="pbmc_1k_protein_v3_antibody_S2_L001_R2_001.100k_sub.fastq.gz"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
130 <param name="extra_dtype" value="none"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
131 <output name="barcodes" file="barcodes.kite.tsv" compare="sim_size" delta="100000" ftype="txt"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
132 <output name="genes" file="genes.kite.tsv" compare="sim_size" delta="100000" ftype="txt"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
133 <output name="matrix" file="matrix.kite.mtx" compare="sim_size" delta="100000" ftype="mtx"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
134 </test>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
135 <!--Test:6 Test kite workflow with building the index on the fly, before kb count.-->
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
136 <test>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
137 <conditional name="refTranscriptSource">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
138 <param name="TranscriptSource" value="built"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
139 <section name="s_index">
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
140 <param name="kite_table" value="kite_features.tsv"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
141 </section>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
142 </conditional>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
143 <param name="technology" value="10XV3"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
144 <param name="workflow" value="kite"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
145 <param name="FASTQ1" value="pbmc_1k_protein_v3_antibody_S2_L001_R1_001.100k_sub.fastq.gz"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
146 <param name="FASTQ2" value="pbmc_1k_protein_v3_antibody_S2_L001_R2_001.100k_sub.fastq.gz"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
147 <param name="extra_dtype" value="none"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
148 <output name="barcodes" file="barcodes.kite.tsv" compare="sim_size" delta="100000" ftype="txt"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
149 <output name="genes" file="genes.kite.tsv" compare="sim_size" delta="100000" ftype="txt"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
150 <output name="matrix" file="matrix.kite.mtx" compare="sim_size" delta="100000" ftype="mtx"/>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
151 </test>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
152 </xml>
e8d93f1429c2 Uploaded
fwuennemann
parents:
diff changeset
153 </macros>