Documentation ¶
Index ¶
- func BamToRelatable(f io.Reader) (interfaces.RelatableChannel, error)
- func IntervalFromBedLine(line []byte) (interfaces.Relatable, error)
- func StreamVCF(vcf *vcfgo.Reader) interfaces.RelatableChannel
- func VCFIterator(buf io.Reader) (interfaces.RelatableIterator, *vcfgo.Reader, error)
- func Vopen(rdr io.Reader, hdr *vcfgo.Header) (*vcfgo.Reader, error)
- type Bam
- type BamIterator
- type BamQueryable
- type Interval
- func (i *Interval) AddRelated(b interfaces.Relatable)
- func (i *Interval) Chrom() string
- func (i *Interval) End() uint32
- func (i *Interval) Related() []interfaces.Relatable
- func (i *Interval) SetSource(src uint32)
- func (i *Interval) Source() uint32
- func (i *Interval) Start() uint32
- func (i *Interval) String() string
- type RefAltInterval
- type Variant
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BamToRelatable ¶
func BamToRelatable(f io.Reader) (interfaces.RelatableChannel, error)
func IntervalFromBedLine ¶
func IntervalFromBedLine(line []byte) (interfaces.Relatable, error)
func StreamVCF ¶
func StreamVCF(vcf *vcfgo.Reader) interfaces.RelatableChannel
func VCFIterator ¶
func VCFIterator(buf io.Reader) (interfaces.RelatableIterator, *vcfgo.Reader, error)
Types ¶
type Bam ¶
func (*Bam) AddRelated ¶
func (a *Bam) AddRelated(b interfaces.Relatable)
func (*Bam) Related ¶
func (a *Bam) Related() []interfaces.Relatable
type BamIterator ¶
type BamIterator struct {
// contains filtered or unexported fields
}
func NewBamIterator ¶
func NewBamIterator(f string) (*BamIterator, error)
func (*BamIterator) Close ¶
func (b *BamIterator) Close() error
func (*BamIterator) Next ¶
func (b *BamIterator) Next() (interfaces.Relatable, error)
type BamQueryable ¶
type BamQueryable struct {
// contains filtered or unexported fields
}
func NewBamQueryable ¶
func NewBamQueryable(path string, workers ...int) (*BamQueryable, error)
func (*BamQueryable) Close ¶
func (b *BamQueryable) Close() error
func (*BamQueryable) Query ¶
func (b *BamQueryable) Query(region interfaces.IPosition) (interfaces.RelatableIterator, error)
type Interval ¶
type Interval struct { Fields [][]byte // contains filtered or unexported fields }
Interval satisfies the Relatable interface.
func NewInterval ¶
func (*Interval) AddRelated ¶
func (i *Interval) AddRelated(b interfaces.Relatable)
func (*Interval) Related ¶
func (i *Interval) Related() []interfaces.Relatable
type RefAltInterval ¶
func (*RefAltInterval) Alt ¶
func (i *RefAltInterval) Alt() []string
func (*RefAltInterval) End ¶
func (i *RefAltInterval) End() uint32
func (*RefAltInterval) Ref ¶
func (i *RefAltInterval) Ref() string
func (*RefAltInterval) SetRefAlt ¶
func (i *RefAltInterval) SetRefAlt(ra []int)
type Variant ¶
type Variant struct { interfaces.IVariant // contains filtered or unexported fields }
func NewVariant ¶
func NewVariant(v interfaces.IVariant, source uint32, related []interfaces.Relatable) *Variant
func (*Variant) AddRelated ¶
func (v *Variant) AddRelated(r interfaces.Relatable)
func (*Variant) Related ¶
func (v *Variant) Related() []interfaces.Relatable
Click to show internal directories.
Click to hide internal directories.