nodes: 0, module; 1, function_definition; 2, function_name:get_assembly; 3, parameters; 4, block; 5, identifier:name; 6, expression_statement; 7, expression_statement; 8, return_statement; 9, comment:"""read a single assembly by name, returning a dictionary of assembly data
  
      >>> assy = get_assembly('GRCh37.p13')
  
      >>> assy['name']
      'GRCh37.p13'
  
      >>> assy['description']
      'Genome Reference Consortium Human Build 37 patch release 13 (GRCh37.p13)'
  
      >>> assy['refseq_ac']
      'GCF_000001405.25'
  
      >>> assy['genbank_ac']
      'GCA_000001405.14'
  
      >>> len(assy['sequences'])
      297
  
      >>> import pprint
      >>> pprint.pprint(assy['sequences'][0])
      {'aliases': ['chr1'],
       'assembly_unit': 'Primary Assembly',
       'genbank_ac': 'CM000663.1',
       'length': 249250621,
       'name': '1',
       'refseq_ac': 'NC_000001.10',
       'relationship': '=',
       'sequence_role': 'assembled-molecule'}
      """; 10, assignment; 11, call; 12, identifier:fn; 13, call; 14, attribute; 15, argument_list; 16, attribute; 17, argument_list; 18, identifier:json; 19, identifier:load; 20, call; 21, identifier:pkg_resources; 22, identifier:resource_filename; 23, identifier:__name__; 24, call; 25, attribute; 26, argument_list; 27, attribute; 28, argument_list; 29, identifier:gzip; 30, identifier:open; 31, identifier:fn; 32, keyword_argument; 33, keyword_argument; 34, identifier:_assy_path_fmt; 35, identifier:format; 36, keyword_argument; 37, identifier:mode; 38, string:"rt"; 39, identifier:encoding; 40, string:"utf-8"; 41, identifier:name; 42, identifier:name
code: def get_assembly(name):
      """read a single assembly by name, returning a dictionary of assembly data
  
      >>> assy = get_assembly('GRCh37.p13')
  
      >>> assy['name']
      'GRCh37.p13'
  
      >>> assy['description']
      'Genome Reference Consortium Human Build 37 patch release 13 (GRCh37.p13)'
  
      >>> assy['refseq_ac']
      'GCF_000001405.25'
  
      >>> assy['genbank_ac']
      'GCA_000001405.14'
  
      >>> len(assy['sequences'])
      297
  
      >>> import pprint
      >>> pprint.pprint(assy['sequences'][0])
      {'aliases': ['chr1'],
       'assembly_unit': 'Primary Assembly',
       'genbank_ac': 'CM000663.1',
       'length': 249250621,
       'name': '1',
       'refseq_ac': 'NC_000001.10',
       'relationship': '=',
       'sequence_role': 'assembled-molecule'}
      """
  
      fn = pkg_resources.resource_filename(
          __name__, _assy_path_fmt.format(name=name))
      return json.load(gzip.open(fn, mode="rt", encoding="utf-8"))