NCBI

AGP Validation

AGP file structure and content can be validated using the agp_validate program described below. agp_validate does not currently include overlap or switch point validation; support for this additional level of validation may be added in the future.

File content and structure validation

program: agp_validate

purpose: this program checks AGP files for text formatting and consistency (as defined by the AGP Specification).

usage overview: agp_validate [-options] [FASTA files...] [AGP files...]
Run without any options agp_validate will perform a large number of validations on the input AGP files (see below), and will also generate a report of component, gap, scaffold and object statistics. If component FASTA sequence files are provided, agp_validate will also check that component spans do not exceed the sequence length. If the component sequences are available in GenBank, then agp_validate can optionally perform additional checks using the sequence lengths, versions, and taxonomy ID retrieved from GenBank.

availability: agp_validate is available by anonymous FTP. Copy the appropriate version for your platform, then uncompress the file, rename it to "agp_validate", and set the permissions, as necessary for the platform.

Error level violations reported include:

Warning level violations reported include:

Additional errors and warnings reported when optional validations are invoked:

Page last updated: May 27, 2009