Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Update: A draft implementation for generic parser is biojs-io-parser
This is standard is under discussion.
Every BioJS should have the following methods:
parse: Takes in an entire file as string and returns the JSON representation
write: Takes the JSON representation of a file and writes it in the custom format
If the file is line-by-line, one should create a
new instance of the parser.
parseLine: parses another line
result: returns the current, resulting object of the parsing process.
For an exemplary
generic parser, have a look at biojs-io-clustal