bin/reference_data.py
def finish_metadata(self):
        """Finalise the genome metadata that will be uploaded to the REST API."""
        self.payload.update(
            assembly_name=self.genome_version,
            species=self.species,
            date_added=self.now()
        )

        project_whitelist = input('Enter a comma-separated list of projects to whitelist for this genome. ')
        if project_whitelist:
            self.payload['project_whitelist'] = project_whitelist.split(',')

        comments = input('Enter any comments about the genome. ')
        if comments:
            self.payload['comments'] = comments

        analyses = ['qc']
        if self.reference_variation:
            analyses.append('variant_calling')
            if self.ftp_species == 'homo_sapiens':  # human
                analyses.append('bcbio')

        self.payload['analyses_supported'] = analyses
Finalise the genome metadata that will be uploaded to the REST API.
Finalise the genome metadata that will be uploaded to the REST API.
Finalise the genome metadata that will be uploaded to the REST API .
def finish_metadata(self):
        self.payload.update(
            assembly_name=self.genome_version,
            species=self.species,
            date_added=self.now()
        )
        project_whitelist = input('Enter a comma-separated list of projects to whitelist for this genome. ')
        if project_whitelist:
            self.payload['project_whitelist'] = project_whitelist.split(',')
        comments = input('Enter any comments about the genome. ')
        if comments:
            self.payload['comments'] = comments
        analyses = ['qc']
        if self.reference_variation:
            analyses.append('variant_calling')
            if self.ftp_species == 'homo_sapiens':  
                analyses.append('bcbio')
        self.payload['analyses_supported'] = analyses
def finish_metadata ( self ) : self . payload . update ( assembly_name = self . genome_version , species = self . species , date_added = self . now ( ) ) project_whitelist = input ( 'Enter a comma-separated list of projects to whitelist for this genome. ' ) if project_whitelist : self . payload [ 'project_whitelist' ] = project_whitelist . split ( ',' ) comments = input ( 'Enter any comments about the genome. ' ) if comments : self . payload [ 'comments' ] = comments analyses = [ 'qc' ] if self . reference_variation : analyses . append ( 'variant_calling' ) if self . ftp_species == 'homo_sapiens' : analyses . append ( 'bcbio' ) self . payload [ 'analyses_supported' ] = analyses
Finalise the genome metadata that will be uploaded to the REST API.
Finalise the genome metadata that will be uploaded to the REST API .
"""Finalise the genome metadata that will be uploaded to the REST API.""" # human
self