Home
Bismark Bisulfite Mapper – User Guide - v0.12.4
Contents
1. 1 QNAME segq ID 2 FLAG this flag tries to take the strand a bisulfite read originated from into account this is different from ordinary DNA alignment flags 3 RNAME chromosome 4 POS start position 5 MAPQ only calculated for Bowtie 2 always 255 for Bowtie 6 CIGAR 7 RNEXT 8 PNEXT 9 TLEN 10 SEQ 11 QUAL Phred33 scale 12 NM tag edit distance to the reference 13 MD tag base by base mismatches to the reference 14 XM tag methylation call string 15 XR tag read conversion state for the alignment 16 XG tag genome conversion state for the alignment The mate read of paired end alignments is written out as an additional separate line in the same format Custom vanilla Bismark output Bowtie 1 only Bismark can generate a comprehensive alignment and methylation call output file for each input file or set of paired end input files The sequence basecall qualities of the input FastQ files are written out into the Bismark output file as well to allow filtering on quality thresholds Please note that the quality values are encoded in Sanger format Phred 33 scale even if the input was in Phred64 or the old Solexa format The single end output contains the following information 1 line per sequence tab separated seq ID alignment strand chromosome start end original bisulfite read sequenc equival
2. 1000000 00008 600000 400000 200000 si as 20 2 30 oS 40 45 50 65 69 65 70 7S 60 85 99 95 99 position bp The M bias plot should enable researchers to make an informed decision whether or not to leave the bias in the final data or to remove it e g using the methylation extractor option ignore III Running bismark_methylation_extractor USAGE bismark methylation _extractor options lt filenames gt A typical command for a single end file could look like this bismark methylation extractor s s_1 sequence txt_bismark sam A typical command for a paired end file could look like this bismark_ methylation extractor p no_overlap report s_1 sequence _bismark_pe sam A typical command including the optional bedGraph counts output could look like this bismark_ methylation extractor s bedGraph counts buffer size 10G s_ 1 sequence txt_bismark sam A typical command including the optional genome wide cytosine methylation report could look like this bismark_methylation_extractor s bedGraph counts buffer size 10G cytosine report genome folder lt path_to_genome_folder gt s_ 1 sequence txt_bismark sam If you get stuck at any point or have any questions or comments please contact me via email felix krueger babraham ac uk 4 APPENDIX Full list of options Appendix I Bismark Genome Preparation A full list of options can also be viewed by typing bismark genome preparation hel
3. in the following sections I Bismark Genome Preparation This script needs to be run only once to prepare the genome of interest for bisulfite alignments You need to specify a directory containing the genome you want to align your reads against please be aware that the bismark genome preparation script currently expects FastaA files in this folder with either fa or fasta extension single or multiple sequence entries per file Bismark will create two individual folders within this directory one for a C gt T converted genome and the other one for the G gt A converted genome After creating C gt T and G gt A versions of the genome they will be indexed in parallel using the indexer bowtie build or bowtie2 build Once both C gt T and G gt A genome indices have been created you do not need to use the genome preparation script again unless you want to align against a different genome Please note that Bowtie 1 and 2 indexes are not compatible To create a genome index for use with Bowtie 2 the option bowtie2 needs to be included as well Running bismark_genome_preparation USAGE bismark genome preparation options lt path_to genome folder gt A typical command could look like this bismark genome preparation path to bowtie usr local bowtie verbose data genomes homo_sapiens GRCh37 II Bismark alignment step This step represents the actual bisulfite alignment and methylation calling part Bismark requires the us
4. Bismark is written in Perl and is run from the command line Bisulfite treated reads are mapped using the short read aligner Bowtie 1 Langmead B Trapnell C Pop M Salzberg SL Ultrafast and memory efficient alignment of short DNA sequences to the human genome Genome Biol 10 R25 or alternatively Bowtie 2 and therefore it is a requirement that Bowtie 1 or Bowtie 2 are also installed on your machine see Dependencies All files associated with Bismark as well as a test BS Seq data set can be downloaded from http www bioinformatics babraham ac uk projects bismark We would like to hear your comments suggestions or bugs about Bismark Please email them to felix krueger babraham ac uk Installation notes Bismark is written in Perl and is executed from the command line To install Bismark simply copy the bismark_vO X Y tar gz file into a Bismark installation folder and extract all files by typing tar xzf bismark vO X Y tar gz Dependencies Bismark requires a working of Perl and Bowtie 1 Bowtie 2 to be installed on your machine http bowtie bio sourceforge net index shtml http bowtie bio sourceforge net bowtie2 Bismark will assume that the Bowtie 1 Bowtie 2 executable is in your path unless the path to Bowtie is specified manually with path_to bowtie lt bowtie gt NOTE In order to work properly the current working directory must contain the sequence files to be analysed Hardware requirements Bismark hol
5. fasta If the path is not provided as an argument you will be prompted for it later Appendix II Bismark A brief description of Bismark and a full list of options can also be viewed by typing bismark help USAGE bismark lt singles gt ARGUMENTS lt genome_folder gt 1 lt mates1 gt 2 lt mates2 gt lt singles gt OPTIONS Input q fastq f fasta s skip lt int gt u qupto lt int gt options lt genome folder gt 1 lt matesl gt 2 lt mates2 gt The full path to the folder containing the unmodified reference genome as well as the subfolders created by the bismark genome preparation script Bisulfite Genome CT conversion and Bisulfite Genome GA_conversion Bismark expects one or more FastA files in this folder file extension fa or fasta The path to the genome folder can be relative or absolute Comma separated list of files containing the 1 mates filename usually includes _1 e g flyA_1 fq flyB_1 fq Sequences specified with this option must correspond file for file and read for read with those specified in lt mates2 gt Reads may bea mix of different lengths Bismark will produce one mapping result and one report file per paired end input file pair Comma separated list of files containing the 2 mates filename usually includes _2 e g flyA 2 fq flyB 2 fq Sequences specified with this option must correspond file for file and read for read with t
6. mismatched position to be the highest possible regardless of the actual value l e input is treated as though all quality values are high This is also the default behaviour when the input doesn t specify quality values e g in mode For bisulfite alignments in Bismark this option is invariable and on by default Bowtie 2 paired end options no mixed no discordant Bowtie 2 Effort options D lt int gt R lt int gt This option disables Bowtie 2 s behaviour to try to find alignments for the individual mates if it cannot find a concordant or discordant alignment for a pair This option is invariable and on by default Normally Bowtie 2 looks for discordant alignments if it cannot find any concordant alignments A discordant alignment is an alignment where both mates align uniquely but that does not satisfy the paired end constraints fr rf ff I X This option disables that behaviour and is on by default Up to lt int gt consecutive seed extension attempts can fail before Bowtie 2 moves on using the alignments found so far A seed extension fails if it does not yield a new best or a new second best alignment Default 15 lt int gt is the maximum number of times Bowtie 2 will re seed reads with repetitive seeds When re seeding Bowtie 2 simply chooses a new set of reads same length same number of mismatches allowed at different offsets and searches for more alignments A read is considered
7. to have repetitive seeds if the total number of seed hits divided by the number of seeds that aligned at least once is greater than 300 Default 2 Bowtie 2 parallelization options p NTHREADS Launch NTHREADS parallel search threads default 1 Threads will run on separate processors cores and synchronize when parsing reads and outputting alignments Searching for alignments is highly parallel and speedup is close to linear NOTE It is currently unclear whether this speed increase also translates into a speed increase of Bismark since it is running several instances of Bowtie 2 concurrently Increasing p increases Bowtie 2 s memory footprint E g when aligning to a human genome index increasing p from 1 to 8 increases the memory footprint by a few hundred megabytes for each instance of Bowtie 2 This option is only available if Bowtie is linked with the pthreads library i e if BOWTIE_PTHREADS 0 is not specified at build time In addition this option will automatically use the option reorder which guarantees that output SAM records are printed in an order corresponding to the order of the reads in the original input file even when p is set greater than 1 Bismark requires the Bowtie 2 output to be this way Specifying reorder and setting p greater than 1 causes Bowtie 2 to run somewhat slower and use somewhat more memory then if reorder were not specified Has no effect if p is set to 1 since output order wil
8. 1 1058 17564 0 1 8 122855484 Z Examples for cytosines in CHG context HWUSI EAS611 0006 3 1 1054 1405 0 1 7 89920171 x HWUSI EAS611 0006 3 1 1054 1405 0 1 7 89920172 X Examples for cytosines in CHH context HWUSI EAS611 0006 3 1 1054 1405 0 1 7 89920184 h The bismark methylation extractor comes with a few options such as ignoring the first lt int gt number of positions in the methylation call string e g to remove a restriction enzyme site if RRBS is performed with non directional BS Seq libraries it might be required to remove reconstituted Mspl sites at the beginning of each read as they will introduce a bias into the first methylation call please send me an email if you require further information on this Another useful option for paired end reads is called no overlap specifying this option will extract the methylation calls of overlapping parts in the middle of paired end reads only once using the calls from the first read which is presumably the one with a lowest error rate For a full list of options type bismark methylation extractor help at the command line or refer to the Appendix section at the end of this User Guide Methylation extractor output By default the bismark methylation extractor discriminates between cytosines in CpG CHG or CHH context If desired CHG and CHH contexts can be merged into a single non CpG context by specifying the option merge non CpG as a word of warning th
9. 174 converted bottom strand GA CT O complementary to converted top strand GA GA 0 complementary to converted bottom strand Number of alignments to merely theoretical complementary strands being rejected in total 0 Final Cytosine Methylation Report Total number of C s analysed 52942 Total methylated C s in CpG context 1740 Total methylated C s in CHG context 36 Total methylated C s in CHH context 171 Total C to T conversions in CpG context 1027 Total C to T conversions in CHG context 12889 Total C to T conversions in CHH context 37079 C methylated in CpG context 62 9 C methylated in CHG context 0 3 C methylated in CHH context 0 5 Using Bowtie 2 Running Bismark with the default options e g bismark bowtie2 score min L 0 0 6 data public Genomes Human GRCh37 test _data fastq should result in this mapping report Bismark report for test_data fastq version v0 7 8 Option directional specified alignments to complementary strands will be ignored i e not performed Bowtie was run against the bisulfite genome of data public Genomes Human GRCh37 with the specified options q score min L 0 0 6 ignore quals Final Alignment report Sequences analysed in total 10000 Number of alignments with a unique best hit from the different alignments 5658 Mapping efficiency 56 6 Sequences with no alignments under any condition 2893 Sequences did not map uniquely 1449 Sequences whi
10. Ae E EAE S EE CL CT ITIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII PrP FP PrP Pee ee RO OOO Oe wW U DOO WAAIA TF WN FB rYyeorovrvrvrvrvr vr reo vrorvrwr wH ee we eee Sey en eS Data visualisation To see the location of the mapped reads the Bismark output file can be imported into a genome viewer such as SeqMonk using the chromosome start and end positions this can be useful to identify regions in the genome which display an artefactually high number of aligned reads The alignment output can also be used to apply post processing steps such as de duplication allowing only 1 read for each position in the genome to remove PCR artefacts or filtering on the number of bisulfite conversion related non bisulfite mismatches please note that such post processing scripts are not part of the Bismark package Bisulfite conversion related non bisulfite mismatches are mismatch positions which have a C in the BS read but a T in the genome such mismatches may occur due to the way bisulfite read alignments are performed Reads containing this kind of mismatches are not automatically removed from the alignment output in order not to introduce a bias for methylated reads please send me an email if you have further questions about this It should be noted that even though no methylation calls are performed for these positions reads containing bisulfite conversion related non bisulfite mismatches mig
11. Babraham X Bioinformatics July 21 2014 l HA Bismark Bisulfite Mapper User Guide v0 12 4 1 Quick Reference Bismark needs a working version of Perl and it is run from the command line Furthermore Bowtie http bowtie bio sourceforge net index shtml or Bowtie 2 http bowtie bio sourceforge net bowtie2 needs to be installed on your computer For more information on how to run Bismark with Bowtie 2 please go to the end of this manual First you need to download a reference genome and place it in a genome folder Genomes can be obtained e g from the Ensembl http www ensembl org info data ftp index html or NCBI websites ftp ftp ncbi nih gov genomes for the example below you would need to download the Homo sapiens genome Bismark supports reference genome sequence files in FastA format allowed file extensions are either either fa or fasta Both single entry and multiple entry FastaA files are supported The following examples will use the file test_dataset fastq which is available for download from the Bismark homepage it contains 10 000 reads in FastQ format Phred33 qualities 50 bp long reads from a human directional BS Seq library An example report for use with Bowtie 1 and Bowtie can be found in Appendix IV I Running bismark_genome_preparation USAGE bismark genome preparation options lt path_to_genome_folder gt A typical genome indexing could look like this bismark bismark genom
12. al Genome Biology 2012 13 R83 The data for the M bias plot is also written into a text file and is in the following format lt read position gt lt count methylated gt lt count unmethylated gt lt methylation gt lt total coverage gt This allows generating nice graphs by alternative means e g using R or Excel The plot is also drawn into a png file which requires the Perl module GD Graph if GD Graph cannot be found on the system only the table will be printed more specifically both modules GD Graph lines and GD Graph colour are required The plot also contains the absolute number of methylation calls both methylated and unmethylated per position For paired end reads two individual M bias plots will be drawn The M bias plot can for example show the methylation bias at the start of reads in PBAT Seq experiments M bias Read 1 Z methylation 7 8000000 46400000 4800000 cue ch CpG calls methylation calls 3200000 5 CH calls 1600000 1 pg gs 5 i0 is 20 2 90 oS 40 45 position bp 50 1 55 Or it can reveal a 3 end repair bias at the first couple of positions in read 2 of paired end reads like here M bias Read 1 1200000 360000 720000 450000 240000 0 as 50 85 60 65 70 75 60 05 90 95 99 position bp wis 20 25 0 a5 AO methylation calls Z methylation M bias Read 2 O
13. apter Tagging Kobayashi et al PLoS Genetics 2012 This is essentially the exact opposite of alignments in directional mode as it will only launch two alignment threads to the CTOT and CTOB strands instead of the normal OT and OB ones Use this option only if you are certain that your libraries were constructed following a PBAT protocol if you don t know what PBAT Seq is you should not specify this option The option bat works only for FastQ files and uncompressed temporary files Suppress SAM header lines starting with This might be useful when very large input files are split up into several smaller files to run concurrently and the output files are to be merged afterwards quiet vanilla gt On ambiguous Print nothing besides alignments Performs bisulfite mapping with Bowtie 1 and prints the old custom Bismark output up to versions 0 5 X instead of SAM format output Write all reads that could not be aligned to the file unmapped _reads txt in the output directory Written reads will appear as they did in the input without any translation of quality values that may have taken place within Bowtie or Bismark Paired end reads will be written to two parallel files with _1 and _2 inserted in their filenames i e unmapped reads 1 txt and unmapped reads_2 txt Reads with more than one valid alignment with the same number of lowest mismatches ambiguous mapping are also written to unmapped reads txt u
14. ch were discarded because genomic sequence could not be extracted 0 Number of sequences with unique best first alignment came from the bowtie output CT CT 2820 converted top strand CT GA 2838 converted bottom strand GA CT 0 complementary to converted top strand GA GA 0 complementary to converted bottom strand Number of alignments to merely theoretical complementary strands being rejected in total 0 Final Cytosine Methylation Report Total number of C s analysed 45985 Total methylated C s in CpG context 1550 Total methylated C s in CHG context 34 Total methylated C s in CHH context 126 Total C to T conversions in CpG context 844 Total C to T conversions in CHG context 11368 Total C to T conversions in CHH context 32063 C methylated in CpG context 64 7 C methylated in CHG context 0 3 C methylated in CHH context 0 4
15. ds the reference genome in memory and in addition to that runs four parallel instances of Bowtie The memory usage is dependent on the size of the reference genome For a large eukaryotic genome human or mouse we experienced a typical memory usage of around 12GB We thus recommend running Bismark on a machine with 5 CPU cores and at least 12 GB of RAM The memory requirements of Bowtie 2 are somewhat larger possibly to allow gapped alignments When running Bismark using Bowtie 2 we therefore recommend a system with at least 5 cores and gt 16GB of RAM Alignment speed depends largely on the read length and alignment parameters used Allowing many mismatches and using a short seed length which is the default option for Bowtie 1 see below tends to be fairly slow whereas looking for near perfect matches can align around 5 25 million sequences per hour using Bowtie 1 Since we haven t tested Bowtie 2 very much yet we can t give recommendations about alignment parameters and speed of Bowtie 2 at the current time BS Seq test data set A test BS Seq data set is available for download from the Bismark homepage It contains 10 000 single end shotgun BS reads from human ES cells in FastQ format from SRRO20138 Lister et al 2009 trimmed to 50 bp base call qualities are Sanger encoded Phred values Phred33 Which kind of BS Seq files and or experiments are supported Bismark supports the alignment of bisulfite treated reads whole genome s
16. e preparation path to bowtie usr local bowtie verbose data genomes homo_sapiens GRCh37 II Running bismark USAGE bismark options lt genome folder gt 1 lt mates1 gt 2 lt mates2 gt lt singles gt Typical alignment example tolerating one non bisulfite mismatch per read bismark n 1 1 50 data genomes homo_sapiens GRCh37 test dataset fastq This will produce two output files a test dataset fastq bismark sam contains all alignments plus methylation call strings b test dataset fastq bismark SE report txt contains alignment and methylation summary NOTE In order to work properly the current working directory must contain the sequence files to be analysed III Running the Bismark bismark_methylation_extractor USAGE bismark methylation extractor options lt filenames gt A typical command to extract context dependent CpG CHG CHH methylation could look like this bismark methylation extractor s comprehensive test dataset fastq bismark sam This will produce three output files a CpG context test dataset fastq bismark txt b CHG context test dataset fastq bismark txt c CHH context test dataset fastq bismark txt 2 Bismark General Information What is Bismark Bismark is a set of tools for the time efficient analysis of Bisulfite Seq BS Seq data Bismark performs alignments of bisulfite treated reads to a reference genome and cytosine methylation calls at the same time
17. ent genomic sequence 2 extra bp methylation call string read conversion genome conversion eea ee RR RR RO na H O a ONAN AD OB w o FP a a A a vr ro a ry read quality score Phred33 scale Single end alignment example 1 HWUSI EAS611 0001 3 1 1186 18334 0 1 2 3 4 4 122893213 5 122893242 6 TGGGTTTTTAAGATTTTGTGTAGTTGGGGTTTGGAGATGG 7 CGGGCCCTCAAGACCCTGCGCAGCTGGGGCCTGGAGACGGAG 3 gt Zeas ANR neses HAk 6 oO Ki Ke cs os TS seats Zes 9 CT 10 CT 11 IIIIIIIIIIIIITITIIIIIIIIIIIIIIIIIIIIIIII The paired end output looks like this 1 line per sequence pair tab separated 1 seq ID 2 alignment strand 3 chromosome 4 start 5 end 6 original bisulfite read sequence 1 7 equivalent genomic sequence 1 2 extra bp 8 methylation call string 1 9 original bisulfite read sequence 2 10 equivalent genomic sequence 2 2 extra bp 11 methylation call string 2 12 read 1 conversion 13 genome conversion 14 read 1 quality score Phred33 scale 15 read 2 quality score Phred33 scale Paired end alignment example HWUSI EBAS611 100205 2 1 13 1732 0 4 14 62880539 62880652 CGGGATTTCGCGGAGTACGGGTGATCGTGTGGAATATAGA CGGGACTCCGCGGAGCACGGGTGACCGTGTGGAATACAGAGT Lice eae Ne Ke Lise SA le ies BL laa ite wt oe Kulsa CAACTATCTAAAACTAAAAATAACGCCGCCCAAAAACTCT TCCGGCTGTCTGGAGCTGAAGATGGCGCCGCCCAGAAGCTCT sO sie eee ok AE is
18. er to specify only two things The directory containing the genome of interest This folder must contain the unmodified genome as fa or fasta files as well as the two bisulfite genome subdirectories which were generated in the Bismark Genome Preparations step see above The sequence file s to be analysed in either FastQ or FastA format All other parameters are optional In the current version it is required that the current working directory also contains the sequence files to be analysed For each sequence file or each set of paired end sequence files Bismark produces one alignment and methylation call output file as well as a report file detailing alignment and methylation call statistics for your information and record keeping Running bismark Before running Bismark we recommend spending some time on quality control of the raw sequence files using FastQC www bioinformatics babraham ac uk projects fastqc Fastac might be able to spot irregularities associated with your BS Seq file such as high base calling error rates or contaminating sequences such as PCR primers or Illumina adapters Many sources of error impact detrimentally the alignment efficiencies and or alignment positions and thus possibly also affect the methylation calls and conclusions drawn from the experiment If no additional options are specified Bismark will use a set of default values some of which are Using Bowtie 1 If no specific path to Bowtie
19. es in comprehensive mode or eight strand specific output files default for Cs in i CpG context ii any non CpG context Depending on the C content of the Bismark result file the output file size might reach 10 30GB Suppresses the Bismark version header line in all output files for more convenient batch processing Allows specification of a different output directory absolute or relative path If not specified explicitely the output will be written to the current directory Prints out a short methylation summary and the parameters used to run this script The path to your Samtools installation e g home user samtools Does not need to be specified explicitly if Samtools is in the PATH already The methylation extractor files CpG_OT_ CpG _OB_ etc will be written out in a GZIP compressed form to save disk space This option does not work on bedGraph and genome wide cytosine reports as they are tiny anyway Displays the version information Displays this help file and exits The methylation extractor will read the entire file but only output the M bias table and plots as well as a report optional and then quit Default OFF bedGraph specific options bedGraph zero based After finishing the methylation extraction the methylation output is written into a sorted bedGraph file that reports the position of a given cytosine and its methylation state in seem details below using O based genomic s
20. fer size Using this option will not sort chromosomal positions using the UNIX sort command but will instead use two arrays to sort methylated and unmethylated calls This may result in a faster sorting process of very large files but this comes at the cost of a larger memory footprint two arrays of the length of the largest human chromosome 1 250M bp consume around 16GB of RAM Due to overheads in creating and looping through these arrays it seems that it will actually be slower for small files few million alignments and we are currently testing at which point it is advisable to use this option Note that ample memory is not compatible with options scaffolds gazillion as it requires pre sorted files to begin with Genome wide cytosine methylation report specific options cytosine report After the conversion to bedGraph has completed the option cytosine report produces a genome wide methylation report for all cytosines in the genome By default the output uses 1 based chromosome coordinates zero based cords are optional and reports CpG context only all cytosine context is optional The output considers all Cs on both forward and reverse strands and reports their position strand trinucleotide content and methylation state counts are 0 if not covered The cytsoine report conversion step is performed by the external module bedGraph2cytosine this script needs to reside in the same folder as the bismark_methylation_ex
21. formation for cytosines on the top strand Alignments to the original bottom strand or to the strand complementary to the original bottom strand OB and CTOB will both yield methylation information for cytosines on the bottom strand i e they will appear to yield methylation information for G positions on the top strand of the reference genome For more information about how to extract methylation information of the four different alignment strands please see below in the section on the Bismark methylation extractor USAGE bismark options lt genome folder gt 1 lt matesl1 gt 2 lt mates2 gt lt singles gt A typical single end analysis of a 40 bp sequencing run could look like this bismark q phred64 quals n 1 1 40 data genomes homo_sapiens GRCh37 s_ 1 sequence txt What does the Bismark output look like As of version 0 6 x the default output of Bismark is in SAM format when using either Bowtie 1 or Bowtie 2 The former custom Bismark output for Bowtie 1 which used to be the standard output up to versions 0 5 x is still available by specifying the option vanilla see below The Bismark output using Bowtie 2 is invariably in SAM format required to encode gapped alignments Bismark SAM output default By default Bismark generates SAM output for all alignment modes Please note that reported quality values are encoded in Sanger format Phred 33 scale even if the input was in Phred64 or the old Solexa format
22. he Appendix at the end of this User Guide Directional BS Seq libraries former option directional Bisulfite treatment of DNA and subsequent PCR amplification can give rise to four bisulfite converted strands for a given locus Depending on the adapters used BS Seq libraries can be constructed in two different ways a If a library is directional only reads which are bisulfite converted versions of the original top strand OT or the original bottom strand OB will be sequenced Even though the strands complementary to OT CTOT and OB CTOB are generated in the BS PCR step they will not be sequenced as they carry the wrong kind of adapter at their 5 end By default Bismark performs only 2 read alignments to the OT and OB strands thereby ignoring alignments coming from the complementary strands as they should theoretically not be present in the BS Seq library in question b Alternatively BS Seq libraries can be constructed so that all four different strands generated in the BS PCR can and will end up in the sequencing library with roughly the same likelihood In this case all four strands OT CTOT OB CTOB can produce valid alignments and the library is called non directional Specifying non_ directional instructs Bismark to use all four alignment outputs To summarise this again alignments to the original top strand or to the strand complementary to the original top strand OT and CTOT will both yield methylation in
23. hose specified in lt mates1 gt Reads may be a mix of different lengths A comma or space separated list of files containing the reads to be aligned e g lanel fq lane2 fq lane3 fq Reads may be a mix of different lengths Bismark will produce one mapping result and one report file per input file The query input files specified as lt mate1 gt lt mate2 gt or lt singles gt are FastQ files usually having extension fqor fasta This is the default See also solexa quals and integer quals The query input files specified as lt mate1 gt lt mate2 gt or lt singles gt are FastA files usually having extension fa mfa fna or similar All quality values are assumed to be 40 on the Phred scale FASTA files are expected to contain both the read name and the sequence on a single line and not spread over several lines Skip i e do not align the first lt int gt reads or read pairs from the input Only aligns the first lt int gt reads or read pairs from the input Default no limit phred33 quals phred64 quals solexa quals solexal 3 quals path_to_bowtie Alignment FastQ qualities are ASCII chars equal to the Phred quality plus 33 Default on FastQ qualities are ASCII chars equal to the Phred quality plus 64 Default off Convert FastQ qualities from solexa scaled which can be negative to phred scaled which can t The formula for conversion is phred qual 10 log 1 10 so
24. hotgun BS Seq WGSBS reduced representation BS Seq RRBS or PBAT Seq Post Bisulfite Adapter Tagging for the following conditions sequence format either FastQ or FastA single end or paired end reads input files can be uncompressed or gzip compressed ending in gz variable read length support directional or non directional BS Seq libraries A full list of alignments modes can be found here http www bioinformatics babraham ac uk projects bismark Bismark alignment _modes pdf In addition Bismark retains much of the flexibility of Bowtie 1 Bowtie 2 adjustable seed length number of mismatches insert size For a full list of options please run bismark help or see the Appendix at the end of this User Guide NOTE It should be mentioned that Bismark supports only reads in base space such as from the Illumina platform There are currently no plans to extend its functionality to color space reads How does Bismark work Sequence reads are first transformed into fully bisulfite converted forward C gt T and reverse read G gt A conversion of the forward strand versions before they are aligned to similarly converted versions of the genome also C gt T and G gt A converted Sequence reads that produce a unique best alignment from the four alignment processes against the bisulfite genomes which are running in parallel are then compared to the normal genomic sequence and the methylation state of all cytosine po
25. ht lead to false alignments if particularly lax alignment parameters were specified Methylation call The methylation call string contains a dot for every position in the BS read not involving a cytosine or contains one of the following letters for the three different cytosine methylation contexts UPPER CASE METHYLATED lower case unmethylated unmethylated C in CpG context methylated C in CpG context unmethylated C in CHG context methylated C in CHG context unmethylated C in CHH context methylated C in CHH context rca x xX NN Gq unmethylated C in Unknown context CN or CHN methylated C in Unknown context CN or CHN IlI Bismark methylation extractor Bismark comes with a supplementary bismark methylation extractor script which operates on Bismark result files and extracts the methylation call for every single C analysed The position of every single C will be written out to a new output file depending on its context CpG CHG or CHH whereby methylated Cs will be labelled as forward reads non methylated Cs as reverse reads The resulting files can be imported into a genome viewer such as SeqMonk using the generic text import filter and the analysis of methylation data can commence Alternatively the output of the methylation extractor can be transformed into a bedGraph file using the option bedGraph see also counts This step can also be accomplished from the methylation extractor output using
26. is might produce files with up to several hundred million lines Strand specific methylation output files default As its default option the bismark methylation extractor will produce a strand specific output which will use the following abbreviations in the output file name to indicate the strand the alignment came from OT original top strand CTOT complementary to original top strand OB original bottom strand CTOB complementary to original bottom strand Methylation calls from OT and CTOT will be informative for cytosine methylation positions on the original top strand calls from OB and CTOB will be informative for cytosine methylation positions on the original bottom strand Please note that specifying the directional option in the Bismark alignment step will not report any alignments to the CTOT or CTOB strands As cytosines can exist in any of three different sequence contexts CpG CHG or CHH the bismark methylation extractor default output will consist of 12 individual output files per input file CpG OT CpG CTOT CpG OB etc Context dependent methylation output files comprehensive option If strand specific methylation is not of interest all available methylation information can be pooled into a single context dependent file information from any of the four strands will be pooled This will default to three output files CpG context CHG context and CHH context or result in 2
27. is specified it is assumed that the bowtie executable is in the PATH Bowtie 1 is run best mode it is possible but not recommended to turn this off Standard alignments allow up to 2 mismatches in the seed region which is defined as the first 28 bp by default These parameters can be modified using the options n and 1 respectively Using Bowtie 2 If no specific path to Bowtie 2 is specified it is assumed that the bowtie2 executable is in the PATH Standard alignments use a multi seed length of 20bp with O mismatches These parameters can be modified using the options L and N respectively Standard alignments report the best of up to 10 valid alignments This can be set using the M parameter Standard alignments use the default minimum alignment score function L O 0 2 i e f x O 0 2 x where x is the read length For a read of 75bp this would mean that a read can have a lowest alignment score of 15 before an alignment would become invalid This is roughly equal to 2 mismatches or 2 indels of 1 2 bp in the read or a combination thereof The stringency can be set using the score min lt func gt function Even though the user is not required to specify additional alignment options it is often advisable and highly recommended to do so The default parameters are not very strict and as a consequence will also not run very swiftly To see a full list of options please type bismark help on the command line or see t
28. l naturally correspond to input order in that case Bowtie 2 Scoring options score min lt func gt Sets a function governing the minimum alignment score needed for an alignment to be considered valid i e good enough to report This is a function of read length For instance specifying L 0 0 2 sets the minimum score function f to f x 0 0 2 x where x is the read length See also setting function options at http bowtie bio sourceforge net bowtie2 The default is L 0 0 2 Bowtie 2 Reporting options most valid alignments lt int gt This used to be the Bowtie 2 parameter M As of Bowtie 2 version 2 0 0 beta7 the option M is deprecated It will be removed in subsequent versions What used to be called M mode is still the default mode but adjusting the M setting is deprecated Use the D and R options to adjust the effort expended to find valid alignments For reference this used to be the old now deprecated description of M Bowtie 2 searches for at most lt int gt 1 distinct valid alignments for each read The search terminates when it can t find more distinct valid alignments or when it finds lt int gt 1 distinct alignments whichever happens first Only the best alignment is reported Information from the other alignments is used to estimate mapping quality and to set SAM optional fields such as AS i and XS i Increasing M makes Bowtie 2 slower but increases the likelihood that it will pick the correc
29. lexa qual 10 0 log 10 Used with q This is usually the right option for use with unconverted reads emitted by the GA Pipeline versions prior to 1 3 Default off Same as phred64 qual1s This is usually the right option for use with unconverted reads emitted by GA Pipeline version 1 3 or later Default off The full path lt gt tothe Bowtie 1 or 2 installation on your system If not specified it will be assumed that Bowtie is in the path n seedmms lt int gt The maximum number of mismatches permitted in the seed i e the first 1 seedlen e magerr lt int gt chunkmbs lt int gt I minins lt int gt X maxins lt int gt base pairs of the read where Lis set with 1 seedlen This may be 0 1 2 or 3 and the default is 2 This option is only available for Bowtie 1 for Bowtie 2 see N The seed length i e the number of bases of the high quality end of the read to which the n ceiling applies The default is 28 Bowtie and thus Bismark is faster for larger values of 1 This option is only available for Bowtie 1 for Bowtie 2 see L Maximum permitted total of quality values at all mismatched read positions throughout the entire alignment not just in the seed The default is 70 Like Maq Bowtie rounds quality values to the nearest 10 and saturates at 30 The number of megabytes of memory a given thread is given to store path descriptors in best mode Best first sea
30. n the case if n mode and in terms of the quality e g a 1 mismatch alignment where the mismatch position has Phred quality 40 is preferred over a 2 mismatch alignment where the mismatched positions both have Phred quality 10 When best isnot specified Bowtie may report alignments that are sub optimal in terms of stratum and or quality though an effort is made to report the best alignment best mode also removes all strand bias Note that best does not affect which alignments are considered valid by Bowtie only which valid alignments are reported by Bowtie Bowtie is about 1 2 5 times slower when best is specified Default on Disables the best option which is on by default This can speed up the alignment process e g for testing purposes but for credible results it is not recommended to disable best The sequencing library was constructed in a non strand specific manner alignments to all four bisulfite strands will be reported Default OFF The current Illumina protocol for BS Seq is directional in which case the strands complementary to the original strands are merely theoretical and should not exist in reality Specifying directional alignments which is the default will only run 2 alignment threads to the original top OT or bottom OB strands in parallel and report these alignments This is the recommended option for sprand specific libraries This option may be used for PBAT Seq libraries Post Bisulfite Ad
31. nless ambiguous is also specified Write all reads which produce more than one valid alignment with the same number of lowest mismatches or other reads that fail to align uniquely to _ambiguous_reads txt Written reads will appear as they did in the input without any of the translation of quality values that may have taken place within Bowtie or Bismark Paired end reads will be written to two parallel files with _1 and _2 inserted in their filenames i e ambiguous reads 1 txt and _ambiguous_ reads 2 txt fq These reads are not written to the file specified with un o output_dir lt dir gt Write all output files into this directory By default the output files will be temp dir lt dir gt non_bs_mm gZzip bam written into the same folder as the input file If the specified folder does not exist Bismark will attempt to create it first The path to the output folder can be either relative or absolute Write temporary files to this directory instead of into the same directory as the input files If the specified folder does not exist Bismark will attempt to create it first The path to the temporary folder can be either relative or absolute Optionally outputs an extra column specifying the number of non bisulfite mismatches a read during the alignment step This option is only available for SAM format In Bowtie 2 context this value is just the number of actual non bisulfite mismatches and ignores potential inserti
32. ons or deletions The format for single end reads and read 1 of paired end reads is XA Z number of mismatches and XB Z number of mismatches for read 2 of paired end reads Temporary bisulfite conversion files will be written out ina GZIP compressed form to save disk space This option is available for most alignment modes but is not available for paired end FastA files This option might be somewhat slower than writing out uncompressed files but this awaits further testing The output will be written out in BAM format instead of the default SAM format Bismark will attempt to use the path to Samtool1s that was specified with samtools_ path or if it hasn t been specified attempt to find Samtools in samtools path prefix lt prefix gt old flag Other h help v version the PATH If no installation of Samtools can be found the SAM output will be compressed with GZIP instead yielding a sam gz output file The path to your Samtool1s installation e g home user samtools Does not need to be specified explicitly if Samtools isin the PATH already Prefixes lt prefix gt to the output filenames Trailing dots will be replaced by a single one For example prefix test with file fq would result in the output file test file fq bismark sam etc Only in paired end SAM mode uses the FLAG values used by Bismark 0 8 2 and before In addition this options appends 1 and 2 to the read IDs for reads 1 and 2
33. output files CpG context and Non CpG context if merge non CpG was selected note that this can result in enormous file sizes for the non CpG output Both strand specific and context dependent options can be combined with the merge non CpG option Optional bedGraph output The Bismark methylation extractor can optionally also output a file in bedGraph format http genome ucsc edu goldenPath help bedgraph html which uses 0 based genomic start and 1 based end coordinates The module bismark2bedGraph part of the Bismark package may also be run individually It will be sorted by chromosomal coordinates and looks like this lt chromosome gt lt start position gt lt end position gt lt methylation percentage gt As the methylation percentage is per se not informative of the actual read coverage of detected methylated or unmethylated reads at a position bismark2bedGraph also writes out a coverage file using 1 based genomic genomic coordinates that features two additional columns lt chromosome gt lt start position gt lt end position gt lt methylation percentage gt lt count methylated gt lt count unmethylated gt These two additional columns enable basically any downstream processing from the file By default this mode will only consider cytosines in CpG context but it can be extended to cytosines in any sequence context by using the option Cx cf Appendix Ill Optional genome wide cytosine
34. output looks like this tab delimited 1 based genomic coords lt chromosome gt lt start position gt lt end position gt lt methylation percentage gt lt count methylated gt lt count unmethylated gt The genome wide cytosine report optional is tab delimited in the following format 1 based coords lt chromosome gt lt position gt lt strand gt lt count methylated gt lt count unmethylated gt lt C context gt lt trinucleotide context gt Appendix IV Bismark reports for the test data set Using Bowtie 1 Running Bismark with the default options e g bismark data public Genomes Human GRCh37 test data fastq should result in this mapping report Bismark report for test_data fastq version v0 7 8 Option directional specified alignments to complementary strands will be ignored i e not performed Bowtie was run against the bisulfite genome of data public Genomes Human GRCh37 with the specified options q n 1 k 2 best chunkmbs 512 Final Alignment report Sequences analysed in total 10000 Number of alignments with a unique best hit from the different alignments 6361 Mapping efficiency 63 6 Sequences with no alignments under any condition 2626 Sequences did not map uniquely 1013 Sequences which were discarded because genomic sequence could not be extracted 0 Number of sequences with unique best first alignment came from the bowtie output CT CT 3187 converted top strand CT GA 3
35. p USAGE bismark genome preparation options lt arguments gt OPTIONS help man verbose yes yes to all path_ to bowtie lt bowtie2 single fasta ARGUMENTS lt path_to_ genome folder gt Displays this help file Print verbose output for more details or debugging Answer yes to safety related questions such as Are you sure you want to overwrite any existing files in the Bisulfite_Genomes folder gt The full path to your Bowtie 1 Bowtie 2 installation If the path is not provided as an option you will be prompted for it later This will create bisulfite indexes for Bowtie 2 Default Bowtie 1 Instruct the Bowtie Indexer to write the converted genomes into single entry FastA files instead of making one multi FastA file MFA per chromosome This might be useful if individual bisulfite converted chromosomes are needed e g for debugging however it can cause a problem with indexing if the number of chromosomes is vast this is likely to be in the range of several thousand files operating systems can only handle lists up to a certain length Some newly assembled genomes may contain 20000 50000 contig of scaffold files which do exceed this list length limit The path to the folder containing the genome to be bisulfite converted this may be an absolute or relative path Bismark Genome Preparation expects one or more FastaA files in the folder valid file extensions fa or
36. rch must keep track of many paths at once to ensure it is always extending the path with the lowest cumulative cost Bowtie tries to minimize the memory impact of the descriptors but they can still grow very large in some cases If you receive an error message saying that chunk memory has been exhausted in best mode try adjusting this parameter up to dedicate more memory to the descriptors Default 512 The minimum insert size for valid paired end alignments E g if I 60 is specified and a paired end alignment consists of two 20 bp alignments in the appropriate orientation with a 20 bp gap between them that alignment is considered valid as long as X is also satisfied A 19 bp gap would not be valid in that case Default 0 The maximum insert size for valid paired end alignments E g if X 100 is Bowtie 1 Reporting k lt 2 gt best no_ best Output non_ directional pbat sam no hd specified and a paired end alignment consists of two 20 bp alignments in the proper orientation with a 60 bp gap between them that alignment is considered valid as long as I is also satisfied A61 bp gap would not be valid in that case Default 500 Due to the way Bismark works Bowtie 1 will report up to 2 valid alignments This option is used by default and cannot be changed Make Bowtie guarantee that reported singleton alignments are best in terms of stratum i e number of mismatches or mismatches in the seed i
37. relative to the input file Since both the appended read IDs and custom FLAG values may cause problems with some downstream tools such as Picard new defaults were implemented as of version 0 8 3 default old flag Read 1 Read 2 Read 1 Read 2 OT 99 147 67 131 OB 83 163 T15 179 CTOT 99 147 67 131 CTOB 83 163 115 179 Displays this help file Displays version information BOWTIE 2 SPECIFIC OPTIONS bowtie2 Uses Bowtie 2 instead of Bowtie 1 Bismark limits Bowtie 2 to only perform end to end alignments i e searches for alignments involving all read characters also called untrimmed or unclipped alignments Bismark assumes that raw sequence data is adapter and or quality trimmed where appropriate Default off Bowtie 2 alignment options N lt int gt L lt int gt Sets the number of mismatches to be allowed in a seed alignment during multiseed alignment Can be set to 0 or 1 Setting this higher makes alignment slower often much slower but increases sensitivity Default 0 This option is only available for Bowtie 2 forBowtie 1 see n Sets the length of the seed substrings to align during multiseed alignment Smaller values make alignment slower but more senstive Default the sensitive preset of Bowtie 2 is used by default which sets L to 20 This option is only available for Bowtie 2 for Bowtie 1 see 1 ignore quals When calculating a mismatch penalty always consider the quality value at the
38. report output Starting from the coverage output the Bismark methylation extractor can optionally also output a genome wide cytosine methylation report The module coverage2cytosine part of the Bismark package may also be run individually It is also sorted by chromosomal coordinates but also contains the sequence context and is in the following format lt chromosome gt lt position gt lt strand gt lt count methylated gt lt count unmethylated gt lt C context gt lt trinucleotide context gt The main difference to the bedGraph or coverage output is that every cytosine on both the top and bottom strands will be considered irrespective of whether they were actually covered by any reads in the experiment or not For this to work one has to also specify the genome that was used for the Bismark alignments using the option genome folder lt path gt As for the bedGraph mode this will only consider cytosines in CpG context by default but can be extended to cytosines in any sequence context by using the option Cx cf Appendix Ill Be aware though that this might mean an output with individual lines for more than 1 1 billion cytosines for any large mammalian genome methylation M bias plot Starting with Bismark v0 8 0 the Bismark methylation extractor also produces a methylation bias plot which shows the methylation proportion across each possible position in the read described in further detail in Hansen et
39. sing or filtering have been applied may vary As of version 0 8 0 Bismark also produces a pie chart to get a quick idea about the overall alignment Statistics Uniquely aligned reads are shown on red unaligned reads are split into the three categories Unaligned orange rejected due to multiple equally good alignments green and alignments to the very edges of chromosomes where it was impossible to determine the sequence context cyan Alignment stats single end 3 Running Bismark Running Bismark is split up into three individual steps I First the genome of interest needs to be bisulfite converted and indexed to allow Bowtie alignments This step needs to be carried out only once for each genome Note that Bowtie 1 and Bowtie 2 require distinct indexing steps since their indexes are not compatible Il Bismark read alignment step Simply specify a file to be analysed a reference genome and alignment parameters Bismark will produce a combined alignment methylation call output default is SAM format as well as a run statistics report III Bismark methylation extractor This step is optional and will extract the methylation information from the Bismark alignment output Running this additional step allows splitting the methylation information up into the different contexts getting strand specific methylation information and offers some filtering options Each of these steps will be described in more detail with examples
40. sitions in the read is inferred For use with Bowtie 1 a read is considered to align uniquely if one alignment exists that has with fewer mismatches to the genome than any other alignment or if there is no other alignment For Bowtie 2 a read is considered to align uniquely if an alignment has a unique best alignment score as reported by the Bowtie 2 AS i field If a read produces several alignments with the same number of mismatches or with the same alignment score AS i field a read or a read pair is discarded altogether Bismark alignment and methylation call report Upon completion Bismark produces a run report containing information about the following Summary of alignment parameters used Number of sequences analysed Number of sequences with a unique best alignment mapping efficiency Statistics summarising the bisulfite strand the unique best alignments came from Number of cytosines analysed Number of methylated and unmethylated cytosines Percentage methylation of cytosines in CoG CHG or CHH context where H can be either A T or C This percentage is calculated individually for each context following the equation methylation context 100 methylated Cs context methylated Cs context unmethylated Cs context It should be stressed that the percent methylation value context is just a very rough calculation performed directly at the mapping step Actual methylation levels after post proces
41. t alignment for a read that aligns many places for reads that have more than lt int gt 1 distinct valid alignments Bowtie 2 does not guarantee that the alignment reported is the best possible in terms of alignment score M is always used and its default value is set to 10 Appendix Ill Bismark Methylation Extractor A brief description of the Bismark methylation extractor and a full list of options can also be viewed by typing bismark methylation extractor help USAGE bismark methylation extractor options lt filenames gt ARGUMENTS lt filenames gt A space separated list of result files in Bismark format from which methylation information is extracted for every cytosine in the read The files may be gzip compressed ending in gz OPTIONS s single end Input file s are Bismark result file s generated from single end read data Specifying either single end or paired end is mandatory p paired end Input file s are Bismark result file s generated from paired end read data Specifying either paired end or single end is mandatory vanilla The Bismark result input file s are in the old custom Bismark format up to version 0 5 x and not in SAM format which is the default as of Bismark version 0 6 x or higher Default OFF no overlap For paired end reads it is theoretically possible that read_1 and read_2 overlap This option avoids scoring overlapping methylation calls twice Whilst this removes a bias
42. tart and 1 based end coordinates The methylation extractor output is temporarily split up into temporary files one per chromosome written into the current directory or folder specified with o output these temp files are then used for sorting and deleted afterwards By default only cytosines in CpG context will be sorted The option CX context may be used to report all cytosines irrespective of sequence context this will take MUCH longer The bedGraph conversion step is performed by the external module bismark2bedGraph this script needs to reside in the same folder as the bismark_methylation_extractor itself Write out an additional coverage file ending in zero cov that uses O based genomic start and 1 based genomic end coordinates zero based half open like used in the bedGraph file instead of using 1 based coordinates throughout Default OFF cutoff threshold The minimum number of times a methylation state has to be seen for that remove Spaces CX CX_context nucleotide before its methylation percentage is reported Default 1 i e all covered cytosines Replaces whitespaces in the sequence ID field with underscores to allow sorting The sorted bedGraph output file contains information on every single cytosine that was covered in the experiment irrespective of its sequence context This applies to both forward and reverse strands Please be aware that this option may generate large temporary and outp
43. the stand alone script bismark2bedGraph also part of the Bismark package available for download at www bioinformatics babraham ac uk projects bismark Optionally the bedGraph counts output can be used to generate a genome wide cytosine report which reports the number on every single CpG optionally every single cytosine in the genome irrespective of whether it was covered by any reads or not As this type of report is informative for cytosines on both strands the output may be fairly large 46mn CpG positions or gt 1 2bn total cytosine positions in the human genome The bedGraph to genome wide cytosine report conversion can also be run individually using the stand alone module bedGraph2cytosine also part of the Bismark package available for download at www bioinformatics babraham ac uk projects bismark As of Bismark version 0 6 or higher the default input format for the bismark methylation extractor is SAM or potentially BAM if you ve got Samtools installed The former custom Bismark format can still be used by specifying vanilla The methylation extractor output looks like this tab separated 1 seq ID 2 methylation state 3 chromosome 4 start position end position 5 methylation call Methylated cytosines will receive a orientation unmethylated cytosines will receive a orientation Examples for cytosines in CpG context HWUSI EAS611 0006 3 1 1058 15806 0 1 6 91793279 z HWUSI EAS611_ 0006 3
44. towards more methylation calls towards the center of sequenced fragments it can de facto remove a good proportion of the data ignore lt int gt Ignore the first lt int gt bp from the 5 end of Read 1 when processing the methylation call string This can remove e g a restriction enzyme site at the start of each read or any other source of bias e g PBAT Seq data ignore r2 lt int gt Ignore the first lt int gt bp from the 5 end of Read 2 of paired end sequencing results only Since the first couple of bases in Read 2 of BS Seq experiments show a severe bias towards non methylation as a result of end repairing sonicated fragments with unmethylated cytosines see M bias plot it is recommended that the first couple of bp of Read 2 are removed before starting downstream analysis Please see the section on M bias plots in the Bismark User Guide for more details The options ignore lt int gt and ignore r2 lt int gt can be combined in any desired way comprehensive Specifying this option will merge all four possible strand specific methylation info into context dependent output files The default contexts are i CpG context ii CHG context iii CHH context merge non CpG no header o output DIR report samtools path gzip version h help mbias_only Depending on the C content of the Bismark result file the output file size might reach 10 30GB This will produce two output fil
45. tractor itself CX CX_ context The output file contains information on every single cytosine in the genome irrespective of its context This applies to both forward and reverse strands Please be aware that this will generate output files with gt 1 1 billion lines for a mammalian genome such as human or mouse Default OFF i e Default CpG context only zero_ based Uses zero based coordinates like used in e g bed files instead of 1 based coordinates Default OFF genome folder lt path gt Enter the genome folder you wish to use to extract sequences from full path only Accepted formats are FastA files ending with fa or fasta Specifying a genome folder path is mandatory split by chromosome Writes the output into individual files for each chromosome instead of a single output file Files will be named to include the input filename and the chromosome number The bismark_methylation_extractor output is in the form tab delimited 1 based coords lt seq ID gt lt methylation state gt lt chromosome gt lt start position end position gt lt methylation call gt Methylated cytosines receive a orientation Unmethylated cytosines receive a orientation The bedGraph output optional looks like this tab delimited 0 based start 1 based end coords track type bedGraph header line lt chromosome gt lt start position gt lt end position gt lt methylation percentage gt The coverage
46. ut files and may take a long time to sort up to many hours Default OFF i e Default CpG context only buffer size lt string gt This allows you to specify the main memory sort buffer when sorting the methylation information Either specify a percentage of physical memory by appending e g buffer_size 50 or a multiple of 1024 bytes e g K multiplies by 1024 M by 1048576 and so on for T etc e g buffer_size 20G For more information on sort type info sort on a command line Defaults to 2G scaffolds gazillion Users working with unfinished genomes sporting tens or even hundreds of ample memory thousands of scaffolds contigs chromosomes frequently encountered errors with pre sorting reads to individual chromosome files These errors were caused by the operating system s limit of the number of filehandle that can be written to at any one time typically 1024 to find out this limit on Linux type ulimit a To bypass the limitation of open filehandles the option scaffolds does not pre sort methylation calls into individual chromosome files Instead all input files are temporarily merged into a single file unless there is only a single file and this file will then be sorted by both chromosome AND position using the UNIX sort command Please be aware that this option might take a looooong time to complete depending on the size of the input files and the memory you allocate to this process see buf
Download Pdf Manuals
Related Search
Related Contents
Kenmore 116.36722 Vacuum Cleaner User Manual PST.22900100 - HI Tecnologia "取扱説明書" manuale di utilizzo e manutenzione Siemens - SCALE CARBON - s3.amazonaws.com 表面塩分計 SNA-3000 Vol. 23, no 5 - juin 2012 - Les Éleveurs de volailles du Québec final report Copyright © All rights reserved.
Failed to retrieve file