GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
bl_bed_gff_cmp(3) FreeBSD Library Functions Manual bl_bed_gff_cmp(3)

#include <biolibc/bed.h>
-lbiolibc -lxtend

int bl_bed_gff_cmp(bl_bed_t *bed_feature, bl_gff_t *gff_feature, bl_overlap_t *overlap)

bed_feature     Pointer to the bl_bed_t structure to compare
gff_feature     Pointer to the bl_gff_t structure to compare
overlap         Pointer to the bl_overlap_t structure to receive
comparison results

Compare the position of a BED feature to that of a GFF feature. Return 0 if the features overlap, < 0 if the BED feature is upstream of the GFF feature, > 0 if the BED feature is downstream of the GFF feature.

If the features overlap, populate the bl_overlap_t structure pointed to by overlap. The structure contains the lengths of the two features, the start and end positions of the overlapping region, and the length of the overlap. Positions in overlap are 1-based and inclusive at both ends (like most bioinformatics formats and unlike BED).

A value < 0 if the BED feature is upstream of the GFF feature A value > 0 if the BED feature is downstream of the GFF feature 0 if the BED feature overlaps the GFF feature

if ( bl_bed_gff_cmp(&bed_feature, &gff_feature, *overlap) == 0 )

bl_bed_read(3), bl_gff_read(3)


Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.