Skip to content

Instantly share code, notes, and snippets.

View ShujiaHuang's full-sized avatar
:octocat:
Focusing

Shujia Huang ShujiaHuang

:octocat:
Focusing
View GitHub Profile
@ShujiaHuang
ShujiaHuang / Merge.pl
Last active August 29, 2015 14:03
Common Code In Work
#!/usr/bin/perl
use strict;
use warnings;
#1. 纯区域的Merge
sub Merge {
my ( $dis_delta, @region) = @_; # An array , format: [chrId, start, end]
my ( %prePos, @data, $id, $start, $end );