Skip to content

Commit

Permalink
Update test resource for .2bit to improve test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
athos committed Dec 5, 2023
1 parent 70e00a7 commit a2a001d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file modified test-resources/twobit/test-n.2bit
Binary file not shown.
8 changes: 4 additions & 4 deletions test/cljam/io/sequence_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@
{} {} nil
{:chr "badref"} {} nil
{:chr "ref"} {} "NNNNNGTTAGATAAGATAGCNNTGCTAGTAGGCAGTCNNNNCCAT"
{:chr "ref2"} {} "AGNNNTTATAAAACAATTANNNCTACAGAGCAACTANNNN"
{:chr "ref2"} {:mask? true} "agNNNttataaaacaattaNNNctacagagcaactaNNNN"
{:chr "ref2"} {} "AGNNNTTATAAAACAATTANNNCTACANNGCAACTANNNN"
{:chr "ref2"} {:mask? true} "agNNNttataaaacaattaNNNctacanngcaactaNNNN"
{:chr "ref" :start 10} {} "GATAAGATAGCNNTGCTAGTAGGCAGTCNNNNCCAT"
{:chr "ref" :end 10} {} "NNNNNGTTAG"
{:chr "ref" :start -3 :end 0} {} nil
Expand All @@ -206,8 +206,8 @@
{:chr "ref" :start 0 :end 4} {} "NNNN"
{:chr "ref" :start 41 :end 50} {} "NCCAT"
{:chr "ref" :start 1 :end 45} {} "NNNNNGTTAGATAAGATAGCNNTGCTAGTAGGCAGTCNNNNCCAT"
{:chr "ref2" :start 1 :end 40} {} "AGNNNTTATAAAACAATTANNNCTACAGAGCAACTANNNN"
{:chr "ref2" :start 1 :end 40} {:mask? true} "agNNNttataaaacaattaNNNctacagagcaactaNNNN"
{:chr "ref2" :start 1 :end 40} {} "AGNNNTTATAAAACAATTANNNCTACANNGCAACTANNNN"
{:chr "ref2" :start 1 :end 40} {:mask? true} "agNNNttataaaacaattaNNNctacanngcaactaNNNN"
{:chr "chr1" :start 1 :end 40} {} nil)
(is (= (for [i (range 1 45) j (range i 46)]
(cseq/read-sequence r {:chr "ref" :start i :end j}))
Expand Down

0 comments on commit a2a001d

Please sign in to comment.