Skip to content
Prev 17189 / 21312 Next

[Bioc-devel] Best object structure for representing a pairwise genome alignment ?

Starting from

PairwiseAlignments-class      package:Biostrings       R Documentation

PairwiseAlignments, PairwiseAlignmentsSingleSubject, and
PairwiseAlignmentsSingleSubjectSummary objects

Description:

     The ?PairwiseAlignments? class is a container for storing a set of
     pairwise alignments.

     The ?PairwiseAlignmentsSingleSubject? class is a container for
     storing a set of pairwise alignments with a single subject.

     The ?PairwiseAlignmentsSingleSubjectSummary? class is a container
     for storing the summary of a set of pairwise alignments.

Usage:

     ## Constructors:
     ## When subject is missing, pattern must be of length 2
     ## S4 method for signature 'XString,XString'
     PairwiseAlignments(pattern, subject,
       type = "global", substitutionMatrix = NULL, gapOpening = 0,
gapExtension = 1)
     ## S4 method for signature 'XStringSet,missing'
     PairwiseAlignments(pattern, subject,
       type = "global", substitutionMatrix = NULL, gapOpening = 0,
gapExtension = 1)
     ## S4 method for signature 'character,character'
     PairwiseAlignments(pattern, subject,
       type = "global", substitutionMatrix = NULL, gapOpening = 0,
gapExtension = 1,
       baseClass = "BString")

...

my question would be whether this is a relevant starting place?  Clearly
the focus is not on coordinates, but perhaps a structure that maintains
genomic content and coordinates together would be of use?


On Fri, Sep 18, 2020 at 2:49 AM Charles Plessy <charles.plessy at oist.jp>
wrote: