sugar.core._adapter module
Adapters for other bio libraries
The functions in this module are not meant to be called directly.
Rather, they should be called via the corresponding sugar class methods.
-
sugar.core._adapter.biopython2ft(obj, cls=<class 'sugar.core.fts.Feature'>)[source]
See Feature.frombiopython()
-
sugar.core._adapter.biopython2fts(obj, cls=<class 'sugar.core.fts.FeatureList'>)[source]
See FeatureList.frombiopython()
-
sugar.core._adapter.biopython2seq(obj, cls=<class 'sugar.core.seq.BioSeq'>)[source]
See BioSeq.frombiopython()
-
sugar.core._adapter.biopython2seqs(obj, cls=<class 'sugar.core.seq.BioBasket'>)[source]
See BioBasket.frombiopython()
-
sugar.core._adapter.biotite2seq(obj, cls=<class 'sugar.core.seq.BioSeq'>)[source]
See BioSeq.frombiotite()
-
sugar.core._adapter.biotite2seqs(obj, cls=<class 'sugar.core.seq.BioBasket'>)[source]
See BioBasket.frombiotite()
-
sugar.core._adapter.ft2biopython(ft)[source]
See Feature.tobiopython()
-
sugar.core._adapter.fts2biopython(fts)[source]
See FeatureList.tobiopython()
-
sugar.core._adapter.seq2biopython(seq)[source]
See BioSeq.tobiopython()
-
sugar.core._adapter.seq2biotite(seq, type=None, gap='-', warn=True)[source]
See BioSeq.tobiotite()
-
sugar.core._adapter.seqs2biopython(seqs, msa=False)[source]
See BioBasket.tobiopython()
-
sugar.core._adapter.seqs2biotite(oseqs, type=None, msa=False, gap='-', warn=True)[source]
See BioBasket.tobiotite()