Hi Brett,
this is possible with the BiAffine Score specification.However this was so far only used in the JournaledStringSet module which is still under development.You can access it by simply including <seqan/journaled_set/score_biaffine.h>
You can use the setter and getter functions:
setScore/scoresetScoreMismatch/scoreMismatchsetScoreGapOpenVertical/scoreGapOpenVerticalsetScoreGapOpenHorizontal/scoreGapOpenHorizontaland of course the standard setGap interfaces.
Apart from this, the entire align engine for the standard DP algorithms works with different gap penalties for insertions/deletions.
Cheers,
René
On 26 May 2015, at 23:57, Brett Bowman <bnbowman@gmail.com> wrote:
_______________________________________________I'd like to create some scoring schemes with asymmetric weights for insertion / deletion errors for working with single-molecule sequencing data. Raw data from both PacBio and Oxford Nanopore have known insertion-biases, and so optimal scoring schemes need to penalize those errors less than deletions.
This appears to be partially supported by the SeqAn API already, since the "Score" class has separate interface functions for "scoreGapHorizontal" and "scoreGapVertical", but I can't see any existing specifications that utilize them.
Is there an allowed / recommended way to do this currently, or do I need to create my own Score specialization?
Sincerely,-Brett
seqan-dev mailing list
seqan-dev@lists.fu-berlin.de
https://lists.fu-berlin.de/listinfo/seqan-dev
---
René RahnPh.D. Student--------------------------------Institute of Computer ScienceAlgorithmic Bioinformatics (ABI)--------------------------------Freie Universität BerlinTakustraße 914195 Berlin--------------------------------
_______________________________________________
seqan-dev mailing list
seqan-dev@lists.fu-berlin.de
https://lists.fu-berlin.de/listinfo/seqan-dev