Skip to content

Commit e5ba348

Browse files
committed
Modified mormal panel is now handled in more efficient way - makes BRASS GROUP step extremly faster
Merge branch 'release/v6.0.0'
2 parents dedcc89 + 3555f08 commit e5ba348

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2+
### v6.0.0
3+
* Modified mormal panel is now handled in more efficient way - makes BRASS GROUP step extremly faster
4+
15
### v5.4.1
26
* Fix bug in implementation of cytoband option.
37

perl/MANIFEST

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ lib/Sanger/CGP/Rearrangement/Path.pm
5151
Makefile.PL
5252
MANIFEST This list of files
5353
MANIFEST.SKIP
54+
perltidy.LOG
5455
share/Rdefaults/Human.GRCh37.CentTelo.tsv
5556
share/Rscripts/.Rhistory
5657
share/Rscripts/filter_small_deletions_and_fb_artefacts.R

perl/docs.tar.gz

-14.4 KB
Binary file not shown.

perl/lib/Bio/Brass.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ our @EXPORT = qw(find_breakpoints find_dusty_vertices
4646
is_dusty get_isolated_bp_alignment get_isolated_bp_surrounding_region
4747
$VERSION);
4848

49-
our $VERSION = '5.4.1';
49+
our $VERSION = '6.0.0';
5050

5151
=head1 NAME
5252

perl/lib/Bio/Brass/Merge.pm

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +97,16 @@ sub merge_records {
9797
if($n_grp) {
9898
# always clear the existing groups
9999
$n_grp->clear_group;
100-
101100
# tabix BED now 1 based when queried
102-
my $iter = $brass_np->query(sprintf '%s:%d-%d', $a_grp->low_chr, $a_grp->low_5p, $a_grp->low_3p);
101+
my $iter = $brass_np->query(sprintf '%s%s%s%s:%d-%d', $a_grp->low_chr, $a_grp->low_strand, $a_grp->high_chr, $a_grp->high_strand, $a_grp->low_5p, $a_grp->low_3p);
103102
my %overlaps;
103+
my $low_chr=$a_grp->low_chr;
104104
while(my $record = $iter->next){
105+
$record=~s/^[^\t]+/$low_chr/;
105106
$n_grp->new_group($record);
106-
next if($a_grp->low_strand ne $n_grp->low_strand);
107-
next if($a_grp->high_strand ne $n_grp->high_strand);
108-
next if($a_grp->high_chr ne $n_grp->high_chr);
109107
next unless($a_grp->high_3p >= $n_grp->high_5p && $a_grp->high_5p <= $n_grp->high_3p);
110108
$overlaps{"@{$n_grp->{_loc_data}}"} = $record;
111109
}
112-
113110
my $overlap = filter_overlaps(\%overlaps, $n_grp->sample_count);
114111
if(defined $overlap) {
115112
$n_grp->new_group($overlap);

0 commit comments

Comments
 (0)