[−][src]Struct bigbed::BigBed
Fields
big_endian: bool
version: u16
zoom_levels: u16
chrom_tree_offset: u64
unzoomed_data_offset: u64
unzoomed_index_offset: u64
field_count: u16
defined_field_count: u16
as_offset: u64
total_summary_offset: u64
uncompress_buf_size: usize
extension_offset: u64
level_list: Vec<ZoomLevel>
extension_size: Option<u16>
extra_index_count: Option<u16>
extra_index_list_offset: Option<u64>
Methods
impl<T: Read + Seek> BigBed<T>
[src]
pub fn from_file(reader: T) -> Result<BigBed<T>, Error>
[src]
pub fn attach_unzoomed_cir(&mut self) -> Result<(), Error>
[src]
pub fn overlapping_blocks(
&mut self,
chrom_id: u32,
start: u32,
end: u32
) -> Result<Vec<FileOffsetSize>, Error>
[src]
&mut self,
chrom_id: u32,
start: u32,
end: u32
) -> Result<Vec<FileOffsetSize>, Error>
pub fn query(
&mut self,
chrom: &str,
start: u32,
end: u32,
max_items: u32
) -> Result<Vec<BedLine>, Error>
[src]
&mut self,
chrom: &str,
start: u32,
end: u32,
max_items: u32
) -> Result<Vec<BedLine>, Error>
pub fn write_bed(
&mut self,
chrom: Option<&str>,
start: Option<u32>,
end: Option<u32>,
max_items: Option<u32>,
output: impl Write
) -> Result<(), Error>
[src]
&mut self,
chrom: Option<&str>,
start: Option<u32>,
end: Option<u32>,
max_items: Option<u32>,
output: impl Write
) -> Result<(), Error>
pub fn to_string(
&mut self,
chrom: Option<&str>,
start: Option<u32>,
end: Option<u32>,
max_items: Option<u32>
) -> Result<Vec<String>, Error>
[src]
&mut self,
chrom: Option<&str>,
start: Option<u32>,
end: Option<u32>,
max_items: Option<u32>
) -> Result<Vec<String>, Error>
pub fn chrom_list(&mut self) -> Result<Vec<Chrom>, Error>
[src]
pub fn find_chrom(&mut self, chrom: &str) -> Result<Option<Chrom>, Error>
[src]
Trait Implementations
Auto Trait Implementations
impl<T> Send for BigBed<T> where
T: Send,
T: Send,
impl<T> Sync for BigBed<T> where
T: Sync,
T: Sync,
impl<T> Unpin for BigBed<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for BigBed<T> where
T: UnwindSafe,
T: UnwindSafe,
impl<T> RefUnwindSafe for BigBed<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,