This is a test version of Biostars. For the public version, visit https://www.biostars.org.
gene sequence comparison

Hi, I am just looking for some advice. I have to compare the ADN sequence of a gene extracted from 100 bacterial isolates. The bacterial isolates all belong to the same species, I just want to study if there is any differences in the sequence. I was thinking of align them. But maybe there is a less painful method within biopython or similar. I would like to use BLAST or any other website, I prefer to produce my own script. Can anyone give some advice here, please? Thanks,

python biopython

Sequence alignment for a single gene isn't 'painful'. It's really easy in such a simple case.

I wouldn't advise trying to actually do the alignment yourself (BioPython only has Pairwise2 baked in anyway AFAIK, and you need multiple sequence alignment.

Just create a MSA using clustal (either via the GUI) or really easily via the commandline: clustalo -i myseqs.fasta --outfmt phylip -o myresult.phy (or whatever alignment format you want to use).

Thanks a lot. I will try both of the recommendations from you, and Sej Modha.

Hello bio90029!

We believe that this post does not fit the main topic of this site.

The post has been already answered.

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

1 answer

I'd perform multiple sequence alignment or get a pairwise distance matrix to find out such differences in the sequences.

The only problem I have is that I have about ~5000 genes, more or less the whole genome, to see.

So do you have 5000 genes? or 5000 variants of the same gene? Your comment is contradicting your original post.

Log in to answer this question.