Skip to content

Commit

Permalink
Fix for parsing MEME files with 100+ motifs (Leighton Pritchard, Bug …
Browse files Browse the repository at this point in the history
…3161)
  • Loading branch information
peterjc committed Dec 22, 2010
1 parent 5abe970 commit 350cb6b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Bio/Motif/Parsers/MEME.py
Expand Up @@ -256,12 +256,12 @@ def __read_command(record, handle):


def __create_motif(line):
line = line.strip()
line = line[5:].strip()
ls = line.split()
motif = MEMEMotif()
motif.length = int(ls[4])
motif._numoccurrences(ls[7])
motif._evalue(ls[13])
motif.length = int(ls[3])
motif._numoccurrences(ls[6])
motif._evalue(ls[12])
return motif


Expand Down
3 changes: 2 additions & 1 deletion NEWS
Expand Up @@ -18,13 +18,14 @@ ability to run the BLAST tools and save the output as ASN.1 format, and then
convert this to any other supported BLAST ouput format (plain text, tabular,
XML, or HTML) with the blast_formatter tool.

(At least) 8 people have contributed to this release, including 1 new person:
(At least) 9 people have contributed to this release, including 1 new person:

Brad Chapman
Eric Talevich
Erick Matsen (first contribution)
Joao Rodrigues
Kristian Rother
Leighton Pritchard
Michiel de Hoon
Peter Cock
Phillip Garland
Expand Down

0 comments on commit 350cb6b

Please sign in to comment.