public read_summary(read_info read) : this(c_csharp_summaryPINVOKE.new_read_summary__SWIG_1(read_info.getCPtr(read)), true) { if (c_csharp_summaryPINVOKE.SWIGPendingException.Pending) { throw c_csharp_summaryPINVOKE.SWIGPendingException.Retrieve(); } }
public read_summary(read_info read, uint channel_count) : this(c_csharp_summaryPINVOKE.new_read_summary__SWIG_0(read_info.getCPtr(read), channel_count), true) { if (c_csharp_summaryPINVOKE.SWIGPendingException.Pending) { throw c_csharp_summaryPINVOKE.SWIGPendingException.Retrieve(); } }
public read_info read(uint read_number) { read_info ret = new read_info(c_csharp_runPINVOKE.info_read__SWIG_1(swigCPtr, read_number), false); if (c_csharp_runPINVOKE.SWIGPendingException.Pending) { throw c_csharp_runPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
protected override void SetUp() { string xml_file = "<?xml version=\"1.0\"?>\n" + "<RunInfo xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" Version=\"2\">\n" + " <Run Id=\"120705_M00903_0009_A000000000-A12V4\" Number=\"8\">\n" + " <Flowcell>000000000-A12V4</Flowcell>\n" + " <Instrument>M00903</Instrument>\n" + " <Date>120705</Date>\n" + " <Reads>\n" + " <Read NumCycles=\"251\" Number=\"1\" IsIndexedRead=\"N\" />\n" + " <Read NumCycles=\"12\" Number=\"2\" IsIndexedRead=\"Y\" />\n" + " <Read NumCycles=\"251\" Number=\"3\" IsIndexedRead=\"N\" />\n" + " </Reads>\n" + " <FlowcellLayout LaneCount=\"1\" SurfaceCount=\"2\" SwathCount=\"1\" TileCount=\"14\" />\n" + " </Run>\n" + "</RunInfo>"; string_vector Tiles = new string_vector(); string_vector ImageChannels = new string_vector(); read_info[] ReadsArr = new read_info[] { /*Number, IsIndexedRead, CycleStart, CycleEnd*/ new read_info(1, 1, 251, false), new read_info(2, 252, 263, true), new read_info(3, 264, 514, false) }; read_info_vector Reads = new read_info_vector(); for (int i = 0; i < ReadsArr.Length; i++) { Reads.Add(ReadsArr[i]); } tile_naming_method TileNamingConvention = tile_naming_method.UnknownTileNamingMethod; uint LaneCount = 1; uint SurfaceCount = 2; uint SwathCount = 1; uint TileCount = 14; uint SectionPerLane = 1; uint LanePerSection = 1; flowcell_layout FlowcellLayout = new flowcell_layout( LaneCount, SurfaceCount, SwathCount, TileCount, SectionPerLane, LanePerSection, Tiles, TileNamingConvention); string Run_Id = "120705_M00903_0009_A000000000-A12V4"; string Date = "120705"; string InstrumentName = "M00903"; uint RunNumber = 8; uint version = 2; image_dimensions ImageDimensions = new image_dimensions(/*Width*/ 0, /*Height*/ 0); expected_run_info = new info(Run_Id, Date, InstrumentName, RunNumber, version, FlowcellLayout, ImageChannels, ImageDimensions, Reads); run_info.parse(xml_file); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(read_info obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public read_info read() { read_info ret = new read_info(c_csharp_summaryPINVOKE.read_summary_read(swigCPtr), false); return(ret); }