Skip to content

Commit de983c4

Browse files
author
Thomas Clarke
committed
Merge tag '3.5.6' into develop
* Adding parameters to "bcftools mpileup" call to resolve issue for samples using multiple wells * Correcting code version
2 parents 4d336c1 + 8efd8e5 commit de983c4

File tree

5 files changed

+40
-5
lines changed

5 files changed

+40
-5
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGES
22

3+
## 3.5.6
4+
* Adding parameters to "bcftools mpileup" call to resolve issue for samples using multiple wells
5+
* Correcting code version
6+
37
## 3.5.5
48
* Fix bugs in nanoseq result plotter
59
* Fix bugs in indel caller

LSF/nextflow.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ profiles {
1414
executor.perJobMemLimit = true
1515
executor.queueSize = 200
1616
}
17-
}
17+
}

perl/indelCaller_step2.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ sub runCmd {
212212

213213
print STDOUT "Step 3...\n";
214214
#`samtools mpileup --no-BAQ -d 250 -m 2 -F 0.5 -r $chr:$start-$end --BCF --output-tags DP,DV,DP4,SP -f $ref_genome -o $tempdir/$out_name.bcf $tempdir/$out_name.tmp.bam`;
215-
&runCmd("bcftools mpileup --no-BAQ -L 250 -m 2 -F 0.5 -r \"$chr:$start-$end\" -O b -a DP,DV,DP4,SP -f $ref_genome -o $tempdir/$out_name.bcf $tempdir/$out_name.tmp.bam");
215+
&runCmd("bcftools mpileup --no-BAQ --ignore-RG -L 250 -m 2 -F 0.5 -r \"$chr:$start-$end\" -O b -a DP,DV,DP4,SP -f $ref_genome -o $tempdir/$out_name.bcf $tempdir/$out_name.tmp.bam");
216216

217217
print STDOUT "Step 4...\n";
218218
&runCmd( "bcftools index -f $tempdir/$out_name.bcf $tempdir/$out_name.indexed.bcf");
@@ -267,7 +267,7 @@ sub runCmd {
267267
}
268268
#clean up these lines so no tmp files appear
269269
if (/^##bcftoolsCommand=mpileup/) {
270-
$_ ="##bcftoolsCommand=mpileup --no-BAQ -L 250 -m 2 -F 0.5 -O b -a DP,DV,DP4,SP\n";
270+
$_ ="##bcftoolsCommand=mpileup --no-BAQ --ignore-RG -L 250 -m 2 -F 0.5 -O b -a DP,DV,DP4,SP\n";
271271
}
272272
if (/^##bcftools_callCommand=call/) {
273273
$_ ="##bcftools_callCommand=call --ploidy 1 --skip-variants snps --multiallelic-caller --variants-only -O v\n";

perl/post_process_discarded_variants.pl

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,35 @@
1-
#!/usr/bin/perl -w
1+
#!/usr/bin/env perl
2+
3+
########## LICENCE ##########
4+
# Copyright (c) 2022 Genome Research Ltd
5+
#
6+
# Author: CASM/Cancer IT <[email protected]>
7+
#
8+
# This file is part of NanoSeq.
9+
#
10+
# This program is free software: you can redistribute it and/or modify
11+
# it under the terms of the GNU Affero General Public License as
12+
# published by the Free Software Foundation, either version 3 of the
13+
# License, or (at your option) any later version.
14+
#
15+
# This program is distributed in the hope that it will be useful,
16+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18+
# GNU Affero General Public License for more details.
19+
#
20+
# You should have received a copy of the GNU Affero General Public License
21+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
22+
#
23+
# 1. The usage of a range of years within a copyright statement contained within
24+
# this distribution should be interpreted as being equivalent to a list of years
25+
# including the first and last year specified and all consecutive years between
26+
# them. For example, a copyright statement that reads ‘Copyright (c) 2005, 2007-
27+
# 2009, 2011-2012’ should be interpreted as being identical to a statement that
28+
# reads ‘Copyright (c) 2005, 2007, 2008, 2009, 2011, 2012’ and a copyright
29+
# statement that reads ‘Copyright (c) 2005-2012’ should be interpreted as being
30+
# identical to a statement that reads ‘Copyright (c) 2005, 2006, 2007, 2008,
31+
# 2009, 2010, 2011, 2012’.
32+
###########################
233

334
use strict;
435
use List::Util qw(min);

python/runNanoSeq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
import tempfile
4848
import copy
4949

50-
version = '3.5.4'
50+
version = '3.5.6'
5151

5252
parser = argparse.ArgumentParser()
5353
# arguments for all subcommands

0 commit comments

Comments
 (0)