code: def write_agp(self, obj, sizes, fw=sys.stdout, gapsize=100,
                    gaptype="contig", evidence="map"):
          '''Converts the ContigOrdering file into AGP format
          '''
          contigorder = [(x.contig_name, x.strand) for x in self]
          order_to_agp(obj, contigorder, sizes, fw,
                       gapsize=gapsize, gaptype=gaptype, evidence=evidencef write_agp(self, obj, sizes, fw=sys.stdout, gapsize=100,
                    gaptype="contig", evidence="map"):
          '''Converts the ContigOrdering file into AGP format
          '''
          contigorder = [(x.contig_name, x.strand) for x in self]
          order_to_agp(obj, contigorder, sizes, fw,
                       gapsize=gapsize, gaptype=gaptype, evidence=evidence)
docs: Converts the ContigOrdering file into AGP format