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

Parsing: fix Stockholm for Clustal Omega output #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timholy
Copy link
Contributor

@timholy timholy commented May 12, 2024

Clustal Omega writes files like this:

  # STOCKHOLM 1.0

  #=GS    Q8BX79|reviewed|Probable DE    G-protein coupled receptor 21|taxID:10090
    ...
  Q8BX79|reviewed|Probable     -----MNSTWDGN---------QSSHPFCLLAL-------GYLETVRFCL
    ...

That "|reviewed|Probable" ended up getting slurped into the sequence.
This commit searches for the final space in the sequence line and only
considers everything after that to be the sequence.

@timholy
Copy link
Contributor Author

timholy commented May 12, 2024

CC @tmcgrath325

Clustal Omega writes files like this:

  # STOCKHOLM 1.0

  #=GS    Q8BX79|reviewed|Probable DE    G-protein coupled receptor 21|taxID:10090
    ...
  Q8BX79|reviewed|Probable     -----MNSTWDGN---------QSSHPFCLLAL-------GYLETVRFCL
    ...

That "|reviewed|Probable" ended up getting slurped into the sequence.
This commit searches for the final space in the sequence line and only
considers everything after that to be the sequence.
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.

None yet

1 participant