125
|
1 <tool name="MeanQualityByCycle" id="picard_MeanQualityByCycle" version="1.106.0">
|
|
2 <description>Calculates mean quality by cycle</description>
|
|
3 <requirements><requirement type="package" version="1.106.0">picard</requirement></requirements>
|
|
4 <command interpreter="python">
|
|
5 picard_wrapper.py -i "${input_file}" -d "${html_file.files_path}" -t "${html_file}"
|
|
6 -n "${out_prefix}" --tmpdir "${__new_file_path__}" --assumesorted ${ASSUME_SORTED}
|
|
7 --pfreadsonly ${PF_READS_ONLY} --alignedreadsonly ${ALIGNED_READS_ONLY}
|
|
8 -j "\$JAVA_JAR_PATH/MeanQualityByCycle.jar"
|
|
9 </command>
|
|
10
|
|
11 <stdio>
|
|
12 <exit_code range="0" level="warning" description="Tool finished correctly" />
|
|
13 </stdio>
|
|
14
|
|
15 <inputs>
|
|
16 <param format="sam,bam" name="input_file" type="data" label="Input SAM or BAM file. Required." help="" />
|
|
17 <param checked="False" truevalue="true" falsevalue="false" name="ALIGNED_READS_ONLY" type="boolean" label="If set to true, calculate mean quality over aligned reads only." help="" />
|
|
18 <param checked="False" truevalue="true" falsevalue="false" name="PF_READS_ONLY" type="boolean" label="If set to true calculate mean quality over PF reads only." help="" />
|
|
19 <param checked="True" truevalue="true" falsevalue="false" name="ASSUME_SORTED" type="boolean" label="If true (default), then the sort order in the header file will be ignored." />
|
|
20 <param name="out_prefix" value="Mean quality by cycle" type="text"
|
|
21 label="Title for the output file" help="Use this remind you what the job was for." size="80" />
|
|
22 </inputs>
|
|
23 <outputs>
|
|
24 <data format="html" name="html_file" label="${out_prefix}.html"/>
|
|
25 </outputs>
|
|
26 <tests>
|
|
27 <test>
|
|
28 <!-- Here is a command line that works:
|
|
29 java -jar ...
|
|
30 -->
|
|
31 <!--
|
|
32 <param name="inputFile" value="XXCHANGEMEE-input" />
|
|
33 <output name="outFile" file="XXCHANGEMEE-correct-output" lines_diff="2" ftype="XXCHANGEMEE" />
|
|
34 -->
|
|
35 </test>
|
|
36 </tests>
|
|
37 <help>
|
|
38 Picard documentation says:
|
|
39
|
|
40
|
|
41 MeanQualityByCycle
|
|
42
|
|
43 Usage: program [options...]
|
|
44
|
|
45 Option Description
|
|
46 CHART_OUTPUT=File A file (with .pdf extension) to write the chart to. Required.
|
|
47 ALIGNED_READS_ONLY=Boolean If set to true, calculate mean quality over aligned reads only. Default value: false. This option can be set to 'null' to clear the default value. Possible values: {true, false}
|
|
48 PF_READS_ONLY=Boolean If set to true calculate mean quality over PF reads only. Default value: false. This option can be set to 'null' to clear the default value. Possible values: {true, false}
|
|
49 INPUT=File Input SAM or BAM file. Required.
|
|
50 OUTPUT=File File to write the output to. Required.
|
|
51 REFERENCE_SEQUENCE=File Reference sequence fasta Default value: null. // Actually, this does not seem to be used anywhere in the tool -- so we removed it
|
|
52 ASSUME_SORTED=Boolean If true (default), then the sort order in the header file will be ignored. Default value: true. This option can be set to 'null' to clear the default value. Possible values: {true, false}
|
|
53 STOP_AFTER=Long Stop after processing N reads, mainly for debugging. Default value: 0. This option can be set to 'null' to clear the default value.
|
|
54
|
|
55
|
|
56 </help>
|
|
57 </tool>
|