parameters: (self)
return_statement: return median_depth
docstring: Determines the single copy read depth for the graph. It uses the median depth (by base)
          using the 10 longest segments in the graph.
docstring_summary: Determines the single copy read depth for the graph. It uses the median depth (by base)
          using the 10 longest segments in the graph.
docstring_tokens: Determines the single copy read depth for the graph . It uses the median depth ( by base ) using the 10 longest segments in the graph .
function: def get_single_copy_depth(self):
          """
          Determines the single copy read depth for the graph. It uses the median depth (by base)
          using the 10 longest segments in the graph.
          """
          ten_longest_contigs = sorted(self.segments.values(), reverse=True,
                                       key=lambda x: x.get_length())[:10]
          median_depth = self.get_median_read_depth(ten_longest_contigs)
          log.log('Median depth of 10 longest contigs: ' + float_to_str(median_depth, 2), 2)
          log.log('', 2)
          return median_depth
function_tokens: def get_single_copy_depth ( self ) : ten_longest_contigs = sorted ( self . segments . values ( ) , reverse = True , key = lambda x : x . get_length ( ) ) [ : 10 ] median_depth = self . get_median_read_depth ( ten_longest_contigs ) log . log ( 'Median depth of 10 longest contigs: ' + float_to_str ( median_depth , 2 ) , 2 ) log . log ( '' , 2 ) return median_depth