-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
FelixKrueger
committed
Feb 1, 2019
1 parent
4f3d249
commit db275a3
Showing
11 changed files
with
46 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ use Getopt::Long; | |
use Cwd; | ||
use Carp; | ||
|
||
## This program is Copyright (C) 2010-18, Felix Krueger ([email protected]) | ||
## This program is Copyright (C) 2010-19, Felix Krueger ([email protected]) | ||
|
||
## This program is free software: you can redistribute it and/or modify | ||
## it under the terms of the GNU General Public License as published by | ||
|
@@ -23,7 +23,7 @@ use Carp; | |
|
||
my %chromosomes; # storing sequence information of all chromosomes/scaffolds | ||
my %processed; # keeping a record of which chromosomes have been processed | ||
my $nome_version = 'v0.20.0'; | ||
my $nome_version = 'v0.20.1'; | ||
|
||
my ($output_dir,$genome_folder,$zero,$CpG_only,$CX_context,$split_by_chromosome,$parent_dir,$coverage_infile,$cytosine_out,$merge_CpGs,$gc_context,$gzip,$nome) = process_commandline(); | ||
|
||
|
@@ -432,7 +432,7 @@ sub process_commandline{ | |
Bismark NOMe_filtering, Version: $nome_version | ||
Copyright 2010-18 Felix Krueger, Babraham Bioinformatics | ||
Copyright 2010-19 Felix Krueger, Babraham Bioinformatics | ||
www.bioinformatics.babraham.ac.uk/projects/bismark/ | ||
https://github.com/FelixKrueger/Bismark | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ use Getopt::Long; | |
use Cwd; | ||
use Carp; | ||
|
||
## This program is Copyright (C) 2010-18, Felix Krueger ([email protected]) | ||
## This program is Copyright (C) 2010-19, Felix Krueger ([email protected]) | ||
|
||
## This program is free software: you can redistribute it and/or modify | ||
## it under the terms of the GNU General Public License as published by | ||
|
@@ -31,7 +31,7 @@ my %freqs; # keeping a record of which chromosomes have been processed | |
my %genomic_freqs; | ||
my %processed; | ||
|
||
my $bam2nuc_version = 'v0.20.0'; | ||
my $bam2nuc_version = 'v0.20.1'; | ||
|
||
my ($output_dir,$genome_folder,$parent_dir,$samtools_path,$genome_freq_only) = process_commandline(); | ||
|
||
|
@@ -380,8 +380,10 @@ sub process_commandline{ | |
bam2nuc | ||
Bismark Version: $bam2nuc_version | ||
Copyright 2010-16 Felix Krueger, Babraham Bioinformatics | ||
Copyright 2010-19 Felix Krueger, Babraham Bioinformatics | ||
www.bioinformatics.babraham.ac.uk/projects/bismark/ | ||
https://github.com/FelixKrueger/Bismark | ||
VERSION | ||
|
@@ -650,7 +652,7 @@ TT 5055 10.96 1314144 10.80 0.004 | |
This file is picked up and plotted by bismark2report automatically if found in the folder. | ||
Script last modified: 26 April 2018 | ||
Script last modified: 07 Dec 2018 | ||
EOF | ||
; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ use Getopt::Long; | |
use Cwd; | ||
use Carp; | ||
|
||
## This program is Copyright (C) 2010-18, Felix Krueger ([email protected]) | ||
## This program is Copyright (C) 2010-19, Felix Krueger ([email protected]) | ||
|
||
## This program is free software: you can redistribute it and/or modify | ||
## it under the terms of the GNU General Public License as published by | ||
|
@@ -21,7 +21,7 @@ use Carp; | |
## You should have received a copy of the GNU General Public License | ||
## along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
my $bismark2bedGraph_version = 'v0.20.0'; | ||
my $bismark2bedGraph_version = 'v0.20.1'; | ||
|
||
my @bedfiles; | ||
my @methylcalls = qw (0 0 0); # [0] = methylated, [1] = unmethylated, [2] = total | ||
|
@@ -626,7 +626,7 @@ sub process_commandline{ | |
bismark2bedGraph | ||
Bismark Extractor Version: $bismark2bedGraph_version | ||
Copyright 2010-18 Felix Krueger, Babraham Bioinformatics | ||
Copyright 2010-19 Felix Krueger, Babraham Bioinformatics | ||
www.bioinformatics.babraham.ac.uk/projects/bismark/ | ||
https://github.com/FelixKrueger/Bismark | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ use Getopt::Long; | |
use FindBin qw($RealBin); | ||
use lib "$RealBin/../lib"; | ||
|
||
## This program is Copyright (C) 2010-18, Felix Krueger ([email protected]) | ||
## This program is Copyright (C) 2010-19, Felix Krueger ([email protected]) | ||
|
||
## This program is free software: you can redistribute it and/or modify | ||
## it under the terms of the GNU General Public License as published by | ||
|
@@ -20,7 +20,7 @@ use lib "$RealBin/../lib"; | |
## You should have received a copy of the GNU General Public License | ||
## along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
my $bismark2report_version = 'v0.20.0'; | ||
my $bismark2report_version = 'v0.20.1'; | ||
my (@alignment_reports,@dedup_reports,@splitting_reports,@mbias_reports,@nuc_reports); | ||
|
||
my ($output_dir,$verbose,$manual_output_file) = process_commandline(); | ||
|
@@ -81,7 +81,7 @@ while (@alignment_reports){ | |
} | ||
|
||
|
||
# Creation timestamp | ||
# Create timestamp | ||
$doc = getLoggingTime($doc); | ||
|
||
# BISMARK ALIGNMENT REPORT (mandatory) | ||
|
@@ -1017,7 +1017,7 @@ sub read_report_template{ | |
$doc .= $_."\n"; | ||
} | ||
|
||
close DOC or die $!; | ||
close DOC or warn $!; | ||
return $doc; | ||
} | ||
|
||
|
@@ -1066,7 +1066,7 @@ sub process_commandline{ | |
Bismark HTML Report Module | ||
bismark2report version: $bismark2report_version | ||
Copyright 2010-18 Felix Krueger, Babraham Bioinformatics | ||
Copyright 2010-19 Felix Krueger, Babraham Bioinformatics | ||
www.bioinformatics.babraham.ac.uk/projects/bismark/ | ||
https://github.com/FelixKrueger/Bismark | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ use Getopt::Long; | |
$|++; | ||
|
||
|
||
## This program is Copyright (C) 2010-18, Felix Krueger ([email protected]) | ||
## This program is Copyright (C) 2010-19, Felix Krueger ([email protected]) | ||
|
||
## This program is free software: you can redistribute it and/or modify | ||
## it under the terms of the GNU General Public License as published by | ||
|
@@ -37,7 +37,7 @@ my $genomic_composition; | |
my %genomic_freqs; # storing the genomic sequence composition | ||
my %freqs; | ||
|
||
my $bismark_version = 'v0.20.0_dev'; | ||
my $bismark_version = 'v0.20.1'; | ||
|
||
GetOptions ('verbose' => \$verbose, | ||
'help' => \$help, | ||
|
@@ -62,8 +62,11 @@ if ($version){ | |
Bismark - Bisulfite Mapper and Methylation Caller. | ||
Bismark Genome Preparation Version: $bismark_version | ||
Copyright 2010-18 Felix Krueger, Babraham Bioinformatics | ||
Copyright 2010-19 Felix Krueger, Babraham Bioinformatics | ||
www.bioinformatics.babraham.ac.uk/projects/ | ||
https://github.com/FelixKrueger/Bismark | ||
VERSION | ||
exit; | ||
|
@@ -108,6 +111,8 @@ if ($bowtie1){ | |
} | ||
$bowtie2 = 0; | ||
$verbose and print "Aligner to be used: Bowtie (1)\n"; | ||
|
||
warn "Please note that the use of Bowtie 1 is now deprecated. Bowtie 1 support will be removed from the Bismark suite in due course.\n"; sleep(3); | ||
} | ||
else{ # Bowtie 2 is now the default mode (as of 27 July 2015) | ||
if ($bowtie2){ | ||
|
@@ -492,8 +497,7 @@ sub create_bisulfite_genome_folders{ | |
die "The specified genome folder $genome_folder does not contain any sequence files in FastA format (with .fa, .fa.gz, .fasta or .fasta.gz file extensions)\n"; | ||
} | ||
|
||
warn "Bisulfite Genome Indexer version $bismark_version (last modified 25 September 2018)\n"; | ||
sleep (1); | ||
warn "Bisulfite Genome Indexer version $bismark_version (last modified 01 February 2019)\n"; | ||
|
||
# creating a directory inside the genome folder to store the bisfulfite genomes unless it already exists | ||
my $bisulfite_dir = "${genome_folder}Bisulfite_Genome/"; | ||
|
@@ -634,6 +638,8 @@ two simultaneous instances of the Bowtie 1 or 2 indexer (bowtie-build or bowtie2 | |
that the indexing process can take up to several hours; this will mainly depend on genome size | ||
and system resources. | ||
>>> PLEASE NOTE THAT USING BOWTIE 1 IS NOW DEPRECATED, AND WILL BE REMOVED FROM BISMARK IN FUTURE VERSIONS <<< | ||
The following is a brief description of command line options and arguments to control the | ||
|
@@ -657,7 +663,8 @@ OPTIONS: | |
--bowtie2 This will create bisulfite indexes for Bowtie 2. (Default: ON). | ||
--bowtie1 This will create bisulfite indexes for Bowtie 1. (Default: OFF). | ||
--bowtie1 This will create bisulfite indexes for Bowtie 1. (Default: OFF). PLEASE NOTE THAT USING | ||
BOWTIE 1 IS NOW DEPRECATED, AND WILL BE REMOVED FROM BISMARK IN FUTURE VERSIONS. | ||
--parallel INT Use several threads for each indexing process to speed up the genome preparation step. | ||
Remember that the indexing is run twice in parallel already (for the top and bottom strand | ||
|
@@ -686,6 +693,6 @@ ARGUMENTS: | |
(with the file extension: .fa or .fasta (also ending in .gz)). Specifying this path is mandatory. | ||
This script was last modified on 25 September 2018. | ||
This script was last modified on 01 February 2019. | ||
HOW_TO | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ use Cwd; | |
$|++; | ||
|
||
|
||
## This program is Copyright (C) 2010-18, Felix Krueger ([email protected]) | ||
## This program is Copyright (C) 2010-19, Felix Krueger ([email protected]) | ||
|
||
## This program is free software: you can redistribute it and/or modify | ||
## it under the terms of the GNU General Public License as published by | ||
|
@@ -22,7 +22,7 @@ $|++; | |
## along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
my $parent_dir = getcwd(); | ||
my $filter_version = 'v0.20.0'; | ||
my $filter_version = 'v0.20.1'; | ||
my ($single,$paired); | ||
my ($global_single,$global_paired,$samtools_path,$threshold,$consecutive,$percentage_cutoff,$minimum_count) = process_commandline(); | ||
|
||
|
@@ -493,7 +493,7 @@ sub process_commandline{ | |
Bismark non-conversion filtering | ||
Bismark non-conversion version: $filter_version | ||
Copyright 2010-18 Felix Krueger, Babraham Bioinformatics | ||
Copyright 2010-19 Felix Krueger, Babraham Bioinformatics | ||
www.bioinformatics.babraham.ac.uk/projects/bismark/ | ||
https://github.com/FelixKrueger/Bismark | ||
|