seq icon indicating copy to clipboard operation
seq copied to clipboard

Any potential clash with biopython

Open mauriceling opened this issue 2 years ago • 2 comments

Hi,

I am a little concerned with the import statement "from bio import *" as it is too similar to that of using Biopython - "from Bio import *"

mauriceling avatar Dec 09 '21 04:12 mauriceling

Hi @mauriceling,

Thanks for pointing this out. Are there specific name clashes you've experienced? I was trying to think through a scenario where the Seq language bio module may conflict with biopython or vice versa. I think biopython could be used successfully from within Seq if desired. e.g.

@python
def test_Bio():
    from Bio import Seq as pySeq  # importing from biopython
    my_seq = pySeq.Seq("CATGTAGACTAG")
    print(my_seq)
test_Bio()

Seq does not allow import * from Python modules.

markhend avatar Dec 10 '21 23:12 markhend

Hi @markhend

OK, perhaps it is not a clash but the name is definitely inviting errors for a dyslexic person like me.

mauriceling avatar Dec 11 '21 00:12 mauriceling