# Path: cosmid/resource.py
# class BaseResource(object):
#   """
#   A Resource represents a local genomics resource that can be on the file
#   system or destined to be downloaded.
#   """
#   def __init__(self):
#     super(BaseResource, self).__init__()
#     # The server for the resource
#     self.server = None
# 
#     # The keyword for the resource
#     self.id = "resource"
# 
#   def versions(self):
#     """
#     <public> Returns a list of version tags for availble resource versions.
# 
#     :returns: List of supported resource releases
#     :rtype: list
#     """
#     return []
# 
#   def latest(self):
#     """
#     <public> Returns the version tag for the latest availble version of the
#     resource.
# 
#     :returns: The most up-to-date release tag
#     """
#     return ""
# 
#   def newer(self, current, challenger):
#     """
#     <public> Compares two different version tags and returns ``True`` if the
#     `challenger` is newer than the `current` tag.
# 
#     :param str current: Version tag to compare against
#     :param str challenger: Version tag to compare with
#     :returns: ANS: Challenger is newer than current
#     :rtype: bool
#     """
#     return current > challenger
# 
#   def paths(self, version):
#     """
#     <public> Returns the full download path matching the given ``version`` tag.
# 
#     :param str version: Version tag of the release
#     :returns: List of full paths for included files
#     :rtype: list
#     """
#     return []
# 
#   def postClone(self, cloned_files, target_dir, version):
#     """
#     <public> This callback method will be called once the files in the resource
#     have been successfully downloaded. The paths to the files will be provided
#     as a list to the method.
# 
#     This can be used as a way to rename, unzip, or concat files; generally
#     post process them to prepare them for the user.
# 
#     :param list cloned_files: List of paths to the downloaded resource files
#     :param str target_dir: Path to resource directory
#     :param object version: Version of the resource that was downloaded
# 
#     .. versionadded:: 0.3.0
#     """
#     return 0
# 
# Path: cosmid/servers/thousandg.py
# class ThousandG(FTP):
#   """docstring for EBI 1000 Genomes FTP"""
#   def __init__(self):
#     super(ThousandG, self).__init__("ftp-trace.ncbi.nih.gov", "anonymous", "")


from ..resource import BaseResource
from ..servers.thousandg import ThousandG
#!/usr/bin/env python
"""1000 Genomes decoy assembly sequence, version 5."""



class Resource(BaseResource):
  """docstring for CCDS Resource"""
  def __init__(self):
    super(Resource, self).__init__()

    self.id = "decoy"


# Path: cosmid/resource.py
# class BaseResource(object):
#   """
#   A Resource represents a local genomics resource that can be on the file
#   system or destined to be downloaded.
#   """
#   def __init__(self):
#     super(BaseResource, self).__init__()
#     # The server for the resource
#     self.server = None
# 
#     # The keyword for the resource
#     self.id = "resource"
# 
#   def versions(self):
#     """
#     <public> Returns a list of version tags for availble resource versions.
# 
#     :returns: List of supported resource releases
#     :rtype: list
#     """
#     return []
# 
#   def latest(self):
#     """
#     <public> Returns the version tag for the latest availble version of the
#     resource.
# 
#     :returns: The most up-to-date release tag
#     """
#     return ""
# 
#   def newer(self, current, challenger):
#     """
#     <public> Compares two different version tags and returns ``True`` if the
#     `challenger` is newer than the `current` tag.
# 
#     :param str current: Version tag to compare against
#     :param str challenger: Version tag to compare with
#     :returns: ANS: Challenger is newer than current
#     :rtype: bool
#     """
#     return current > challenger
# 
#   def paths(self, version):
#     """
#     <public> Returns the full download path matching the given ``version`` tag.
# 
#     :param str version: Version tag of the release
#     :returns: List of full paths for included files
#     :rtype: list
#     """
#     return []
# 
#   def postClone(self, cloned_files, target_dir, version):
#     """
#     <public> This callback method will be called once the files in the resource
#     have been successfully downloaded. The paths to the files will be provided
#     as a list to the method.
# 
#     This can be used as a way to rename, unzip, or concat files; generally
#     post process them to prepare them for the user.
# 
#     :param list cloned_files: List of paths to the downloaded resource files
#     :param str target_dir: Path to resource directory
#     :param object version: Version of the resource that was downloaded
# 
#     .. versionadded:: 0.3.0
#     """
#     return 0
# 
# Path: cosmid/servers/thousandg.py
# class ThousandG(FTP):
#   """docstring for EBI 1000 Genomes FTP"""
#   def __init__(self):
#     super(ThousandG, self).__init__("ftp-trace.ncbi.nih.gov", "anonymous", "")


# Path: cosmid/resources/decoy.py
from ..resource import BaseResource
from ..servers.thousandg import ThousandG

#!/usr/bin/env python
"""1000 Genomes decoy assembly sequence, version 5."""



class Resource(BaseResource):
  """docstring for CCDS Resource"""
  def __init__(self):
    super(Resource, self).__init__()

    self.id = "decoy"


    self.ftp = ThousandG()