def __str__(self):
delim = "<STR_LIT:\t>"<EOL>res = self.chrom + delim + str(self.start) + delim + str(self.end)<EOL>if self.name is not None:<EOL><INDENT>res += (delim + str(self.name))<EOL><DEDENT>if self.score is not None:<EOL><INDENT>res += (delim + str(self.score))<EOL><DEDENT>if self.strand is not None:<EOL><INDENT>res += (delim + str(self.strand))<EOL><DEDENT>return res<EOL>
Produce a string representation of the interval.

Only those fields which we have values for will be output.

:return: String representation of the genomic interval in BED format.