diff --git a/align/align.go b/search/align/align.go similarity index 99% rename from align/align.go rename to search/align/align.go index 0eaddae7..ff94f995 100644 --- a/align/align.go +++ b/search/align/align.go @@ -66,7 +66,7 @@ Tim package align import ( - "github.com/bebop/poly/align/matrix" + "github.com/bebop/poly/search/align/matrix" ) // Scoring is a struct that holds the scoring matrix for match, mismatch, and gap penalties. diff --git a/align/align_test.go b/search/align/align_test.go similarity index 98% rename from align/align_test.go rename to search/align/align_test.go index 547d1c08..b96ed9b2 100644 --- a/align/align_test.go +++ b/search/align/align_test.go @@ -3,9 +3,9 @@ package align_test import ( "testing" - "github.com/bebop/poly/align" - "github.com/bebop/poly/align/matrix" "github.com/bebop/poly/alphabet" + "github.com/bebop/poly/search/align" + "github.com/bebop/poly/search/align/matrix" ) func TestNeedlemanWunsch(t *testing.T) { diff --git a/align/example_test.go b/search/align/example_test.go similarity index 96% rename from align/example_test.go rename to search/align/example_test.go index 3d455a10..82ce02a5 100644 --- a/align/example_test.go +++ b/search/align/example_test.go @@ -4,9 +4,9 @@ package align_test import ( "fmt" - "github.com/bebop/poly/align" - "github.com/bebop/poly/align/matrix" "github.com/bebop/poly/alphabet" + "github.com/bebop/poly/search/align" + "github.com/bebop/poly/search/align/matrix" ) func ExampleNeedlemanWunsch() { diff --git a/align/matrix/matrices.go b/search/align/matrix/matrices.go similarity index 100% rename from align/matrix/matrices.go rename to search/align/matrix/matrices.go diff --git a/align/matrix/matrix.go b/search/align/matrix/matrix.go similarity index 100% rename from align/matrix/matrix.go rename to search/align/matrix/matrix.go diff --git a/align/matrix/matrix_test.go b/search/align/matrix/matrix_test.go similarity index 96% rename from align/matrix/matrix_test.go rename to search/align/matrix/matrix_test.go index d1e5d002..88eba158 100644 --- a/align/matrix/matrix_test.go +++ b/search/align/matrix/matrix_test.go @@ -3,8 +3,8 @@ package matrix_test import ( "testing" - "github.com/bebop/poly/align/matrix" "github.com/bebop/poly/alphabet" + "github.com/bebop/poly/search/align/matrix" "github.com/stretchr/testify/assert" ) diff --git a/bwt/bitvector.go b/search/bwt/bitvector.go similarity index 100% rename from bwt/bitvector.go rename to search/bwt/bitvector.go diff --git a/bwt/bitvector_test.go b/search/bwt/bitvector_test.go similarity index 100% rename from bwt/bitvector_test.go rename to search/bwt/bitvector_test.go diff --git a/bwt/bwt.go b/search/bwt/bwt.go similarity index 100% rename from bwt/bwt.go rename to search/bwt/bwt.go diff --git a/bwt/bwt_test.go b/search/bwt/bwt_test.go similarity index 100% rename from bwt/bwt_test.go rename to search/bwt/bwt_test.go diff --git a/bwt/example_test.go b/search/bwt/example_test.go similarity index 98% rename from bwt/example_test.go rename to search/bwt/example_test.go index 2d1e1b71..4d1ec739 100644 --- a/bwt/example_test.go +++ b/search/bwt/example_test.go @@ -4,7 +4,7 @@ import ( "fmt" "log" - "github.com/bebop/poly/bwt" + "github.com/bebop/poly/search/bwt" "golang.org/x/exp/slices" ) diff --git a/bwt/rsa_bitvector.go b/search/bwt/rsa_bitvector.go similarity index 100% rename from bwt/rsa_bitvector.go rename to search/bwt/rsa_bitvector.go diff --git a/bwt/rsa_bitvector_test.go b/search/bwt/rsa_bitvector_test.go similarity index 100% rename from bwt/rsa_bitvector_test.go rename to search/bwt/rsa_bitvector_test.go diff --git a/bwt/wavelet.go b/search/bwt/wavelet.go similarity index 100% rename from bwt/wavelet.go rename to search/bwt/wavelet.go diff --git a/bwt/wavelet_test.go b/search/bwt/wavelet_test.go similarity index 100% rename from bwt/wavelet_test.go rename to search/bwt/wavelet_test.go diff --git a/mash/example_test.go b/search/mash/example_test.go similarity index 91% rename from mash/example_test.go rename to search/mash/example_test.go index 76a5db61..e307054c 100644 --- a/mash/example_test.go +++ b/search/mash/example_test.go @@ -3,7 +3,7 @@ package mash_test import ( "fmt" - "github.com/bebop/poly/mash" + "github.com/bebop/poly/search/mash" ) func ExampleMash() { diff --git a/mash/mash.go b/search/mash/mash.go similarity index 100% rename from mash/mash.go rename to search/mash/mash.go diff --git a/mash/mash_test.go b/search/mash/mash_test.go similarity index 98% rename from mash/mash_test.go rename to search/mash/mash_test.go index f22f4715..b5810a9d 100644 --- a/mash/mash_test.go +++ b/search/mash/mash_test.go @@ -3,7 +3,7 @@ package mash_test import ( "testing" - "github.com/bebop/poly/mash" + "github.com/bebop/poly/search/mash" ) func TestMash(t *testing.T) {