Search in sources :

Example 6 with SampleTissuePiece

use of uk.ac.bbsrc.tgac.miso.core.data.SampleTissuePiece in project miso-lims by miso-lims.

the class V2SampleAliasGeneratorTest method makeLcmTube.

private SampleTissuePiece makeLcmTube() {
    SampleTissuePiece lcmTube = new SampleTissuePieceImpl();
    SampleTissue tissue = makeTissue();
    tissue.setAlias("PROJ_0001_01");
    lcmTube.setParent(tissue);
    lcmTube.setSiblingNumber(2);
    SampleClass sc = new SampleClassImpl();
    sc.setSampleCategory(SampleTissueProcessing.CATEGORY_NAME);
    lcmTube.setSampleClass(sc);
    TissuePieceType pieceType = new TissuePieceType();
    pieceType.setV2NamingCode("TL");
    lcmTube.setTissuePieceType(pieceType);
    return lcmTube;
}
Also used : SampleTissue(uk.ac.bbsrc.tgac.miso.core.data.SampleTissue) SampleClass(uk.ac.bbsrc.tgac.miso.core.data.SampleClass) SampleClassImpl(uk.ac.bbsrc.tgac.miso.core.data.impl.SampleClassImpl) TissuePieceType(uk.ac.bbsrc.tgac.miso.core.data.type.TissuePieceType) SampleTissuePiece(uk.ac.bbsrc.tgac.miso.core.data.SampleTissuePiece) SampleTissuePieceImpl(uk.ac.bbsrc.tgac.miso.core.data.impl.SampleTissuePieceImpl)

Aggregations

SampleTissuePiece (uk.ac.bbsrc.tgac.miso.core.data.SampleTissuePiece)6 SampleTissue (uk.ac.bbsrc.tgac.miso.core.data.SampleTissue)4 SampleTissuePieceImpl (uk.ac.bbsrc.tgac.miso.core.data.impl.SampleTissuePieceImpl)4 SampleClass (uk.ac.bbsrc.tgac.miso.core.data.SampleClass)3 SampleClassImpl (uk.ac.bbsrc.tgac.miso.core.data.impl.SampleClassImpl)2 TissuePieceType (uk.ac.bbsrc.tgac.miso.core.data.type.TissuePieceType)2 IlluminaNotificationDto (ca.on.oicr.gsi.runscanner.dto.IlluminaNotificationDto)1 NotificationDto (ca.on.oicr.gsi.runscanner.dto.NotificationDto)1 OxfordNanoporeNotificationDto (ca.on.oicr.gsi.runscanner.dto.OxfordNanoporeNotificationDto)1 InvalidParameterException (java.security.InvalidParameterException)1 DetailedSample (uk.ac.bbsrc.tgac.miso.core.data.DetailedSample)1 Sample (uk.ac.bbsrc.tgac.miso.core.data.Sample)1 SampleAliquot (uk.ac.bbsrc.tgac.miso.core.data.SampleAliquot)1 SampleSlide (uk.ac.bbsrc.tgac.miso.core.data.SampleSlide)1 SampleStock (uk.ac.bbsrc.tgac.miso.core.data.SampleStock)1 Stain (uk.ac.bbsrc.tgac.miso.core.data.Stain)1 SampleImpl (uk.ac.bbsrc.tgac.miso.core.data.impl.SampleImpl)1 SampleSlideImpl (uk.ac.bbsrc.tgac.miso.core.data.impl.SampleSlideImpl)1 TransferSample (uk.ac.bbsrc.tgac.miso.core.data.impl.transfer.TransferSample)1 OrderAliquotDto (uk.ac.bbsrc.tgac.miso.dto.PoolOrderDto.OrderAliquotDto)1