Skip to content

Commit

Permalink
merging hmm updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeppley committed Jan 31, 2018
2 parents 6ef35eb + e61157e commit 88994dc
Show file tree
Hide file tree
Showing 7 changed files with 121,842 additions and 434 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@ target/
*.local
*.sge
*.slurm
.tst.*
.batch_launcher
361 changes: 21 additions & 340 deletions LICENSE

Large diffs are not rendered by default.

455 changes: 361 additions & 94 deletions batch_launcher.py

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions test_data/bats/hmmer.bats
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bats

@test "Testing HMM db split" {
run ./batch_launcher.py -X local -N 5 -- hmmsearch --tblout test_data/.tst.genes.v.pfam.tbl --cpu 2 test_data/pfams.100.hmm test_data/genes.faa
[ "$status" = 0 ]
run diff <(grep -v "^#" test_data/.tst.genes.v.pfam.tbl) <(grep -v "^#" test_data/genes.v.pfam.tbl)
[ "$status" = 0 ]
}

@test "Testing HMM db split with keep" {
run ./batch_launcher.py -X local -N 5 -K -- hmmsearch --tblout test_data/.tst.genes.v.pfam.tbl --cpu 2 test_data/pfams.100.hmm test_data/genes.faa
[ "$status" = 0 ]
run diff <(grep -v "^#" test_data/.tst.genes.v.pfam.tbl) <(grep -v "^#" test_data/genes.v.pfam.tbl)
[ "$status" = 0 ]
}

53,826 changes: 53,826 additions & 0 deletions test_data/genes.faa

Large diffs are not rendered by default.

135 changes: 135 additions & 0 deletions test_data/genes.v.pfam.tbl

Large diffs are not rendered by default.

67,481 changes: 67,481 additions & 0 deletions test_data/pfams.100.hmm

Large diffs are not rendered by default.

0 comments on commit 88994dc

Please sign in to comment.