<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/p3bsseq/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/p3bsseq/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 19 Aug 2020 11:50:31 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/p3bsseq/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by Marcos J Arauzo-Bravo</title><link>https://sourceforge.net/p/p3bsseq/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marcos J Arauzo-Bravo</dc:creator><pubDate>Wed, 19 Aug 2020 11:50:31 -0000</pubDate><guid>https://sourceforge.netc6551326e9acef0cbe9d8a44fe165bc886bd0439</guid></item><item><title>Home modified by Marcos J Arauzo-Bravo</title><link>https://sourceforge.net/p/p3bsseq/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;P3BSseq: Parallel processing pipeline software for automatic analysis &lt;br/&gt;
of bisulfite sequencing data&lt;/p&gt;
&lt;p&gt;Phuc-Loi Luu1, Daniela Gerovska2, Mikel Arrospide-Elgarresta2, Sugoi Retegi-Carrión2,&lt;br/&gt;
 Hans R. Schöler3,4 and Marcos J. Araúzo-Bravo1,2,5&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Computational Biology and Bioinformatics Group, &lt;br/&gt;
   Max Planck Institute for Molecular Biomedicine, 48149 Münster, Germany;&lt;/li&gt;
&lt;li&gt;Group of Computational Biology and Systems Biomedicine, &lt;br/&gt;
   Biodonostia Health Research Institute, 20014 San Sebastián, Spain&lt;/li&gt;
&lt;li&gt;Department of Cell and Developmental Biology, &lt;br/&gt;
   Max Planck Institute for Molecular Biomedicine, 48149 Münster, Germany&lt;/li&gt;
&lt;li&gt;Medical Faculty, University of Münster, 48149 Münster, Germany&lt;/li&gt;
&lt;li&gt;IKERBASQUE, Basque Foundation for Science, 48011 Bilbao, Spain&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;mararabra@yahoo.co.uk&lt;/p&gt;
&lt;p&gt;===============================================================================&lt;br/&gt;
EXPERIMENTAL DESIGN&lt;br/&gt;
===============================================================================&lt;br/&gt;
There are two main executable parts in the P3BSseq software: &lt;br/&gt;
One to download and index the reference genome (genome_indexing), &lt;br/&gt;
and another to perform the methylome mapping. &lt;br/&gt;
Depending on the combination of type of methylome (WGBS or RRBS) &lt;br/&gt;
and the type of reads ending (single-end or paired-end) there are four &lt;br/&gt;
different mappers (single_end_WGBS, paired_end_WGBS, single_end_RRBS, &lt;br/&gt;
paired_end_RRBS). &lt;/p&gt;
&lt;p&gt;In a typical application, the user has to download and install the software, &lt;br/&gt;
perform a preprocessing stage of automatic downloading and indexing of the &lt;br/&gt;
reference genome using genome_indexing and process the data using one of the &lt;br/&gt;
four ad hoc developed mappers &lt;br/&gt;
(single_end_WGBS, paired_end_WGBS, single_end_RRBS, paired_end_RRBS). &lt;/p&gt;
&lt;p&gt;The run of P3BSseq can be summed up as follows:&lt;br/&gt;
Decide where to place the folders for the P3BSseq software, &lt;br/&gt;
the reference genome, the input data and the results,&lt;br/&gt;
and create the corresponding folders.&lt;br/&gt;
Download and index the reference genome of a species before processing &lt;br/&gt;
methylomics data from such species. Once the reference genome of a species &lt;br/&gt;
has been processed, it is not necessary do it again.&lt;br/&gt;
Set the corresponding parameter file before running any executable files.&lt;/p&gt;
&lt;p&gt;For each application the user only needs to fill in with a text editor certain &lt;br/&gt;
parameters in two text files:&lt;br/&gt;
A parameter file to define the reference genome (genome_indexing.txt). &lt;br/&gt;
A parameter file with default optimized processing parameters associated with &lt;br/&gt;
each type of methylation data &lt;br/&gt;
(single_end_WGBS.txt, paired_end_WGBS.txt, single_end_RRBS.txt or paired_end_RRBS.txt).&lt;/p&gt;
&lt;p&gt;All parameter files are under the PARAMETERS folder of the distribution. &lt;br/&gt;
Providing an interface through parameter files facilitates the tracking of the changes &lt;br/&gt;
of all the parameters in a self documented way. &lt;br/&gt;
In a project involving the precessing of several datasets, the user can write a &lt;br/&gt;
script that first creates the parameter files under the &lt;br/&gt;
PARAMETERS folder, and then run the corresponding application of P3BSseq.&lt;/p&gt;
&lt;p&gt;In a preprocessing stage, the reference genome and its annotation &lt;br/&gt;
(including CpG islands) &lt;br/&gt;
are automatically downloaded from the UCSC Genome Browser &lt;br/&gt;
(genome.ucsc.edu) and indexed. &lt;br/&gt;
Thereafter, all processing stages until the final report generation are fully automated. &lt;/p&gt;
&lt;p&gt;===============================================================================&lt;br/&gt;
LIMITATIONS&lt;br/&gt;
===============================================================================&lt;br/&gt;
The software has been developed for Linux/Unix based operating system with at &lt;br/&gt;
least 6.5GB of RAM and ~450GB of hard disk to process a sample with 500 million reads of length 85bp. &lt;br/&gt;
P3BSseq is not designed to work for data in the color space and the input data has to be in fastq format. &lt;br/&gt;
If the user has the data in another format, she/he has to convert it to fastq prior use of P3BSseq. &lt;br/&gt;
All data files associated to a project have to be of the same reference genome, &lt;br/&gt;
and the same combination of methylome type (WGBS or RRBS), &lt;br/&gt;
reads ending type (single-end or paired-end) and directional library (directional or non-directional). &lt;br/&gt;
­&lt;br/&gt;
===============================================================================&lt;br/&gt;
MATERIALS&lt;br/&gt;
===============================================================================&lt;/p&gt;
&lt;hr/&gt;
&lt;h2 id="equipment"&gt;Equipment&lt;/h2&gt;
&lt;p&gt;A computer running a Linux/Unix based operating system with at &lt;br/&gt;
least 6.5GB of RAM memory and ~450GB of available hard disk space is necessary. &lt;br/&gt;
The software itself requires 80MB. &lt;br/&gt;
Additionally, each mammalian reference genome needs ~13GBs. &lt;br/&gt;
A typical mammalian methylome dataset will need ~28GB and its processed output ~400GB. &lt;br/&gt;
After processing the user can delete some results folders designed for &lt;br/&gt;
advanced applications and keep ~200GB.&lt;/p&gt;
&lt;hr/&gt;
&lt;h2 id="equipment-setup"&gt;Equipment setup&lt;/h2&gt;
&lt;p&gt;To setup the system to process DNA methylation data with P3BSseq, &lt;br/&gt;
the user has to create the folder path for the P3BSseq software and install the software. &lt;br/&gt;
Additionally, to run P3BSseq the user must create other &lt;br/&gt;
three folders with convenient names and locations for the reference genome, &lt;br/&gt;
the input data and the results: &lt;/p&gt;
&lt;p&gt;REFERENCE_GENOME: hosts the different reference genomes,&lt;br/&gt;
their annotation and indexing. &lt;br/&gt;
Once a reference genome has been downloaded and indexed, &lt;br/&gt;
it is not necessary to process it anymore. Any time the user requires a new reference genome&lt;br/&gt;
(for a different species of for a new version of a genome of an already used species) &lt;br/&gt;
a new subfolder will be automatically created in the REFERENCE_GENOME folder to host the new reference genome.&lt;/p&gt;
&lt;p&gt;INPUT_FILES: hosts the raw reads in fastq format of each methylomics sample to be processed. &lt;/p&gt;
&lt;p&gt;OUTPUTS: hosts the output subfolders and files associated with each processed methylomics sample. &lt;/p&gt;
&lt;p&gt;After installing P3BSseq, the main binary files of P3BSseq are in the folder P3BSseq. &lt;br/&gt;
That folder there has also a subfolder named PARAMETERS, that hosts the five text parameter files, &lt;br/&gt;
one to configure the indexing of the genome (genome_indexing.txt), &lt;br/&gt;
and other four to configure the four mappers &lt;br/&gt;
(single_end_WGBS.txt, paired_end_WGBS.txt, single_end_RRBS.txt, and paired_end_RRBS.txt) &lt;br/&gt;
that the user has to edit to adapt P3BSseq to her/his necessities. &lt;br/&gt;
Thus, a running installation of P3BSseq has a five folder structure.&lt;br/&gt;
The names of the five main folders can be changed by the user. &lt;br/&gt;
To allow the executable files of P3BSseq to find them, &lt;br/&gt;
the names of the five main folders have to be provided in the parameter &lt;br/&gt;
files of the PARAMETERS folder.&lt;/p&gt;
&lt;p&gt;The Java Runtime Environment (JRE) version at least 1.6 has to be installed, &lt;br/&gt;
since it is required by the FastQC core package. &lt;/p&gt;
&lt;p&gt;Finally, the matplotlibrc file has to be installed in the /etc folder. &lt;br/&gt;
The matplotlibrc file is the configuration file of the python 2D plotting library. &lt;br/&gt;
It is required by P3BSseq to draw the figures in the final report. &lt;/p&gt;
&lt;p&gt;===============================================================================&lt;br/&gt;
PROCEDURE&lt;br/&gt;
===============================================================================&lt;/p&gt;
&lt;hr/&gt;
&lt;h2 id="software-installation"&gt;Software installation&lt;/h2&gt;
&lt;p&gt;P3BSseq is designed for Linux/Unix operating systems, &lt;br/&gt;
and here we explain how to install it on an Ubuntu system. &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Download P3BSseq from&lt;br/&gt;
&lt;a href="https://sourceforge.net/projects/p3bsseq/P3BSseq.zip"&gt;https://sourceforge.net/projects/p3bsseq/P3BSseq.zip&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Copy the P3BSseq_v*.zip file in a convenient for the user folder.&lt;br/&gt;
From here on, we will consider that the user has chosen to install the software in a path  path_to_P3BSseq/&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Unzip the P3BSseq.zip file&lt;br/&gt;
After unzip, two subfolders will be created in the folder path_to_P3BSseq/P3BSseq, &lt;br/&gt;
PARAMETERS and P3BSseq.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The PARAMETERS folder contains the optimized parameters as default values in the text files:&lt;br/&gt;
genome_indexing.txt, &lt;br/&gt;
parameter file to provide the species and the version of the reference genome, &lt;br/&gt;
and the local place in which such genome will be downloaded and indexed.&lt;br/&gt;
single_end_WGBS.txt, default parameters for processing single-end reads of WGBS data.&lt;br/&gt;
paired_end_WGBS.txt, default parameters for processing paired-end reads of WGBS data.&lt;br/&gt;
single_end_RRBS.txt, default parameters for processing single-end reads of RRBS data.&lt;br/&gt;
paired_end_RRBS.txt, default parameters for processing paired-end reads of RRBS data.&lt;/p&gt;
&lt;p&gt;The user interacts with the P3BSseq software by editing these five parameter &lt;br/&gt;
files with any text editor such as gedit, vim or vi.&lt;/p&gt;
&lt;p&gt;P3BSseq contains, beside the internal core tools, &lt;br/&gt;
the main binary executable files through which the user interacts with the software:&lt;br/&gt;
genome_indexing: To download and index the reference genome.&lt;br/&gt;
single_end_WGBS: To map WGBS with single-end reads. &lt;br/&gt;
single_end_RRBS: To map RRBS with single-end reads. &lt;br/&gt;
paired_end_WGBS: To map WGBS with paired-end reads. &lt;br/&gt;
paired_end_RRBS: To map for RRBS with paired-end reads.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Give executable rights to the executable files: &lt;br/&gt;
Open a terminal and type:&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;chmod +x path_to_P3BSseq/P3BSseq/* &lt;/p&gt;
&lt;p&gt;NOTE&lt;br/&gt;
5. Ensure that the matplotlibrc file is in the /etc folder.&lt;br/&gt;
If the matplotlibrc is not already installed in the /etc folder, the user has two options:&lt;br/&gt;
A) To install the whole matplotlib library (see instructions in &lt;a href="http://matplotlib.org" rel="nofollow"&gt;http://matplotlib.org&lt;/a&gt;)&lt;br/&gt;
B) Or copy the matplotlib file provided in our software package into the /etc folder.&lt;/p&gt;
&lt;p&gt;To copy file matplotlibrc to the /etc folder, &lt;br/&gt;
the user should have need administration rights. &lt;br/&gt;
Thus, open a terminal and type:&lt;/p&gt;
&lt;p&gt;sudo cp path_to_P3BSseq/P3BSseq/matplotlibrc /etc &lt;/p&gt;
&lt;p&gt;Because of the use of administration rights (sudo command in case of Ubuntu operating system), &lt;br/&gt;
the system will ask for the user password before performing this task.&lt;/p&gt;
&lt;p&gt;NOTE&lt;br/&gt;
6. Ensure that the Java Runtime Environment (JRE) version at least 1.6 is installed.&lt;br/&gt;
JRE is available for a number of different platforms.&lt;br/&gt;
(i) Test whether Java is correctly installed as follows. &lt;br/&gt;
Open a terminal, type in the command line: &lt;/p&gt;
&lt;p&gt;java -version &lt;/p&gt;
&lt;p&gt;If the terminal displays a message like this:&lt;/p&gt;
&lt;p&gt;java version "1.6.0_17"&lt;br/&gt;
Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025)&lt;br/&gt;
Java HotSpot(TM) Client VM (build 14.3-b01-101, mixed mode)&lt;/p&gt;
&lt;p&gt;the Java 1.6 is correctly installed. Otherwise, an error message appears &lt;br/&gt;
that means that Java is not instaled or incorrectly installed.&lt;/p&gt;
&lt;p&gt;(ii) To install Java&lt;br/&gt;
sudo apt-get update&lt;br/&gt;
java -version&lt;br/&gt;
sudo apt-get install default-jre&lt;/p&gt;
&lt;hr/&gt;
&lt;h2 id="input-data-file-installation"&gt;Input data file installation&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Make a folder to store the raw reads&lt;br/&gt;
The user can choose any path name to store the raw reads. For example:&lt;br/&gt;
/home/DNAmethylation/INPUT_FILES/&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Open a terminal and type&lt;/p&gt;
&lt;p&gt;mkdir /home/DNAmethylation/INPUT_FILES/ &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download the raw reads files&lt;br/&gt;
In case that the user is not processing her/his own data, &lt;br/&gt;
she/he can download the data (in fastq format) from a database, &lt;br/&gt;
and save it in the INPUT_FILES folder, for example:&lt;br/&gt;
/home/DNAmethylation/INPUT_FILES&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;NOTE &lt;br/&gt;
The names of the raw fastq read files have to follow a naming structure:&lt;br/&gt;
For single-end files: The file name has the structure basename.fastq.extension. &lt;br/&gt;
The basename part can be any string without white space, &lt;br/&gt;
dash (_) or dot(.) characters. &lt;br/&gt;
The .fastq string has to appear after the basename. &lt;br/&gt;
The .extension part can be .gz or .zip for compressed files, &lt;br/&gt;
or an empty string for non compressed ones. &lt;br/&gt;
An example of such naming format is: SRR094461.fastq.gz&lt;/p&gt;
&lt;p&gt;For paired-end files: The paired-end datasets come in paired files. &lt;br/&gt;
The file names have the structure &lt;br/&gt;
basename_1.fastq.extension and basename_2.fastq.extension.&lt;br/&gt;
The paired files have to have the same basename. &lt;br/&gt;
The naming rules for the basename and for the extension part are as in the single-end files. &lt;br/&gt;
An example of such naming format is the pair SRR097408_1.fastq.gz and SRR097408_2.fastq.gz&lt;/p&gt;
&lt;p&gt;Often the methylation data of a project are split into several fastq files. &lt;br/&gt;
P3BSseq can process all these files together. &lt;br/&gt;
The only requirement for that is to put all fastq files of &lt;br/&gt;
the same sample in the same INPUT_FILES folder.&lt;br/&gt;
As an example of analysis of a dataset split in several fastq files we chose one of the &lt;br/&gt;
datasets we have already processed in Luu et al.(2013). &lt;br/&gt;
P3BSseq does not require to uncompress the data files, &lt;br/&gt;
the mappers perform the uncompression automatically of .gz and .zip fastq compressed files.&lt;/p&gt;
&lt;p&gt;NOTE&lt;br/&gt;
P3BSseq tries to process all the fastq data files that exist in the &lt;br/&gt;
INPUT_FILES folder associated to a project. &lt;br/&gt;
However, since each project can be processed only with one of the four mappers &lt;br/&gt;
(single_end_WGBS, paired_end_WGBS, single_end_RRBS and paired_end_RRBS) &lt;br/&gt;
all data files in the INPUT_FILES folder have to be of the same reference genome, &lt;br/&gt;
and the same combination of methylome type (WGBS or RRBS), &lt;br/&gt;
reads ending type (single-end or paired-end) and directional library &lt;br/&gt;
(directional or non-directional). &lt;/p&gt;
&lt;p&gt;To process data of different nature, &lt;br/&gt;
the user should split the data in several projects, each  with uniform data type. &lt;br/&gt;
It is possible to perform such task by scripting. &lt;br/&gt;
First store all the data in another folder, &lt;br/&gt;
for example named DATA, and write a script that successively selects uniform &lt;br/&gt;
data types and put them in the corresponding INPUT_FILES folder to process them &lt;br/&gt;
in the same batch.&lt;/p&gt;
&lt;hr/&gt;
&lt;h2 id="reference-genome-installation"&gt;Reference genome installation&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Create a folder to store the reference genome. &lt;br/&gt;
It is possible to use any name, for example:&lt;br/&gt;
/home/DNAmethylation/REFERENCE_GENOME&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Thus, open a terminal and type&lt;/p&gt;
&lt;p&gt;mkdir /home/DNAmethylation/REFERENCE_GENOME &lt;/p&gt;
&lt;p&gt;The space required for such folder is ~10GB for the mouse and ~13GB for the human case. &lt;br/&gt;
It is not necessary to download the reference genome. &lt;br/&gt;
It is only necessary to provide a folder and the path to that folder, &lt;br/&gt;
and the program will download automatically the reference genome into that folder. &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Set the parameters of the genome downloading and indexing parameter file:&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;(i) Open with a text editor the file:&lt;br/&gt;
path_to_BSseq3P/PARAMETERS/genome_indexing.txt&lt;/p&gt;
&lt;p&gt;(ii) Set the variable genome_name to the ID of the genome.&lt;br/&gt;
This ID is formed by an abbreviation of the species name, &lt;br/&gt;
followed by the genome version number. &lt;br/&gt;
For example,&lt;br/&gt;
ERR192345 is mouse data, thus, choose genome_name mm9 or mm10, &lt;br/&gt;
SRR201781 is human data, thus, choose genome_name hg18, hg19 or hg38.&lt;/p&gt;
&lt;p&gt;(iii) Set the variable path_genome to the path in which the user wishes to &lt;br/&gt;
store permanently the reference genome.&lt;/p&gt;
&lt;p&gt;NOTE&lt;br/&gt;
The path written in the variable path_genome will point to the place in which &lt;br/&gt;
the reference genome will be downloaded and indexed.&lt;br/&gt;
 Any mistake writing that path here will affect the placement of the reference genome.&lt;/p&gt;
&lt;p&gt;(iv) Safe the genome_indexing.txt file before closing the editor.&lt;/p&gt;
&lt;p&gt;See Table S1 for the definition of the indexing parameters and &lt;br/&gt;
their default values. &lt;br/&gt;
3. Download and index the reference genome &lt;br/&gt;
(i) Open a terminal.&lt;/p&gt;
&lt;p&gt;(ii) Run the indexer by typing in the command line of the terminal:&lt;/p&gt;
&lt;p&gt;path_to_P3BSseq/P3BSseq/genome_indexing &lt;/p&gt;
&lt;p&gt;NOTE&lt;br/&gt;
The download will take ~10 minutes. The indexing will take ~12 hours &lt;br/&gt;
(depending on the hardware) for a human genome. &lt;br/&gt;
It is only necessary to perform the indexing one time per reference genome. &lt;br/&gt;
The genome indexing program will create a structure of subfolders and files in the &lt;br/&gt;
path_to_REFERENCE_GENOME folder associated to the chosen genome.&lt;/p&gt;
&lt;p&gt;For example if the user decide to download the hg19 reference genome in the folder &lt;br/&gt;
/home/DNAmethylation/REFERENCE_GENOME&lt;/p&gt;
&lt;p&gt;genome_indexing will create automatically the folder &lt;br/&gt;
/home/DNAmethylation/REFERENCE_GENOME/hg19&lt;/p&gt;
&lt;p&gt;with the following subfolders:&lt;br/&gt;
annotation, to keep the genome annotation.&lt;br/&gt;
CpGislands, to keep the information about the CpG islands and CpA coordinates&lt;br/&gt;
 within 200bp promoter CpG islands.&lt;br/&gt;
Fasta, to keep the fasta files of all the chromosomes sequences of the &lt;br/&gt;
reference genome.&lt;br/&gt;
Indexing, to keep the indexing information of the reference genome.&lt;/p&gt;
&lt;p&gt;NOTE&lt;br/&gt;
To save the user time performing the indexing, we have uploaded at&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a href="https://sourceforge.net/projects/p3bsseq/files/IndexedGenomes/"&gt;https://sourceforge.net/projects/p3bsseq/files/IndexedGenomes/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;the indexed genomes of several genome versions: &lt;br/&gt;
Human (hg18, hg19, hg38), mouse (mm9, mm10) and rat (rn4).&lt;/p&gt;
&lt;p&gt;To use these indexed genomes, the user should dowloaded the files from the respective &lt;br/&gt;
remotes directories at&lt;/p&gt;
&lt;p&gt;&lt;a href="https://sourceforge.net/projects/p3bsseq/files/IndexedGenomes/"&gt;https://sourceforge.net/projects/p3bsseq/files/IndexedGenomes/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and save them in the local folder &lt;/p&gt;
&lt;p&gt;/home/DNAmethylation/REFERENCE_GENOME/&lt;/p&gt;
&lt;p&gt;then she/he has to join the chunks. &lt;/p&gt;
&lt;p&gt;For example, for version 19 of the indexed human genome:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open a terminal, go to the local directory &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;/home/DNAmethylation/REFERENCE_GENOME/&lt;/p&gt;
&lt;p&gt;and type&lt;/p&gt;
&lt;p&gt;cut hg19* &amp;gt; hg19.zip&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Unzip hg19.zip&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;unzip hg19.zip&lt;/p&gt;
&lt;p&gt;This will create a directory hg19 with subfolders&lt;/p&gt;
&lt;p&gt;annotation&lt;br/&gt;
CpGislands&lt;br/&gt;
fasta&lt;br/&gt;
indexing&lt;br/&gt;
path&lt;/p&gt;
&lt;p&gt;of the indexed genome. &lt;/p&gt;
&lt;hr/&gt;
&lt;h2 id="run-the-mapper"&gt;Run the mapper&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Choose the type of mapper.&lt;br/&gt;
Depending on the combination of methylome type (WGBS or RRBS)&lt;br/&gt;
 and reads ending type (single-end or paired-end), &lt;br/&gt;
there are four different mappers &lt;br/&gt;
(named single_end_WGBS, paired_end_WGBS, single_end_RRBS, paired_end_RRBS). &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;NOTE&lt;br/&gt;
Since for each different dataset the user might wish to utilize different processing parameters, &lt;br/&gt;
including different folders to save the results, &lt;br/&gt;
it is advisable that prior to any editing of the parameter files, &lt;br/&gt;
the user backups a copy of the default parameter files. &lt;br/&gt;
The simpler way is before any change in that files &lt;br/&gt;
to copy the PARAMETERS folder in another folder, &lt;br/&gt;
for example named PARAMETERS-DEFAULT. &lt;br/&gt;
Thus, the user can always recover the software default parameters. &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Configure the mapper parameter file.&lt;br/&gt;
(i) Before running the mapper, open with a text editor such as &lt;br/&gt;
(gedit, vim or vi) the mapper parameter file &lt;br/&gt;
(single_end_WGBS.txt, paired_end_WGBS.txt, single_end_RRBS.txt, or paired_end_RRBS.txt) &lt;br/&gt;
corresponding to the chosen mapper. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The mapper parameter files are in the PARAMETERS folder of the P3BSseq installation. &lt;br/&gt;
For example in:&lt;br/&gt;
path_to_P3BSseq/PARAMETERS/process_alignment_WGBS.txt&lt;/p&gt;
&lt;p&gt;Edit the needed information. &lt;br/&gt;
The minimal required information is the following &lt;br/&gt;
The sample_name variable is the name of the methylomics sample to be processed &lt;br/&gt;
(it can be any string denoting a file name). &lt;br/&gt;
This name will be used to create the BED file name with the methylation calls results.&lt;/p&gt;
&lt;p&gt;The genome_name variable has to store exactly the same reference ID already selected &lt;br/&gt;
in the genome_name variable of the genome_indexing.txt file. &lt;br/&gt;
For example mm10.&lt;/p&gt;
&lt;p&gt;NOTE&lt;br/&gt;
The value of the genome_name variable has to match exactly the species abbreviation &lt;br/&gt;
and the genome version of the reference ID already selected in the&lt;br/&gt;
 genome_name variable of the genome_indexing.txt file.&lt;/p&gt;
&lt;p&gt;The path_genome variable is the path to the folder that has the indexed genome.&lt;br/&gt;
It has to be exactly the same path as to the reference genome already selected&lt;br/&gt;
in the path_genome variable of the genome_indexing.txt file.&lt;/p&gt;
&lt;p&gt;NOTE&lt;br/&gt;
The path written in the path_genome variable has to match exactly the path to &lt;br/&gt;
the reference genome &lt;br/&gt;
already selected in the path_genome variable of the genome_indexing.txt file.&lt;/p&gt;
&lt;p&gt;The path_raw variable is the path to the folder that has the fastq format &lt;br/&gt;
raw read files (path to INPUT_FILES).&lt;/p&gt;
&lt;p&gt;NOTE&lt;br/&gt;
The path written in path_raw variable has to match exactly the path in which&lt;br/&gt;
 the fastq files are placed.&lt;/p&gt;
&lt;p&gt;The path_out is the path to the folder that will store all the output results. &lt;/p&gt;
&lt;p&gt;NOTE&lt;br/&gt;
P3BSseq erase the content of the path_out folder prior any calculation. &lt;br/&gt;
If the user wishes to run several experiments with different parameters for &lt;br/&gt;
the same dataset, &lt;br/&gt;
she/he has to choose a different name for the path_out folder for each experiment &lt;br/&gt;
in order not to lose for each running the results.&lt;/p&gt;
&lt;p&gt;The rest of the variables in the configuration file can be kept in the &lt;br/&gt;
optimized default values. &lt;br/&gt;
Advance users can change such default values &lt;br/&gt;
(see Tables S2 and S3 for the definition of all mapper parameters, &lt;br/&gt;
and their default values).&lt;br/&gt;
The comments in the parameter file contain the hint or a link for &lt;br/&gt;
further parameter explanations. &lt;/p&gt;
&lt;p&gt;(iv) Save the mapper parameter file before closing the editor.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the mapper&lt;br/&gt;
(i) Open a terminal.&lt;br/&gt;
(ii) Type the path to the binary file of the chosen mapper and press Return. &lt;br/&gt;
The possible mappers are: &lt;br/&gt;
For Genome Wide Bisulfite Sequencing methylomes&lt;/li&gt;
&lt;li&gt;For single end&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;path_to_P3BSseq/P3BSseq/single_end_WGBS &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For paired end&lt;br/&gt;
path_to_P3BSseq/P3BSseq/paired_end_WGBS &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For Reduced Representation Bisulfite Sequencing (RRBS) methylomes&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;For single end&lt;br/&gt;
path_to_P3BSseq/P3BSseq/single_end_RRBS &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;For paired end&lt;br/&gt;
path_to_P3BSseq/P3BSseq/paired_end_RRBS &lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;===============================================================================&lt;br/&gt;
EXAMPLES&lt;br/&gt;
===============================================================================&lt;/p&gt;
&lt;hr/&gt;
&lt;h2 id="example-of-using-p3bsseq-for-a-methylome-data-fragmented-into-three-files"&gt;Example of using P3BSseq for a methylome data fragmented into three files&lt;/h2&gt;
&lt;p&gt;The example assumes that the user has already installed P3BSseq in a folder: &lt;br/&gt;
/home/DNAmethylation/P3BSseq &lt;br/&gt;
and wishes to store the reference genome in a folder:&lt;br/&gt;
/home/DNAmethylation/REFERENCE_GENOME &lt;br/&gt;
and wishes to process human iPS cell derived from fibroblast ffipsc1911 downloaded from the &lt;br/&gt;
ftp://ftp.sra.ebi.ac.uk server and to save the reads data in a folder:&lt;br/&gt;
/home/DNAmethylation/INPUT_FILES/ffipsc1911&lt;br/&gt;
and the results in a folder&lt;br/&gt;
/home/DNAmethylation/OUTPUTS/ffipsc1911&lt;br/&gt;
These data are WGBS directional single-end reads, &lt;br/&gt;
fragmented into three fastq files.&lt;/p&gt;
&lt;p&gt;Download and index the reference genome&lt;br/&gt;
Set the parameters&lt;br/&gt;
Open the &lt;br/&gt;
/home/DNAmethylation/P3BSseq/PARAMETERS/genome_indexing.txt &lt;br/&gt;
parameter file with any text editor &lt;br/&gt;
(gedit, vim or vi) to set the parameters.&lt;br/&gt;
Write in genome_name the genome ID. Since we wish to align to human genome, &lt;br/&gt;
then set it to hg19:&lt;br/&gt;
genome_name = hg19&lt;br/&gt;
Write in path_genome the path of the output folder from the indexing of the &lt;br/&gt;
reference genome, &lt;br/&gt;
path_genome = /home/DNAmethylation/REFERENCE_GENOME. &lt;br/&gt;
This location should have a free space of at least 13GB for hg19.&lt;br/&gt;
Save the file and close it.&lt;br/&gt;
Run the executable genome of the genome indexing file.&lt;br/&gt;
Open a terminal and type:&lt;br/&gt;
/home/DNAmethylation/P3BSseq/genome_indexing&lt;/p&gt;
&lt;p&gt;The download will take ~10 minutes and the indexing will take &lt;br/&gt;
(depending on the hardware) ~12 hours. &lt;br/&gt;
It is only necessary to perform the indexing one time per reference genome. &lt;br/&gt;
The genome downloading and indexing program will generate a structure of &lt;br/&gt;
subfolders and files in the &lt;br/&gt;
/home/DNAmethylation/REFERENCE_GENOME/hg19 folder associated with the selected genome. &lt;/p&gt;
&lt;p&gt;Set the input data&lt;br/&gt;
P3BSseq will run and generate a report with one sample methylome at a time. &lt;br/&gt;
Input data preparation: &lt;br/&gt;
All the raw reads, in three fastq files of the human iPS cells derived from &lt;br/&gt;
fibroblast (ffipsc1911) &lt;br/&gt;
directional single-end read WGBS with ~406 million reads can be downloaded via the links:&lt;br/&gt;
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR094/SRR094461/SRR094461.fastq.gz&lt;br/&gt;
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR094/SRR094462/SRR094462.fastq.gz&lt;br/&gt;
ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR094/SRR094463/SRR094463.fastq.gz&lt;/p&gt;
&lt;p&gt;Save these files in the folder &lt;br/&gt;
/home/DNAmethylation/INPUT_FILES/ffipsc1911&lt;br/&gt;
For this example at least 28GB are required to keep the fastq files. &lt;br/&gt;
It is not necessary to unzip the fastq files.&lt;/p&gt;
&lt;p&gt;Run the mapper&lt;br/&gt;
Set the mapper parameters&lt;br/&gt;
Since the data is human WGBS directional single-end,&lt;br/&gt;
 open the /home/DNAmethylation/P3BSseq/PARAMETERS/single_end_WGBS.txt &lt;br/&gt;
parameter file with any text editor (gedit, vim or vi) to set the parameters.&lt;br/&gt;
Write in sample_name the string recalling the sample. &lt;br/&gt;
We have already decided to use the name ffipsc1911&lt;br/&gt;
Write in genome_name the human genome ID. &lt;br/&gt;
It has to be the same as the one used for indexing the reference genome,&lt;br/&gt;
as in the parameter file genome_indexing.txt&lt;br/&gt;
genome_name = hg19&lt;br/&gt;
Write in path_genome the path of the output folder from indexing the reference genome &lt;br/&gt;
path_genome = /home/DNAmethylation/REFERENCE_GENOME&lt;br/&gt;
Write in path_raw the path to folder that stored the fastq format raw read files, &lt;br/&gt;
as we set it in the input data preparation step:&lt;br/&gt;
path_raw = /home/DNAmethylation/INPUTS/ffipsc1911&lt;br/&gt;
Write in path_out the path to the folder that will store all the output results &lt;br/&gt;
path_out = /home/DNAmethylation/OUTPUTS/ffipsc1911&lt;br/&gt;
Write in number_of_strands = 2 &lt;br/&gt;
since this data corresponds with a directional library.&lt;br/&gt;
Save the file and close it.&lt;/p&gt;
&lt;p&gt;Run the mapper&lt;br/&gt;
Open a terminal and type: &lt;br/&gt;
home/DNAmethylation/P3BSseq/single_end_WGBS&lt;br/&gt;
After running, it will create in the OUTPUT folder&lt;br/&gt;
/home/DNAmethylation/OUTPUTS/ffipsc1911&lt;br/&gt;
a structure of subfolders and files with the results will be created.&lt;/p&gt;
&lt;hr/&gt;
&lt;h2 id="example-results"&gt;Example results&lt;/h2&gt;
&lt;p&gt;After running one of the mappers, &lt;br/&gt;
it will create in the OUTPUTS folder a structure of subfolders and files with the results&lt;br/&gt;
with the following information:&lt;/p&gt;
&lt;p&gt;01_Raw_Sequence_Quality: &lt;br/&gt;
Contains the quality check results of the raw sequences.&lt;/p&gt;
&lt;p&gt;02_Quality_and_Adapter_Trimmed_Sequences: &lt;br/&gt;
Contains the files with the results &lt;br/&gt;
of quality and adapter trimming of the raw sequences. &lt;br/&gt;
These files are short sequences in fastq format.&lt;/p&gt;
&lt;p&gt;03_Input_Sequences: &lt;br/&gt;
Contains the trimmed sequences that are converted to BRAT-BW format before alignment.&lt;/p&gt;
&lt;p&gt;04_Input_Sequence_Quality: &lt;br/&gt;
Contains the quality check results of the trimmed sequences before alignment &lt;/p&gt;
&lt;p&gt;05_Unmapped_Sequences: &lt;br/&gt;
Contains the unmapped sequences after the separation from the mapped sequences.&lt;/p&gt;
&lt;p&gt;06_Unmapped_Sequence_Quality: &lt;br/&gt;
Contains the quality check results of the unmapped sequences.&lt;/p&gt;
&lt;p&gt;07_Quality_and_Kmer_Trimmed_Sequences: &lt;br/&gt;
Contains the quality and kmer trimming &lt;br/&gt;
files with the results from trimmed unmapped sequences. &lt;br/&gt;
These files store short sequences in fastq format.&lt;/p&gt;
&lt;p&gt;08_Mapped_Sequences: &lt;br/&gt;
Contains the results of alignment including mapped sequences &lt;br/&gt;
and statistics before and after deduplication. &lt;br/&gt;
These files store short sequences in BRAT-BW format.&lt;/p&gt;
&lt;p&gt;10_Methylation_Call: Contains 3 types of files:&lt;br/&gt;
The first type of files have all methylation ratios of CG on each strand of &lt;br/&gt;
each chromosome. The files are named chr*.fa.txt_strand.txt_CG, where * is &lt;br/&gt;
the chromosome, and strand is forw (for the forward strand) and rev (for the &lt;br/&gt;
reverse strand). These files have 8 columns:&lt;br/&gt;
1. Chromosome ID.&lt;br/&gt;
2. Locus in the chromosome of the C of the CG pair.&lt;br/&gt;
3. Strand (+ for forward, - for reverse).&lt;br/&gt;
4. CG&lt;br/&gt;
5. Total sum of read counts of Cytosines (Cs), thus means, methylated Cs, &lt;br/&gt;
mapped to this locus.&lt;br/&gt;
6. Total sum of read counts of Cytosines and Thymines (C+T)&lt;br/&gt;
 mapped to this locus.&lt;br/&gt;
7. Methylation ratio: C/(C+T) of the C locus.&lt;br/&gt;
8. Total sum of read counts of Thymines (Ts), thus means, &lt;br/&gt;
unmethylated Cs, mapped to this locus.&lt;/p&gt;
&lt;p&gt;The second file type has only one representative: sample_name_CG.txt &lt;br/&gt;
is the merge of the CG &lt;br/&gt;
methylation calls (forward and reverse) of all the chromosomes. It has the format: &lt;br/&gt;
1. Chromosome ID.&lt;br/&gt;
2. Locus in the chromosome of the C of the CG pair. &lt;br/&gt;
3. Locus in the chromosome of the G of the CG pair. &lt;br/&gt;
4. CG &lt;br/&gt;
5. Total sum of read counts of Cytosines (Cs), thus means, methylated Cs, &lt;br/&gt;
mapped to this locus. &lt;br/&gt;
6. Total sum of read counts of Cytosines and Thymines (C+T) mapped to this locus.&lt;br/&gt;
7. Methylation ratio: C/(C+T) of the C locus.&lt;br/&gt;
8. Total sum of read counts of Thymines (Ts), thus means, unmethylated Cs, &lt;br/&gt;
mapped to this locus.&lt;/p&gt;
&lt;p&gt;The third file type is represented by 2 files: sample_name_strand.txt are where strand is forw &lt;br/&gt;
(for the forward strand) and rev (for the reverse strand) are the files are the &lt;br/&gt;
methylation calling of CG, CHG and CHH of each strand with the following format:&lt;br/&gt;
1. Chromosome ID.&lt;br/&gt;
2. Locus in the chromosome of the C of the CG, CHG or CHH pattern.&lt;br/&gt;
3. Locus in the chromosome of last base of the CG, CHG or CHH pattern.&lt;br/&gt;
4. CG, CHG or CHH pattern: Total sum of read counts of Cytosines and Thymines (C+T)&lt;br/&gt;
 mapped to this locus.&lt;br/&gt;
5. Methylation ratio: C/(C+T) of the C locus.&lt;br/&gt;
6. Strand (+ for forward, - for reverse).&lt;/p&gt;
&lt;p&gt;Note&lt;br/&gt;
Bisulfite conversion deaminate unmethylated Cytosines to produce Uracil in DNA.&lt;br/&gt;
Methylated Cytosines are protected from the conversion to Uracil.&lt;br/&gt;
Uracils are displayed as Thymines. with the methylation calling results in BED format.&lt;br/&gt;
This file stores the methylation ratio of each of the three categories of methylation ratios: &lt;br/&gt;
CG, CHH and CHG for all the chromosomes merged together. &lt;br/&gt;
The BED format provides a flexible way to define genomic features.&lt;/p&gt;
&lt;p&gt;11_BAM_File_and_Mapping_Visualization: &lt;br/&gt;
Contains the SAM and BAM files converted from results of alignment.&lt;/p&gt;
&lt;p&gt;12_Bisulfite_Sequencing_Report: &lt;br/&gt;
Contains intermediate steps results needed to create the final HTML report file.&lt;/p&gt;
&lt;p&gt;All the results are summed up in the report html file, &lt;br/&gt;
in compliance with the Standards and Guidelines for &lt;br/&gt;
Whole Genome Shotgun Bisulfite Sequencing issued by the &lt;br/&gt;
NIH Roadmap Epigenomics Mapping Consortium. &lt;br/&gt;
The report is located at: &lt;br/&gt;
path_to_output/12_Bisulfite_Sequencing_Report/BSseq_report.html&lt;/p&gt;
&lt;p&gt;The report contains information on the sequencing depth; &lt;br/&gt;
read information and parameters before and after trimming and alignment; &lt;br/&gt;
and the percentages of genomic, &lt;br/&gt;
Cytosine and CpG coverage distributed in four sections about &lt;/p&gt;
&lt;p&gt;I. Raw sequences&lt;br/&gt;
    Provides among other results information about the coverage X. &lt;/p&gt;
&lt;p&gt;II. Processing raw sequences.&lt;br/&gt;
    Provides among other results the parameters used to trim the data, &lt;br/&gt;
    the statistics and the links to the fastq results files of the trimming step.&lt;/p&gt;
&lt;p&gt;III. Alignment.&lt;br/&gt;
    Provides among other results &lt;br/&gt;
    the parameters used to map the data and the statistics of there the alignment results.&lt;/p&gt;
&lt;p&gt;IV. Processing alignment output. &lt;br/&gt;
    Provides among other results, &lt;br/&gt;
    the statistics of the final alignment after deduplication,&lt;br/&gt;
    the links to the BED files with the methylation ratios, &lt;br/&gt;
    the bisulfate conversion rates, and the sequencing depths after mapping.&lt;/p&gt;
&lt;p&gt;Some of the subfolders results are created to keep intermediate step results, &lt;br/&gt;
that can be helpful for further quality check or for more advance research. &lt;br/&gt;
But for a normal application they can be removed without any effect on &lt;br/&gt;
the methylome and on the final report &lt;br/&gt;
(since the final report has no links to such subfolders).&lt;br/&gt;
 Thus, in case the user wishes to save hard disk space, &lt;br/&gt;
she/he can delete the following subfolders:&lt;br/&gt;
02_Quality_and_Adapter_Trimmed_Sequences&lt;br/&gt;
03_Input_Sequences&lt;br/&gt;
05_Unmapped_Sequences&lt;br/&gt;
07_Quality_and_Kmer_Trimmed_Sequences&lt;br/&gt;
08_Mapped_Sequences&lt;/p&gt;
&lt;p&gt;Deleting these subfolders will free approximately half of the result space.&lt;/p&gt;
&lt;p&gt;===============================================================================&lt;br/&gt;
REFERENCES&lt;br/&gt;
===============================================================================&lt;br/&gt;
Luu PL, Schöler HR, Araúzo-Bravo MJ.&lt;br/&gt;
Disclosing the crosstalk among DNA methylation, transcription factors, &lt;br/&gt;
and histone marks in human pluripotent cells through discovery of DNA methylation motifs.&lt;br/&gt;
Genome Res. 2013 Dec;23(12):2013-29. doi: 10.1101/gr.155960.113. Epub 2013 Oct 22.&lt;br/&gt;
PMID: 24149073 &lt;/p&gt;
&lt;p&gt;===============================================================================&lt;br/&gt;
APPENDIX&lt;br/&gt;
===============================================================================&lt;/p&gt;
&lt;p&gt;Table S1. Parameter definition of the genome_indexing.txt parameter file to &lt;br/&gt;
configure the download and indexing of the reference genome. &lt;br/&gt;
These parameters are used by the genome_indexing executable file.&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;No  Parameters          Explanation&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;1   genome_name = mm9       Id of the reference genome such as hg18, &lt;br/&gt;
                    hg19, hg38, mm9, mm10; hg = human, mm = mouse&lt;br/&gt;
2   path_genome = /home/ref_genome  Reference genome that will be downloaded to path_genome. &lt;br/&gt;
                    The indexing outputs are also stored in path_genome folder. &lt;br/&gt;
                    The required space for the path_genome &lt;br/&gt;
                    folder is approximately 13GB for hg38, 11.5GB for mm10&lt;br/&gt;
3   url_chromosomes = url       Url from which the software will download the fasta files of the sequences of all the chromosomes.&lt;br/&gt;
                    Optional variable. &lt;br/&gt;
                    If it is not defined, the software will use as default the url of the UCSC:&lt;br/&gt;
                    ftp://hgdownload.cse.ucsc.edu/goldenPath/genome_name/chromosomes/&lt;br/&gt;
4   url_annotation = url        Url from which the software will download the annotation information of the genome.&lt;br/&gt;
                    Optional variable. &lt;br/&gt;
                    If it is not defined, the software will use as default the url of the UCSC:&lt;br/&gt;
                    ftp://hgdownload.cse.ucsc.edu/goldenPath/genome_name/database/&lt;br/&gt;
5   url_cpg_island = url        Url from which the software will download the CpG island information.&lt;br/&gt;
                    Optional variable. &lt;br/&gt;
                    If it is not defined, the software will use as default the url of the UCSC:&lt;br/&gt;
                    ftp://hgdownload.cse.ucsc.edu/goldenPath/genome_name/database/cpgIslandExt.txt.gz&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;Table S2. Parameter definition of the single-end read parameter files &lt;br/&gt;
single_end_WGBS.txt and single_end_RRBS.txt to configure &lt;br/&gt;
the processing of WGBS and RRBS with the single_end_WGBS and &lt;br/&gt;
single_end_RRBS mappers, respectively.&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;No  Parameters          Explanation&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;1   sample_name = ffipsc69      Name of methylomics sample to be processed. &lt;br/&gt;
                    It is any string that recalls the sample. &lt;br/&gt;
                    This name will be used to create the &lt;br/&gt;
                    subfolder structure that will host the results&lt;br/&gt;
2   genome_name = hg19      ID of the reference genome, &lt;br/&gt;
                    such as hg18, hg19, hg38, mm9, mm10, etc. (hg = human, mm = mouse). &lt;br/&gt;
                    The ID is the same as genome_name in the genome_indexing.txt&lt;br/&gt;
3   path_genome = /home/ref_genome  Path to the indexed genome; &lt;br/&gt;
                    it is the same as path_genome in the genome_indexing.txt&lt;br/&gt;
4   path_raw = /home/data/ffipsc69  Path to the folder with the raw read files in fastq format&lt;br/&gt;
5   path_out = /home/data/results   Path to folder that outputs all the results&lt;br/&gt;
6   bcq0 = 28           Base call quality threshold, &lt;br/&gt;
                    any bases with base call quality &amp;lt; bcq0 will be removed.&lt;br/&gt;
                    Recommended values = 20, 28, 30; &lt;br/&gt;
                    (see &lt;a href="http://en.wikipedia.org/wiki/Phred_quality_score" rel="nofollow"&gt;http://en.wikipedia.org/wiki/Phred_quality_score&lt;/a&gt;)&lt;br/&gt;
7   bcq_code = 33           ASCII quality score encoding used in the raw fastq file.&lt;br/&gt;
                    Recommended values = 33 or 64 &lt;br/&gt;
                    (see &lt;a href="http://en.wikipedia.org/wiki/FASTQ_format" rel="nofollow"&gt;http://en.wikipedia.org/wiki/FASTQ_format&lt;/a&gt;)&lt;br/&gt;
8   GC_threshold = 40       GC content threshold, best value = 40, 30 &lt;br/&gt;
                    (see &lt;a href="http://www.epigenesys.eu/images/stories/protocols/pdf/20120720103700_p57.pdf" rel="nofollow"&gt;http://www.epigenesys.eu/images/stories/protocols/pdf/20120720103700_p57.pdf&lt;/a&gt;)&lt;br/&gt;
9   C_threshold = 20        C composition threshold,. &lt;br/&gt;
                    Recommended values = 20, 15 &lt;br/&gt;
                    (see &lt;a href="http://www.epigenesys.eu/images/stories/protocols/pdf/20120720103700_p57.pdf" rel="nofollow"&gt;http://www.epigenesys.eu/images/stories/protocols/pdf/20120720103700_p57.pdf&lt;/a&gt;)&lt;br/&gt;
10  adapter = AGATCGGAAGAGC     Adapter sequence contaminated in read that needs to be removed. &lt;br/&gt;
                    The default value is the first 13 bp of the Illumina adapter, &lt;br/&gt;
                    AGATCGGAAGAGC&lt;br/&gt;
11  error_rate = 0.1        Maximum allowed error rate &lt;br/&gt;
                    (number of errors divided by the length of the matching region).&lt;br/&gt;
                    Default value = 0.1&lt;br/&gt;
12  read_adapter_overlap = 1    Number of nucleotides that overlap between a read and the adapter to be trimmed. &lt;br/&gt;
                    Recommended values = 1, 2&lt;br/&gt;
13  length = 24         Length of a read kept for alignment if its length is at&lt;br/&gt;
                    least 24 bp after being trimmed by quality and adapter&lt;br/&gt;
14  Ns = 1              Number of internal undefined nucleotides of a read is allowed. &lt;br/&gt;
                    Recommended values = 0, 1, 2&lt;br/&gt;
15  number_of_strands = 2       Number of strands needed to align. &lt;br/&gt;
                    2 is for directional library and &lt;br/&gt;
                    4 is for non-directional library&lt;br/&gt;
16  nmismatch = 1           Allowed number of mismatches between a &lt;br/&gt;
                    read and the reference genome sequence.&lt;br/&gt;
                    Recommended values = 1, 2&lt;br/&gt;
17  bcq1 = 30           Base call quality for realign reads. &lt;br/&gt;
                    It makes sense when bcq1 ≥ bcq0&lt;br/&gt;
18  kmer_percent = 0.01     The percentage of kmer list used for kmer trimming.&lt;br/&gt;
                    Recommended values = 0.01, 0.02&lt;br/&gt;
19  make_report = 1         If 1, a BSseq report is generated, and if 0 not&lt;br/&gt;
20  nX = 5              Minimum coverage of each Cytosine on each strand &lt;br/&gt;
                    required to take this Cytosine into account.&lt;br/&gt;
                    The recommended values are from 2 to 10&lt;br/&gt;
21  maximum_number_process = 20 Maximum number of processes the user wishes to allocate for running P3BSseq. &lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;Table S3. Parameter definition of the paired-end read parameter files &lt;br/&gt;
paired_end_WGBS.txt and paired_end_RRBS.txt to configure the processing &lt;br/&gt;
of WGBS and RRBS with the paired_end_WGBS and paired_end_RRBS mappers, respectively.&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;No  Parameters          Explanation&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;1   sample_name = ffipsc69      Name of methylomics sample to be processed.&lt;br/&gt;
                    It is any string that recalls the sample.&lt;br/&gt;
                    This name will be used to create the &lt;br/&gt;
                    subfolder structure that will host the &lt;br/&gt;
                    results&lt;br/&gt;
2   genome_name = hg19      ID of the reference genome, &lt;br/&gt;
                    such as hg18, hg19, hg38, mm9, mm10, etc. &lt;br/&gt;
                    (hg = human, mm = mouse). &lt;br/&gt;
                    The ID is the same as genome_name in &lt;br/&gt;
                    the genome_indexing.txt&lt;br/&gt;
3   path_genome = /home/ref_genome  Path to the indexed genome; &lt;br/&gt;
                    it is same as path_genome in the &lt;br/&gt;
                    genome_indexing.txt&lt;br/&gt;
4   path_raw = /home/data/ffipsc69  Path to the folder containing the &lt;br/&gt;
                    raw read files in fastq format&lt;br/&gt;
5   path_out = /home/data/results   Path to the folder that outputs all &lt;br/&gt;
                    the results&lt;br/&gt;
6   bcq0 = 28           The base call quality threshold. &lt;br/&gt;
                    Any bases with base call &lt;br/&gt;
                    quality &amp;lt; bcq0 will be removed.&lt;br/&gt;
                    Recommended values = 20, 28, 30; &lt;br/&gt;
                    (see &lt;a href="http://en.wikipedia.org/wiki/Phred_quality_score" rel="nofollow"&gt;http://en.wikipedia.org/wiki/Phred_quality_score&lt;/a&gt;)&lt;br/&gt;
7   bcq_code = 33           ASCII quality score encoding used in the raw fastq file.&lt;br/&gt;
                    Recommended values = 33 or 64 &lt;br/&gt;
                    (see &lt;a href="http://en.wikipedia.org/wiki/FASTQ_format" rel="nofollow"&gt;http://en.wikipedia.org/wiki/FASTQ_format&lt;/a&gt;)&lt;br/&gt;
8   GC_threshold = 40       GC content threshold.&lt;br/&gt;
                    Recommended values = 40, 30 &lt;br/&gt;
                    (see &lt;a href="http://www.epigenesys.eu/images/stories/protocols/pdf/20120720103700_p57.pdf" rel="nofollow"&gt;http://www.epigenesys.eu/images/stories/protocols/pdf/20120720103700_p57.pdf&lt;/a&gt;)&lt;br/&gt;
9   C_threshold = 20        C composition threshold.&lt;br/&gt;
                    Recommended values = 20, 15 &lt;br/&gt;
                    (see &lt;a href="http://www.epigenesys.eu/images/stories/protocols/pdf/20120720103700_p57.pdf" rel="nofollow"&gt;http://www.epigenesys.eu/images/stories/protocols/pdf/20120720103700_p57.pdf&lt;/a&gt;)&lt;br/&gt;
10  adapter = AGATCGGAAGAGC     Adapter sequence contaminated in read that needs to be removed. &lt;br/&gt;
                    The default value is the first 13 bp of the Illumina adapter,&lt;br/&gt;
                    AGATCGGAAGAGC&lt;br/&gt;
11  adapter2 = ''           Adapter sequences for second mate of the paired-end read. &lt;br/&gt;
                    Default value: '' (empty string)&lt;br/&gt;
12  error_rate = 0.1        Maximum allowed error rate &lt;br/&gt;
                    (number of errors divided by the length of the matching region). &lt;br/&gt;
                    Default value = 0.1&lt;br/&gt;
13  read_adapter_overlap = 1    Number of nucleotides that overlap between a read and the adapter to be trimmed. &lt;br/&gt;
                    Recommended values = 1, 2&lt;br/&gt;
14  length = 24         Length of a read kept for alignment &lt;br/&gt;
                    if its length is at least 24 bp after&lt;br/&gt;
                    trimming by quality and adapter&lt;br/&gt;
15  length1 = 35            Length of a mate 1 kept for alignment&lt;br/&gt;
                    if its length is at least 35 bp after &lt;br/&gt;
                    trimming by quality and adapter when &lt;br/&gt;
                    mate 2 is removed&lt;br/&gt;
16  length2 = 35            Length of a mate 2 kept for alignment &lt;br/&gt;
                    if its length is at least 35 bp after &lt;br/&gt;
                    trimming by quality and adapter when &lt;br/&gt;
                    mate 1 is removed&lt;br/&gt;
17  Ns = 1              Allowed number of internal undefined &lt;br/&gt;
                    nucleotides of a read. &lt;br/&gt;
                    Recommended values = 0, 1, 2 &lt;br/&gt;
18  number_of_strands = 2       Number of strands needed to align.&lt;br/&gt;
                    2 is for directional library and &lt;br/&gt;
                    4 is for non-directional library&lt;br/&gt;
19  nmismatch = 1           Allowed number of mismatches between &lt;br/&gt;
                    a read and the reference genome sequence. &lt;br/&gt;
                    Recommended values = 1, 2&lt;br/&gt;
20  minimum_insertion_size = 0  Minimum insertion size between a paired read. &lt;br/&gt;
                    Recommended value = 0&lt;br/&gt;
21  maximum_insertion_size = 1000   Maximum insertion size between a paired read. &lt;br/&gt;
                    Recommended value = 1000&lt;br/&gt;
22  version = ''            If not realign of unmapped reads is wished, &lt;br/&gt;
                    then version = '' (empty string), &lt;br/&gt;
                    otherwise, specify any string&lt;br/&gt;
23  bcq1 = 30           Base call quality for realign reads. &lt;br/&gt;
                    It makes sense when bcq1 ≥ bcq0&lt;br/&gt;
24  kmer_percent = 0.01     Percentage of kmer list used for kmer trimming. &lt;br/&gt;
                    Recommended values = 0.01, 0.02&lt;br/&gt;
25  make_report = 1         If 1, a BSseq report is generated, &lt;br/&gt;
                    and if 0 not&lt;br/&gt;
26  nX = 5              Minimum coverage of each Cytosine on each &lt;br/&gt;
                    strand required to take this Cytosine into account.&lt;br/&gt;
                    The recommended values are between 2 to 10&lt;br/&gt;
27  maximum_number_process = 20 Maximum number of processes the user wishes to allocate for running P3BSseq.&lt;/p&gt;
&lt;hr/&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marcos J Arauzo-Bravo</dc:creator><pubDate>Tue, 13 Sep 2016 12:25:45 -0000</pubDate><guid>https://sourceforge.net35f3277879057308b759a32342a3686f249ad524</guid></item></channel></rss>