Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add clustalo to buildMSA #2011

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

jamesmkrieger
Copy link
Contributor

Example:

In [1]: from prody import *

In [2]: filename = fetchPfamMSA('PF01094')
/home/jkrieger/software/miniconda/envs/prody-github/lib/python3.9/site-packages/urllib3/connectionpool.py:1099: InsecureRequestWarning: Unverified HTTPS request is being made to host 'www.ebi.ac.uk'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
@> Pfam MSA for PF01094 is written as PF01094_seed.sth.

In [3]: msa = parseMSA(filename)
@> 67 sequence(s) with 686 residues were parsed in 0.00s.

In [4]: msa_fixed = buildMSA(msa, method='clustalo')
@> 67 sequence(s) with 648 residues were parsed in 0.00s.

@jamesmkrieger
Copy link
Contributor Author

clustalo actually doesn't seem to work very well, but clustalw can be installed from bioconda too

Copy link
Contributor

@karolamik13 karolamik13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works fine.

In [1]: from prody import *

In [2]: filename = fetchPfamMSA('PF01094')
/home/karolamik/anaconda3/envs/py39_tests/lib/python3.9/site-packages/urllib3/connectionpool.py:1099: InsecureRequestWarning: Unverified HTTPS request is being made to host 'www.ebi.ac.uk'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
warnings.warn(
@> Pfam MSA for PF01094 is written as PF01094_seed.sth.

In [3]: msa = parseMSA(filename)
@> 67 sequence(s) with 686 residues were parsed in 0.00s.

In [4]: msa_fixed = buildMSA(msa, method='clustalo')
@> 67 sequence(s) with 648 residues were parsed in 0.00s.

@jamesmkrieger
Copy link
Contributor Author

Have you tried clustalw too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants