-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from althonos/impl-nhmmer
Implement long targets pipeline for consistent `nhmmer` results
- Loading branch information
Showing
26 changed files
with
64,223 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
from libc.stdint cimport uint8_t, uint16_t, uint32_t, uint64_t, int64_t | ||
|
||
|
||
cdef extern from "hmmer.h" nogil: | ||
|
||
cdef struct fm_data_s: | ||
uint64_t N | ||
uint32_t term_loc | ||
uint32_t seq_offset | ||
uint32_t ambig_offset | ||
uint32_t seq_cnt | ||
uint32_t ambig_cnt | ||
uint32_t overlap | ||
uint8_t* T | ||
uint8_t* BWT_mem | ||
uint8_t* BWT | ||
uint32_t* SA | ||
int64_t* C | ||
uint32_t* occCnts_sb | ||
uint16_t* occCnts_b | ||
ctypedef fm_data_s FM_DATA | ||
|
||
ctypedef struct FM_CFG: | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
from libhmmer.p7_profile cimport P7_PROFILE | ||
|
||
IF HMMER_IMPL == "VMX": | ||
from libhmmer.impl_vmx.p7_oprofile cimport P7_OPROFILE | ||
ELIF HMMER_IMPL == "SSE": | ||
from libhmmer.impl_sse.p7_oprofile cimport P7_OPROFILE | ||
|
||
cdef extern from "hmmer.h" nogil: | ||
|
||
cdef enum p7_scoredatatype_e: | ||
p7_sd_std = 0 | ||
p7_sd_fm = 1 | ||
|
||
cdef struct p7_scoredata_s: | ||
p7_scoredatatype_e type | ||
int M | ||
float* prefix_lengths | ||
float* suffix_lengths | ||
float* fwd_scores | ||
float** fwd_transitions | ||
float** opt_ext_fwd | ||
float** opt_ext_rev | ||
ctypedef p7_scoredata_s P7_SCOREDATA | ||
|
||
cdef void p7_hmm_ScoreDataDestroy(P7_SCOREDATA* data) | ||
cdef P7_SCOREDATA* p7_hmm_ScoreDataCreate(P7_OPROFILE* om, P7_PROFILE* gm) | ||
cdef P7_SCOREDATA* p7_hmm_ScoreDataClone(P7_SCOREDATA* src, int Kp) | ||
cdef int p7_hmm_ScoreDataComputeRest(P7_OPROFILE* om, P7_SCOREDATA* data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.