public class SBOLParser extends AbstractParser
entry, fileName, partData, userId
accountDAO, entryDAO
Constructor and Description |
---|
SBOLParser(String userId,
String entryId,
boolean extractHierarchy) |
Modifier and Type | Method and Description |
---|---|
protected void |
createICEComponentDefinitionRecord(org.sbolstandard.core2.SBOLDocument document,
org.sbolstandard.core2.ComponentDefinition componentDefinition) |
protected void |
createICEModuleDefinitionRecord(org.sbolstandard.core2.SBOLDocument document,
org.sbolstandard.core2.ModuleDefinition moduleDefinition) |
protected long |
createNewEntry(org.sbolstandard.core2.TopLevel moduleDefinition,
org.sbolstandard.core2.SBOLDocument document) |
SequenceInfo |
parseToEntry(String textSequence,
String fileName) |
protected SequenceInfo |
parseToGenBank(org.sbolstandard.core2.SBOLDocument sbolDocument,
String fileName,
Entry entry,
String uri)
Parse the SBOL document to genbank format, save and associate with entry
|
cleanSequence, parse, save
public SequenceInfo parseToEntry(String textSequence, String fileName) throws InvalidFormatParserException
InvalidFormatParserException
protected SequenceInfo parseToGenBank(org.sbolstandard.core2.SBOLDocument sbolDocument, String fileName, Entry entry, String uri)
sbolDocument
- SBOL document to parsefileName
- name of file that was parsed to extract the SBOL informationentry
- ICE entry to associate sequence document withuri
- optional uri to associate with sequenceprotected long createNewEntry(org.sbolstandard.core2.TopLevel moduleDefinition, org.sbolstandard.core2.SBOLDocument document)
protected void createICEModuleDefinitionRecord(org.sbolstandard.core2.SBOLDocument document, org.sbolstandard.core2.ModuleDefinition moduleDefinition) throws org.sbolstandard.core2.SBOLValidationException
org.sbolstandard.core2.SBOLValidationException
protected void createICEComponentDefinitionRecord(org.sbolstandard.core2.SBOLDocument document, org.sbolstandard.core2.ComponentDefinition componentDefinition) throws org.sbolstandard.core2.SBOLValidationException
org.sbolstandard.core2.SBOLValidationException
Copyright © 2017. All rights reserved.