Number of fields in each line of this BedTool (checks n lines)
n
Return the number of fields in the features this file contains. Checks the first n features.
>>> a = pybedtools.example_bedtool('a.bed') >>> a.field_count() 6
pybedtools
BedTool
BEDTools
pybedtools.contrib