This short PR adds an IntervalFileFeature interface which extends the Feature interface to include a getName method common to both lines in bed files and interval_list files. This allows you to be able to parse and work with bed and interval_list file lines uniformly when you need to access metadata in the name field. This will be used in an upcoming change in GATK.
Description
This short PR adds an
IntervalFileFeature
interface which extends theFeature
interface to include agetName
method common to both lines in bed files and interval_list files. This allows you to be able to parse and work with bed and interval_list file lines uniformly when you need to access metadata in thename
field. This will be used in an upcoming change in GATK.