You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Pairwise alignment in BioFSharp.Algorithms works fine but the only implemented way to write out this alignment in a correct format is in the BioFSharp.IO.Clustal module. Although both generally use the same BioFSharp.Alignment.Alignment type, the conversion can be quite cumbersome.
Solution
Remodel BioFSharp.Algorithms.Pairwise Alignment and BioFSharp.IO.Clustal
Add ConservationInfo module to BioFSharp.IO.Clustal or BioFSharp.Alignment
Let Clustal functions use BioSeqs instead of Strings
Let BioFSharp.Algorithms.PairwiseAlignment functions use BioSeqs as output instead of Nucleotides
Add create function to Alignment Type in BioFSharp.Alignment
These changes should make using the different alignment functions of different namespaces together easier.
///General Alignment type used throughout BioFSharptypeAlignment<'Sequence,'Metadata>={///Additional information for this alignment
MetaData :'Metadata;///List of aligned Sequences
Sequences :seq<'Sequence>;}
Replacing the Alignment type with the TaggedSequence might actually cause conciseness loss, but I think in general it would be good if these types had seamless interop.
Also the FastaItem type might actually be replacable with the TaggedSequence type with some minor adjustments.
The Problem
Using the Pairwise alignment in BioFSharp.Algorithms works fine but the only implemented way to write out this alignment in a correct format is in the BioFSharp.IO.Clustal module. Although both generally use the same BioFSharp.Alignment.Alignment type, the conversion can be quite cumbersome.
Solution
Remodel BioFSharp.Algorithms.Pairwise Alignment and BioFSharp.IO.Clustal
Add ConservationInfo module to BioFSharp.IO.Clustal or BioFSharp.Alignment
Let Clustal functions use BioSeqs instead of Strings
Let BioFSharp.Algorithms.PairwiseAlignment functions use BioSeqs as output instead of Nucleotides
Add create function to Alignment Type in BioFSharp.Alignment
These changes should make using the different alignment functions of different namespaces together easier.
Example of unnecessary conversions
Output type of alignment
Expected input of clustal write function
Needed Conversion
which is very cumbersome
The text was updated successfully, but these errors were encountered: