1
|
1 <tool name="FastQC:Read QC" id="fastqc" version="0.62">
|
0
|
2 <description>reports using FastQC</description>
|
|
3 <command interpreter="python">
|
1
|
4 rgFastQC.py -i "$input_file" -d "$html_file.files_path" -o "$html_file" -t "$text_file" -n "$out_prefix" -f "$input_file.ext" -j "$input_file.name" -e "\$FASTQC_JAR_PATH/fastqc"
|
0
|
5 #if $contaminants.dataset and str($contaminants) > ''
|
|
6 -c "$contaminants"
|
|
7 #end if
|
1
|
8 #if $limits.dataset and str($limits) > ''
|
|
9 -l "$limits"
|
|
10 #end if
|
0
|
11 </command>
|
|
12 <requirements>
|
1
|
13 <requirement type="package" version="0.11.2">FastQC</requirement>
|
0
|
14 </requirements>
|
|
15 <inputs>
|
|
16 <param format="fastqsanger,fastq,bam,sam" name="input_file" type="data" label="Short read data from your current history" />
|
|
17 <param name="out_prefix" value="FastQC" type="text" label="Title for the output file - to remind you what the job was for" size="80"
|
|
18 help="Letters and numbers only please - other characters will be removed">
|
|
19 <sanitizer invalid_char="">
|
|
20 <valid initial="string.letters,string.digits"/>
|
|
21 </sanitizer>
|
|
22 </param>
|
|
23 <param name="contaminants" type="data" format="tabular" optional="true" label="Contaminant list"
|
1
|
24 help="tab delimited file with 2 columns: name and sequence. For example: Illumina Small RNA RT Primer CAAGCAGAAGACGGCATACGA"/>
|
|
25 <param name="limits" type="data" format="txt" optional="true" label="Submodule and Limit specifing file"
|
|
26 help="a file that specifies which submodules are to be executed (default=all) and also specifies the thresholds for the each submodules warning parameter" />
|
0
|
27 </inputs>
|
|
28 <outputs>
|
1
|
29 <data format="html" name="html_file" label="${out_prefix}_${input_file.name}_Webpage.html" />
|
|
30 <data format="txt" name="text_file" label="${out_prefix}_${input_file.name}_RawData.txt" />
|
0
|
31 </outputs>
|
|
32 <tests>
|
|
33 <test>
|
|
34 <param name="input_file" value="1000gsample.fastq" />
|
|
35 <param name="out_prefix" value="fastqc_out" />
|
|
36 <param name="contaminants" value="fastqc_contaminants.txt" ftype="tabular" />
|
|
37 <output name="html_file" file="fastqc_report.html" ftype="html" lines_diff="100"/>
|
1
|
38 <output name="text_file" file="fastqc_data.txt" ftype="txt" lines_diff="100"/>
|
|
39 </test>
|
|
40 <test>
|
|
41 <param name="input_file" value="1000gsample.fastq" />
|
|
42 <param name="out_prefix" value="fastqc_out" />
|
|
43 <param name="limits" value="fastqc_customlimits.txt" ftype="txt" />
|
|
44 <output name="html_file" file="fastqc_report2.html" ftype="html" lines_diff="100"/>
|
|
45 <output name="text_file" file="fastqc_data2.txt" ftype="txt" lines_diff="100"/>
|
0
|
46 </test>
|
|
47 </tests>
|
|
48 <help>
|
|
49
|
|
50 .. class:: infomark
|
|
51
|
|
52 **Purpose**
|
|
53
|
|
54 FastQC aims to provide a simple way to do some quality control checks on raw
|
|
55 sequence data coming from high throughput sequencing pipelines.
|
|
56 It provides a modular set of analyses which you can use to give a quick
|
|
57 impression of whether your data has any problems of
|
|
58 which you should be aware before doing any further analysis.
|
|
59
|
|
60 The main functions of FastQC are:
|
|
61
|
|
62 - Import of data from BAM, SAM or FastQ files (any variant)
|
|
63 - Providing a quick overview to tell you in which areas there may be problems
|
|
64 - Summary graphs and tables to quickly assess your data
|
|
65 - Export of results to an HTML based permanent report
|
|
66 - Offline operation to allow automated generation of reports without running the interactive application
|
|
67
|
|
68
|
|
69 -----
|
|
70
|
|
71
|
|
72 .. class:: infomark
|
|
73
|
|
74 **FastQC**
|
|
75
|
|
76 This is a Galaxy wrapper. It merely exposes the external package FastQC_ which is documented at FastQC_
|
|
77 Kindly acknowledge it as well as this tool if you use it.
|
|
78 FastQC incorporates the Picard-tools_ libraries for sam/bam processing.
|
|
79
|
|
80 The contaminants file parameter was borrowed from the independently developed
|
|
81 fastqcwrapper contributed to the Galaxy Community Tool Shed by J. Johnson.
|
1
|
82 Adaption to version 0.11.2 by T. McGowan.
|
0
|
83
|
|
84 -----
|
|
85
|
|
86 .. class:: infomark
|
|
87
|
|
88 **Inputs and outputs**
|
|
89
|
|
90 FastQC_ is the best place to look for documentation - it's very good.
|
|
91 A summary follows below for those in a tearing hurry.
|
|
92
|
|
93 This wrapper will accept a Galaxy fastq, sam or bam as the input read file to check.
|
|
94 It will also take an optional file containing a list of contaminants information, in the form of
|
1
|
95 a tab-delimited file with 2 columns, name and sequence. As another option the tool takes a custom
|
|
96 limits.txt file that allows setting the warning thresholds for the different modules and also specifies
|
|
97 which modules to include in the output.
|
0
|
98
|
1
|
99 The tool produces a basic text and a HTML output file that contain all of the results, including the following:
|
0
|
100
|
|
101 - Basic Statistics
|
|
102 - Per base sequence quality
|
|
103 - Per sequence quality scores
|
|
104 - Per base sequence content
|
|
105 - Per base GC content
|
|
106 - Per sequence GC content
|
|
107 - Per base N content
|
|
108 - Sequence Length Distribution
|
|
109 - Sequence Duplication Levels
|
|
110 - Overrepresented sequences
|
|
111 - Kmer Content
|
|
112
|
|
113 All except Basic Statistics and Overrepresented sequences are plots.
|
|
114 .. _FastQC: http://www.bioinformatics.bbsrc.ac.uk/projects/fastqc/
|
|
115 .. _Picard-tools: http://picard.sourceforge.net/index.shtml
|
|
116
|
|
117 </help>
|
|
118 </tool>
|