Changeset 5866


Ignore:
Timestamp:
Mar 13, 2020, 8:48:11 AM (21 months ago)
Author:
Nicklas Nordborg
Message:

References #1231: Add support for sequencing with NovaSeq?

The regular workflow should only select barcodes from the 'TRUSEQ_SINGLE' barcode set.

Location:
extensions/net.sf.basedb.reggie/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/trunk/resources/libprep/assign_barcode.js

    r3760 r5866  
    4141   
    4242    var url = '../LibPrep.servlet?ID='+App.getSessionId();
    43     url += '&cmd=GetAllBarcodeInfo';
     43    url += '&cmd=GetAllBarcodeInfo&pipeline=RNA_SEQ&barcodeSet=TRUSEQ_SINGLE';
    4444    Wizard.asyncJsonRequest(url, barcode.barcodesLoaded);
    4545  }
  • extensions/net.sf.basedb.reggie/trunk/resources/libprep/select_rna.js

    r5740 r5866  
    183183   
    184184    var url = '../LibPrep.servlet?ID='+App.getSessionId();
    185     url += '&cmd=GetAllBarcodeInfo';
     185    url += '&cmd=GetAllBarcodeInfo&pipeline=RNA_SEQ&barcodeSet=TRUSEQ_SINGLE';
    186186    Wizard.asyncJsonRequest(url, selectrna.barcodesLoaded);
    187187  }
  • extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/servlet/LibPrepServlet.java

    r5791 r5866  
    6666import net.sf.basedb.reggie.counter.CounterService;
    6767import net.sf.basedb.reggie.dao.Annotationtype;
     68import net.sf.basedb.reggie.dao.BarcodeSet;
    6869import net.sf.basedb.reggie.dao.BiomaterialList;
    6970import net.sf.basedb.reggie.dao.BioplateType;
     
    192193      {
    193194        dc = sc.newDbControl();
    194        
     195        Pipeline pipeline = Pipeline.getByCName(req.getParameter("pipeline"));
     196        BarcodeSet barcodeSet = BarcodeSet.getByCName(req.getParameter("barcodeSet"));
    195197        ItemQuery<Tag> query = Tag.getQuery();
    196198        Subtype.BARCODE.addFilter(dc, query);
    197         Pipeline.RNA_SEQ.addFilter(dc, query);
     199        if (pipeline != null) pipeline.addFilter(dc, query);
     200        if (barcodeSet != null) barcodeSet.addFilter(dc, query);
    198201        query.setIncludes(Reggie.INCLUDE_IN_CURRENT_PROJECT);
    199202        query.order(Orders.asc(Hql.property("name")));
Note: See TracChangeset for help on using the changeset viewer.