Program: 12608
Project: 12608
Buggy source:
public static void main(String[] args) throws URISyntaxException {
  SBOLDocument doc=new SBOLDocument();
  doc.setDefaultURIprefix("String_Node_Str");
  doc.setComplete(true);
  doc.setCreateDefaults(true);
  String version="String_Node_Str";
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.PROTEIN);
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.RNA);
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.COMPLEX);
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA).addRole(SequenceOntology.PROMOTER);
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.PROTEIN);
  ModuleDefinition CRISPR_Template=doc.createModuleDefinition("String_Node_Str",version);
  Interaction Cas9Complex_Formation=CRISPR_Template.createInteraction("String_Node_Str",SystemsBiologyOntology.NON_COVALENT_BINDING);
  Cas9Complex_Formation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Cas9Complex_Formation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Cas9Complex_Formation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction EYFP_production=CRISPR_Template.createInteraction("String_Node_Str",SystemsBiologyOntology.GENETIC_PRODUCTION);
  EYFP_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  EYFP_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction target_generic_gene_inhibition=CRISPR_Template.createInteraction("String_Node_Str",SystemsBiologyOntology.INHIBITION);
  target_generic_gene_inhibition.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.INHIBITOR);
  target_generic_gene_inhibition.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  String CRa_U6_seq_elements="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  doc.createSequence("String_Node_Str",version,CRa_U6_seq_elements,Sequence.IUPAC_DNA);
  String gRNA_b_elements="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  doc.createSequence("String_Node_Str",version,gRNA_b_elements,Sequence.IUPAC_DNA);
  String mKate_seq_elements="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  doc.createSequence("String_Node_Str",version,mKate_seq_elements,Sequence.IUPAC_DNA);
  String CRP_b_seq_elements="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  doc.createSequence("String_Node_Str",version,CRP_b_seq_elements,Sequence.IUPAC_DNA);
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA).addRole(SequenceOntology.PROMOTER);
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA).addRole(SequenceOntology.CDS);
  ComponentDefinition cas9m_BFP_gene=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  cas9m_BFP_gene.addRole(SequenceOntology.PROMOTER);
  cas9m_BFP_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.PROTEIN);
  ComponentDefinition CRa_U6=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  CRa_U6.addRole(SequenceOntology.PROMOTER);
  CRa_U6.addSequence("String_Node_Str");
  ComponentDefinition gRNA_b_nc=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  gRNA_b_nc.addRole(SequenceOntology.CDS);
  gRNA_b_nc.addSequence("String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA).addRole(SequenceOntology.TERMINATOR);
  ComponentDefinition gRNA_b_gene=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  gRNA_b_gene.addRole(SequenceOntology.PROMOTER);
  cas9m_BFP_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  cas9m_BFP_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.RNA);
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.COMPLEX);
  ComponentDefinition mKate_cds=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  mKate_cds.addRole(SequenceOntology.CDS);
  mKate_cds.addSequence("String_Node_Str");
  ComponentDefinition mKate_gene=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  mKate_gene.addRole(SequenceOntology.PROMOTER);
  mKate_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.PROTEIN);
  ComponentDefinition Gal4VP16_cds=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  Gal4VP16_cds.addRole(SequenceOntology.CDS);
  ComponentDefinition Gal4VP16_gene=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  Gal4VP16_gene.addRole(SequenceOntology.PROMOTER);
  Gal4VP16_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.PROTEIN);
  ComponentDefinition CRP_b=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  CRP_b.addRole(SequenceOntology.PROMOTER);
  CRP_b.addSequence("String_Node_Str");
  ComponentDefinition EYFP_cds=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  EYFP_cds.addRole(SequenceOntology.CDS);
  ComponentDefinition EYFP_gene=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  EYFP_gene.addRole(SequenceOntology.PROMOTER);
  EYFP_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.PROTEIN);
  ModuleDefinition CRPb_circuit=doc.createModuleDefinition("String_Node_Str",version);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  Interaction mKate_production=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.GENETIC_PRODUCTION);
  mKate_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  mKate_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  Interaction GAL4VP16_production=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.GENETIC_PRODUCTION);
  GAL4VP16_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  GAL4VP16_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction cas9m_BFP_production=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.GENETIC_PRODUCTION);
  cas9m_BFP_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  cas9m_BFP_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction gRNA_b_production=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.GENETIC_PRODUCTION);
  gRNA_b_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  gRNA_b_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction EYFP_Activation=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.STIMULATION);
  EYFP_Activation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.STIMULATOR);
  EYFP_Activation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  Interaction mKate_deg=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.DEGRADATION);
  mKate_deg.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Interaction GAL4VP16_deg=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.DEGRADATION);
  GAL4VP16_deg.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Interaction cas9m_BFP_deg=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.DEGRADATION);
  cas9m_BFP_deg.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Interaction gRNA_b_deg=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.DEGRADATION);
  gRNA_b_deg.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Interaction EYFP_deg=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.DEGRADATION);
  EYFP_deg.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Interaction cas9m_BFP_gRNA_b_deg=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.DEGRADATION);
  cas9m_BFP_gRNA_b_deg.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Module Template_Module=CRPb_circuit.createModule("String_Node_Str","String_Node_Str",version);
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  try {
    SBOLWriter.write(doc,System.out);
  }
 catch (  XMLStreamException|FactoryConfigurationError|CoreIoException e) {
    e.printStackTrace();
  }
}

Fixed version (ground truth):
public static void main(String[] args) throws URISyntaxException {
  SBOLDocument doc=new SBOLDocument();
  doc.setDefaultURIprefix("String_Node_Str");
  doc.setComplete(true);
  doc.setCreateDefaults(true);
  String version="String_Node_Str";
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.PROTEIN);
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.RNA);
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.COMPLEX);
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA).addRole(SequenceOntology.PROMOTER);
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.PROTEIN);
  ModuleDefinition CRISPR_Template=doc.createModuleDefinition("String_Node_Str",version);
  Interaction Cas9Complex_Formation=CRISPR_Template.createInteraction("String_Node_Str",SystemsBiologyOntology.NON_COVALENT_BINDING);
  Cas9Complex_Formation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Cas9Complex_Formation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Cas9Complex_Formation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction EYFP_production=CRISPR_Template.createInteraction("String_Node_Str",SystemsBiologyOntology.GENETIC_PRODUCTION);
  EYFP_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  EYFP_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction target_generic_gene_inhibition=CRISPR_Template.createInteraction("String_Node_Str",SystemsBiologyOntology.INHIBITION);
  target_generic_gene_inhibition.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.INHIBITOR);
  target_generic_gene_inhibition.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  String CRa_U6_seq_elements="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  doc.createSequence("String_Node_Str",version,CRa_U6_seq_elements,Sequence.IUPAC_DNA);
  String gRNA_b_elements="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  doc.createSequence("String_Node_Str",version,gRNA_b_elements,Sequence.IUPAC_DNA);
  String mKate_seq_elements="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  doc.createSequence("String_Node_Str",version,mKate_seq_elements,Sequence.IUPAC_DNA);
  String CRP_b_seq_elements="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  doc.createSequence("String_Node_Str",version,CRP_b_seq_elements,Sequence.IUPAC_DNA);
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA).addRole(SequenceOntology.PROMOTER);
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA).addRole(SequenceOntology.CDS);
  ComponentDefinition cas9m_BFP_gene=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  cas9m_BFP_gene.addRole(SequenceOntology.PROMOTER);
  cas9m_BFP_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.PROTEIN);
  ComponentDefinition CRa_U6=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  CRa_U6.addRole(SequenceOntology.PROMOTER);
  CRa_U6.addSequence("String_Node_Str");
  ComponentDefinition gRNA_b_nc=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  gRNA_b_nc.addRole(SequenceOntology.CDS);
  gRNA_b_nc.addSequence("String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA).addRole(SequenceOntology.TERMINATOR);
  ComponentDefinition gRNA_b_gene=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  gRNA_b_gene.addRole(SequenceOntology.PROMOTER);
  gRNA_b_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  gRNA_b_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.RNA);
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.COMPLEX);
  ComponentDefinition mKate_cds=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  mKate_cds.addRole(SequenceOntology.CDS);
  mKate_cds.addSequence("String_Node_Str");
  ComponentDefinition mKate_gene=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  mKate_gene.addRole(SequenceOntology.PROMOTER);
  mKate_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.PROTEIN);
  ComponentDefinition Gal4VP16_cds=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  Gal4VP16_cds.addRole(SequenceOntology.CDS);
  ComponentDefinition Gal4VP16_gene=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  Gal4VP16_gene.addRole(SequenceOntology.PROMOTER);
  Gal4VP16_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.PROTEIN);
  ComponentDefinition CRP_b=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  CRP_b.addRole(SequenceOntology.PROMOTER);
  CRP_b.addSequence("String_Node_Str");
  ComponentDefinition EYFP_cds=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  EYFP_cds.addRole(SequenceOntology.CDS);
  ComponentDefinition EYFP_gene=doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.DNA);
  EYFP_gene.addRole(SequenceOntology.PROMOTER);
  EYFP_gene.createSequenceConstraint("String_Node_Str",RestrictionType.PRECEDES,"String_Node_Str","String_Node_Str");
  doc.createComponentDefinition("String_Node_Str",version,ComponentDefinition.PROTEIN);
  ModuleDefinition CRPb_circuit=doc.createModuleDefinition("String_Node_Str",version);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  CRPb_circuit.createFunctionalComponent("String_Node_Str",AccessType.PRIVATE,"String_Node_Str",version,DirectionType.NONE);
  Interaction mKate_production=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.GENETIC_PRODUCTION);
  mKate_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  mKate_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  Interaction GAL4VP16_production=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.GENETIC_PRODUCTION);
  GAL4VP16_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  GAL4VP16_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction cas9m_BFP_production=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.GENETIC_PRODUCTION);
  cas9m_BFP_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  cas9m_BFP_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction gRNA_b_production=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.GENETIC_PRODUCTION);
  gRNA_b_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  gRNA_b_production.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PRODUCT);
  Interaction EYFP_Activation=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.STIMULATION);
  EYFP_Activation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.STIMULATOR);
  EYFP_Activation.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.PROMOTER);
  Interaction mKate_deg=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.DEGRADATION);
  mKate_deg.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Interaction GAL4VP16_deg=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.DEGRADATION);
  GAL4VP16_deg.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Interaction cas9m_BFP_deg=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.DEGRADATION);
  cas9m_BFP_deg.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Interaction gRNA_b_deg=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.DEGRADATION);
  gRNA_b_deg.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Interaction EYFP_deg=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.DEGRADATION);
  EYFP_deg.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Interaction cas9m_BFP_gRNA_b_deg=CRPb_circuit.createInteraction("String_Node_Str",SystemsBiologyOntology.DEGRADATION);
  cas9m_BFP_gRNA_b_deg.createParticipation("String_Node_Str","String_Node_Str").addRole(SystemsBiologyOntology.REACTANT);
  Module Template_Module=CRPb_circuit.createModule("String_Node_Str","String_Node_Str",version);
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  Template_Module.createMapsTo("String_Node_Str",RefinementType.USELOCAL,"String_Node_Str","String_Node_Str");
  try {
    SBOLWriter.write(doc,System.out);
  }
 catch (  XMLStreamException|FactoryConfigurationError|CoreIoException e) {
    e.printStackTrace();
  }
}