From 82a6ee840dae03f3a9353532345b4cc1dcb64442 Mon Sep 17 00:00:00 2001 From: Haibao Tang Date: Wed, 27 Dec 2017 17:10:20 -0800 Subject: [PATCH] [allhic] Add dir structure --- allhic.go => main.go | 7 +++++++ 1 file changed, 7 insertions(+) rename allhic.go => main.go (77%) diff --git a/allhic.go b/main.go similarity index 77% rename from allhic.go rename to main.go index b560e4f..29f9380 100644 --- a/allhic.go +++ b/main.go @@ -2,6 +2,9 @@ package main import ( "fmt" + + "./allhic" + "github.com/docopt/docopt-go" ) @@ -18,4 +21,8 @@ Options: arguments, _ := docopt.Parse(usage, nil, true, "ALLHIC 0.7.11", false) fmt.Println(arguments) + + p := allhic.Partitioner{"tests/prunning.sub.bam"} + fmt.Println(p.Bamfile) + p.CountLinks() }