code: def create(cls, file, name, position, chromosome, private=True, api=None):
          
          api = api if api else cls._API
  
          file = Transform.to_file(file)
          data = {
              'file': file,
              'name': name,
              'position': position,
              'chromosome': chromosome,
              'private': private
          }
  
          extra = {
              'resource': cls.__name__,
              'query': data
          }
          logger.info('Creating marker', extra=extra)
          marker_data = api.post(url=cls._URL['query'], data=data).json()
          return Marker(api=api, **marker_data)
docs: Create a marker on a file.
          :param file: File object or identifier.
          :param name: Marker name.
          :param position: Marker position object.
          :param chromosome: Chromosome number.
          :param private: Whether the marker is private or public.
          :param api: Api instance.
          :return: Marker object.