|
2
|
1 <tool id="hrf_euc" version="0.1" name="Estimate Unique Counts" force_history_refresh="True">
|
|
|
2 <description></description>
|
|
|
3 <requirements>
|
|
|
4 <requirement type="package" version="0.1.18">samtools</requirement>
|
|
|
5 </requirements>
|
|
|
6 <command interpreter="bash">
|
|
|
7 estimate_unique_counts.sh
|
|
|
8
|
|
|
9 ## Inputs
|
|
|
10 -f $input1 -b $input2
|
|
|
11
|
|
|
12 ##
|
|
|
13 #if str( $priming.flag ) == 'False':
|
|
|
14 -p -1
|
|
|
15 #else
|
|
|
16 -p $priming.position
|
|
|
17 #end if
|
|
|
18
|
|
|
19 </command>
|
|
|
20
|
|
|
21 <inputs>
|
|
|
22 <param format="bam" name="input1" type="data" label="Aligned Reads" help="BAM format." />
|
|
|
23 <param format="tabular" name="input2" type="data" label="Barcodes" help="Produced by Debarcoding tool." />
|
|
|
24 <conditional name="priming">
|
|
|
25 <param name="flag" type="boolean" checked="False" truevalue="True" falsevalue="False" label="Set priming position" help="Set all reads to have a specific priming position." />
|
|
|
26 <when value="True">
|
|
|
27 <param name="position" type="integer" value="-1" label="Priming position" />
|
|
|
28 </when>
|
|
|
29 </conditional>
|
|
|
30 </inputs>
|
|
|
31
|
|
|
32 <outputs>
|
|
|
33 <data format="tabular" name="trimming_stats" label="${tool.name} on ${on_string}: Trimming stats" from_work_dir="output_dir/trimming_stats.txt" />
|
|
|
34 <data format="tabular" name="summary" label="${tool.name} on ${on_string}: Summary" from_work_dir="output_dir/summary.txt" />
|
|
|
35 <data format="tabular" name="unique_barcodes" label="${tool.name} on ${on_string}: Unique Barcodes" from_work_dir="output_dir/unique_barcodes.txt" />
|
|
|
36 <data format="tabular" name="read_counts" label="${tool.name} on ${on_string}: Read Counts" from_work_dir="output_dir/read_counts.txt" />
|
|
|
37 </outputs>
|
|
|
38
|
|
|
39 <tests>
|
|
|
40 <test>
|
|
|
41 <param name="input1" value="sample.bam" />
|
|
|
42 <param name="input2" value="barcodes.txt" />
|
|
|
43 <output name="trimming_stats" file="trimming_stats.txt" />
|
|
|
44 <output name="summary" file="summary.txt" />
|
|
|
45 <output name="unique_barcodes" file="unique_barcodes.txt" />
|
|
|
46 <output name="read_counts" file="read_counts.txt" />
|
|
|
47 </test>
|
|
|
48 </tests>
|
|
|
49
|
|
|
50 <help>
|
|
|
51 </help>
|
|
|
52 </tool>
|