plate-data-transfer
Version:
Rearranging plate-layouts according to liquid handling steps
64 lines (53 loc) • 1.34 kB
text/typescript
interface PlateWellsType {
padded: string;
unpadded: string;
number: string;
row: string;
column: string;
}
interface PlatesObjectType {
[key: number]: PlateWellsType[];
}
type PlateSizeType = 1 | 6 | 12 | 24 | 48 | 96 | 384;
interface PlateMapRowType {
Plate: string;
Well: string;
[key: string]: string | number | null;
}
type PlateMapType = PlateMapRowType[];
interface TransferInstructionsRowType {
"Source Plate": string;
"Source Well": string;
"Destination Plate": string;
"Destination Well": string;
Volume: number;
}
type TransferInstructionsType = TransferInstructionsRowType[];
interface PlateRelationshipType {
plate_map_id: string;
plate_instruction_id: string;
plate_size: PlateSizeType;
plate_suffix: string;
}
type StrategyType = "keepSource" | "keepDestination" | "concatenate" | "suffix";
type SeparatorType = ", " | "-" | "_" | " " | " + " | "";
interface ClashStrategyType {
column_name: string;
strategy: StrategyType;
concatenation_separator: SeparatorType;
}
type WellType = "padded" | "unpadded" | "number";
export type {
PlateSizeType,
PlateWellsType,
PlatesObjectType,
TransferInstructionsRowType,
TransferInstructionsType,
PlateMapRowType,
PlateMapType,
PlateRelationshipType,
ClashStrategyType,
StrategyType,
SeparatorType,
WellType,
};