Package org.moltools.lib.seq.db

Examples of org.moltools.lib.seq.db.SequenceDBBuilder


    Class<?> targetClass = null;
    SequenceBuilder<? extends ProbeMakerTarget> seqBuilder;
    SequenceDBDataReader format;
    Transformer conv = null;
    SequenceDBBuilder dbBuilder = null;
    try {
      if (template == null) {
        //Target type
        final Object plugin = platform.getUI().selectPlugIn(CoreMessages.getString("ProbeMakerPlugIn.MESSAGE_SELECT_TARGET_TYPE"),TARGET_TYPES); //$NON-NLS-1$
        if (plugin == null) {
View Full Code Here


          pf.handleError(e.toString(),e);
          return;
        }

        //DBBuilder
        SequenceDBBuilder dbBuilder = (SequenceDBBuilder) pf.getUI().selectPlugIn(SwingUIMessages.getString("ProbeMaker.MESSAGE_SELECT_DBBUILDER_HTML"),MolToolsWorkbench.DB_BUILDERS); //$NON-NLS-1$
        if (dbBuilder == null)
          dbBuilder = ListSequenceDB.getDefaultBuilder();
        List<Map<String,String>> maps = new ArrayList<Map<String,String>>();

        for (Iterator<? extends NucleotideSequence> i = transferdb.iterator();i.hasNext();) {
          Sequence s = i.next();
          Map<String,String> m = new HashMap<String, String>();
          m.put(SequenceBuilder.PROPERTY_NAME,s.getID());
          m.put(SequenceBuilder.PROPERTY_SEQUENCE_DATA,s.seqString());
          m.put(SequenceBuilder.PROPERTY_ID,s.getID());
          maps.add(m);
        }
        database.addSequences(dbBuilder.buildDB(maps,seqBuilder));
      }
      catch (UnsupportedFlavorException e) {
        pf.handleError(e.toString(),e);
      }
      catch (IOException e) {
View Full Code Here

    Class<?> targetClass = null;
    SequenceBuilder<? extends ProbeMakerTarget> seqBuilder;
    SequenceDBDataReader format;
    Transformer conv = null;
    SequenceDBBuilder dbBuilder = null;
    try {
      if (template == null) {
        //Target type
        final Object plugin = platform.getUI().selectPlugIn(CoreMessages.getString("ProbeMakerPlugIn.MESSAGE_SELECT_TARGET_TYPE"),TARGET_TYPES); //$NON-NLS-1$
        if (plugin == null) {
View Full Code Here

    Class<?> targetClass = null;
    SequenceBuilder<? extends ProbeMakerTarget> seqBuilder;
    SequenceDBDataReader format;
    Transformer conv = null;
    SequenceDBBuilder dbBuilder = null;
    try {
      if (template == null) {
        //Target type
        final Object plugin = platform.getUI().selectPlugIn(CoreMessages.getString("ProbeMakerPlugIn.MESSAGE_SELECT_TARGET_TYPE"),TARGET_TYPES); //$NON-NLS-1$
        if (plugin == null) {
View Full Code Here

    Class<?> targetClass = null;
    SequenceBuilder<? extends ProbeMakerTarget> seqBuilder;
    SequenceDBDataReader format;
    Transformer conv = null;
    SequenceDBBuilder dbBuilder = null;
    try {
      if (template == null) {
        //Target type
        final Object plugin = platform.getUI().selectPlugIn(CoreMessages.getString("ProbeMakerPlugIn.MESSAGE_SELECT_TARGET_TYPE"),TARGET_TYPES); //$NON-NLS-1$
        if (plugin == null) {
View Full Code Here

TOP

Related Classes of org.moltools.lib.seq.db.SequenceDBBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.