Converts a GFF feature into a BED6 feature. By default, the name of the new BED will be feature.name, but if
name_fieldis provided then the name of the new BED will be feature.attrs[name_field].
name_fieldcan also be an integer to index into the fields of the object, so if you want the BED name to be the GFF featuretype, then you can use
If the specified field does not exist, then “.” will be used for the name.