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_gff3_sam_cmp(3) FreeBSD Library Functions Manual bl_gff3_sam_cmp(3)

bl_gff3_sam_cmp() - Compare SAM/GFF3 positions

#include <gff3.h>
-lbiolibc -lxtend

int     bl_gff3_sam_cmp(bl_gff3_t *feature, bl_sam_t *alignment)

feature     Pointer to a bl_gff3_t object
alignment   Pointer to a bl_sam_t object

Compare the positions of a GFF feature and a SAM alignment and return a status value much like strcmp(). 0 is returned if the feature and alignment overlap. A value < 0 is returned if the feature is entirely "before" the alignment, i.e. it is on an earlier chromosome according to bl_chrom_name_cmp(3), or on the same chromosome at a lower position. A value > 0 is returned if the feature is entirely "after" the alignment, i.e. on a later chromosome or same chromosome and higher position.

This function is mainly intended for programs that sweep properly sorted GFF and SAM files locating overlaps in a single pass.

A converse function, bl_sam_gff3_cmp(3) is also provided so that the programmer can choose the more intuitive interface.

A value < 0 if the the feature is entirely before the alignment A value > 0 if the the feature is entirely after the alignment 0 if the feature and the alignment overlap

bl_gff3_sam_cmp(3), bl_chrom_name_cmp(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.