fefdc562bc014756f3c22f53dce16126ada37b56 hiram Wed Sep 8 11:09:33 2021 -0700 update bad blocks message to read as documentation refs #28131 diff --git src/inc/basicBed.h src/inc/basicBed.h index 20389fc..d9e3a9a 100644 --- src/inc/basicBed.h +++ src/inc/basicBed.h @@ -314,16 +314,19 @@ * fields they are just given the names field16, field17, etc and type string. */ boolean asCompareObjAgainstStandardBed(struct asObject *asYours, int numColumnsToCheck, boolean abortOnDifference); /* Compare user's .as object asYours to the standard BED. * abortOnDifference specifies whether to warn or abort if they differ within the first numColumnsToCheck columns. * Returns TRUE if they match. */ void loadAndValidateBed(char *row[], int wordCount, int fieldCount, struct lineFile *lf, struct bed * bed, struct asObject *as, boolean isCt); /* Convert a row of strings to a bed and validate the contents. Abort with message if invalid data. Optionally validate bedPlus via asObject. */ void loadAndValidateBedExt(char *row[], int bedFieldCount, int fieldCount, struct lineFile *lf, struct bed * bed, struct asObject *as, boolean isCt, boolean allow1bpOverlap); /* Convert a row of strings to a bed and validate the contents. Abort with message if invalid data. Optionally validate bedPlus via asObject. Possibly allow one base overlap in exons */ int itemRgbColumn(char *column9); /* Convert color specification to internal format. */ + +#define BAD_BLOCKS "BED blocks must span chromStart to chromEnd. (chromStart + blockStarts[last] + blockSizes[last]) must equal chromEnd." + #endif /* BASICBED_H */