# HG changeset patch # User estrain # Date 1570063023 14400 # Node ID a51d3bce26129789db2ed5455ddcdffea07cf384 # Parent 613775dc3491426fbb9f5ea5cee7f01beafc917e Uploaded diff -r 613775dc3491 -r a51d3bce2612 Initial_Conditions.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Initial_Conditions.py Wed Oct 02 20:37:03 2019 -0400 @@ -0,0 +1,109 @@ +#!/usr/bin/env python + +subs=['II', 'I', 'I', 'II', 'I', 'II', 'II', 'I', 'II', 'II', 'II', 'II', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'I', 'II', 'II', 'II', 'II', 'II', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'II', 'II', 'II', 'II', 'II', 'II', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'VI', 'II', 'I', 'VI', 'I', 'I', 'I', 'II', 'I', 'I', 'II', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'II', 'II', 'I', 'I', 'I', 'I', 'II', 'I', 'IV', 'I', 'I', 'II', 'I', 'I', 'IV', 'I', 'II', 'I', 'I', 'II', 'I', 'I', 'II', 'I', 'I', 'IV', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'II', 'I', 'I', 'II', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'II', 'II', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'VI', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'VI', 'II', 'I', 'I', 'I', 'II', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'II', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'II', 'I', 'II', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'II', 'I', 'bongori', 'II', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'II', 'IV', 'II', 'I', 'I', 'I', 'I', 'I', 'VI', 'I', 'I', 'I', 'II', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'II', 'I', 'I', 'I', 'I', 'VI', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'VI', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'II', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'II', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'II', 'II', 'I', 'II', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'IV', 'I', 'II', 'I', 'II', 'II', 'II', 'I', 'II', 'II', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'IIIb', 'I', 'I', 'IIIb', 'IIIb', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'IIIb', 'IIIb', 'IIIb', 'I', 'I', 'I', 'I', 'IIIb', 'IIIb', 'I', 'I', 'I', 'II', 'IIIb', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'IIIb', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'II', 'I', 'I', 'I', 'II', 'I', 'I', 'II', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'II', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'II', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'II', 'I', 'II', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'II', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'IV', 'II', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'II', 'II', 'II', 'I', 'II', 'I', 'I', 'II', 'II', 'I', 'I', 'II', 'II', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'bongori', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'II', 'II', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'I', 'II', 'II', 'I', 'II', 'I', 'II', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'II', 'IIIb', 'II', 'IIIb', 'II', 'II', 'II', 'II', 'II', 'II', 'I', 'IV', 'II', 'II', 'II', 'II', 'I', 'II', 'II', 'II', 'II', 'I', 'II', 'II', 'II', 'II', 'I', 'II', 'II', 'IIIa', 'IIIa', 'IV', 'I', 'IV', 'IIIa', 'IIIa', 'IIIa', 'IV', 'IV', 'IV', 'IV', 'IIIa', 'I', 'IIIa', 'I', 'IV', 'IIIa', 'IIIa', 'IIIa', 'I', 'IIIa', 'IV', 'IV', 'IV', 'IV', 'IIIa', 'I', 'IIIa', 'IV', 'IIIa', 'IIIa', 'IIIb', 'IV', 'IIIa', 'I', 'IIIa', 'I', 'I', 'II', 'II', 'II', 'II', 'II', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'IIIb', 'I', 'I', 'IIIb', 'I', 'IIIb', 'I', 'I', 'I', 'IIIb', 'I', 'IIIb', 'I', 'IIIb', 'IIIb', 'IIIb', 'I', 'IIIb', 'I', 'I', 'IIIb', 'IIIb', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'IIIb', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'I', 'IIIb', 'I', 'IIIb', 'I', 'I', 'IIIb', 'IIIb', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'IIIb', 'bongori', 'I', 'I', 'I', 'I', 'I', 'bongori', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'IIIb', 'IIIb', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'IIIb', 'I', 'I', 'I', 'IIIb', 'I', 'IIIb', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'IIIb', 'I', 'IIIb', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'II', 'IIIb', 'IIIb', 'IIIb', 'I', 'I', 'II', 'IIIb', 'I', 'II', 'II', 'I', 'I', 'II', 'II', 'I', 'IIIb', 'I', 'I', 'I', 'IIIb', 'IIIb', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'IIIb', 'IIIb', 'I', 'II', 'II', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'I', 'I', 'II', 'IIIb', 'I', 'I', 'IIIb', 'IIIb', 'I', 'I', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'I', 'IIIb', 'I', 'I', 'IIIb', 'I', 'IIIb', 'I', 'I', 'I', 'II', 'IIIb', 'I', 'IIIb', 'II', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'IIIb', 'I', 'I', 'IIIb', 'IIIb', 'II', 'IIIb', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'IIIb', 'IIIb', 'I', 'II', 'IIIb', 'I', 'IIIb', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'II', 'I', 'I', 'I', 'II', 'I', 'IIIb', 'I', 'II', 'IIIb', 'I', 'IIIb', 'IIIb', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'IIIb', 'I', 'VI', 'I', 'II', 'I', 'II', 'I', 'I', 'I', 'IIIb', 'I', 'IIIb', 'IIIb', 'I', 'I', 'IIIb', 'I', 'I', 'IIIb', 'IIIb', 'I', 'I', 'I', 'IIIb', 'I', 'IIIb', 'IIIb', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'VI', 'I', 'IIIb', 'IIIb', 'IIIb', 'IV', 'IIIb', 'IIIb', 'IIIb', 'I', 'I', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'I', 'I', 'IIIb', 'I', 'IIIb', 'I', 'IIIb', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'II', 'I', 'II', 'I', 'IIIb', 'I', 'IIIb', 'I', 'IIIb', 'IIIb', 'IIIb', 'I', 'IIIb', 'II', 'I', 'I', 'I', 'IIIb', 'II', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'II', 'I', 'I', 'II', 'I', 'I', 'II', 'I', 'I', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'I', 'IIIb', 'IIIb', 'IIIb', 'II', 'IIIb', 'IIIb', 'IIIb', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'IIIb', 'IIIb', 'I', 'IIIb', 'I', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'I', 'I', 'IIIb', 'II', 'I', 'I', 'II', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'II', 'II', 'II', 'II', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'I', 'II', 'I', 'II', 'I', 'II', 'I', 'I', 'II', 'II', 'I', 'I', 'II', 'II', 'II', 'II', 'II', 'II', 'I', 'II', 'II', 'I', 'I', 'II', 'I', 'II', 'I', 'I', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'I', 'II', 'I', 'I', 'II', 'I', 'II', 'II', 'II', 'II', 'I', 'I', 'II', 'II', 'IV', 'I', 'II', 'II', 'I', 'II', 'II', 'I', 'I', 'I', 'I', 'II', 'I', 'II', 'I', 'II', 'I', 'II', 'II', 'II', 'II', 'I', 'I', 'I', 'II', 'II', 'I', 'I', 'I', 'I', 'I', 'II', 'II', 'II', 'I', 'II', 'I', 'I', 'II', 'IV', 'I', 'I', 'I', 'II', 'II', 'II', 'I', 'II', 'I', 'II', 'I', 'I', 'I', 'I', 'II', 'II', 'II', 'I', 'I', 'IIIb', 'I', 'IIIb', 'I', 'IIIb', 'IIIb', 'I', 'I', 'IIIb', 'I', 'I', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'I', 'II', 'IIIb', 'I', 'IIIb', 'I', 'I', 'IIIb', 'I', 'I', 'IIIb', 'I', 'IIIb', 'IIIb', 'I', 'I', 'I', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'I', 'I', 'IIIb', 'IIIb', 'IIIb', 'I', 'I', 'I', 'I', 'IIIb', 'IIIb', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'bongori', 'IIIb', 'I', 'IIIb', 'IIIb', 'I', 'I', 'I', 'IIIb', 'bongori', 'I', 'I', 'I', 'I', 'IIIb', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'II', 'I', 'IIIb', 'IIIb', 'IIIb', 'I', 'I', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'II', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'II', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'II', 'II', 'I', 'I', 'I', 'II', 'I', 'I', 'II', 'II', 'I', 'I', 'II', 'II', 'II', 'II', 'II', 'II', 'I', 'I', 'II', 'I', 'II', 'II', 'II', 'I', 'I', 'II', 'I', 'II', 'I', 'I', 'II', 'I', 'I', 'II', 'I', 'II', 'II', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'II', 'I', 'I', 'I', 'II', 'II', 'IIIb', 'II', 'IIIb', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'II', 'I', 'II', 'I', 'I', 'II', 'I', 'I', 'II', 'I', 'II', 'II', 'IIIb', 'I', 'I', 'I', 'II', 'I', 'I', 'II', 'II', 'II', 'II', 'I', 'I', 'I', 'I', 'IIIb', 'II', 'I', 'I', 'II', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'II', 'I', 'II', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'II', 'II', 'I', 'IIIb', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'I', 'I', 'IIIb', 'IIIb', 'I', 'IIIb', 'II', 'IIIb', 'I', 'I', 'I', 'I', 'IIIb', 'IIIb', 'I', 'II', 'VI', 'IIIb', 'II', 'IIIb', 'IIIb', 'I', 'IIIb', 'I', 'I', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'II', 'II', 'IIIb', 'IIIb', 'I', 'II', 'IIIb', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'II', 'IIIb', 'II', 'I', 'I', 'I', 'IIIb', 'IIIb', 'IIIb', 'I', 'I', 'IIIb', 'IIIb', 'I', 'I', 'I', 'IIIb', 'I', 'VI', 'I', 'I', 'II', 'II', 'IIIb', 'I', 'I', 'I', 'II', 'I', 'II', 'IIIb', 'IIIb', 'I', 'I', 'IIIb', 'II', 'II', 'IIIb', 'IIIb', 'II', 'II', 'I', 'II', 'I', 'II', 'II', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'II', 'IIIb', 'I', 'I', 'I', 'II', 'I', 'IIIb', 'IIIb', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'I', 'IIIa', 'I', 'II', 'I', 'IV', 'IIIa', 'IIIa', 'IV', 'II', 'II', 'II', 'II', 'I', 'IIIa', 'I', 'II', 'II', 'I', 'IIIa', 'I', 'II', 'II', 'IV', 'IIIa', 'IIIa', 'II', 'II', 'I', 'II', 'I', 'II', 'I', 'II', 'II', 'IIIa', 'I', 'II', 'II', 'IIIa', 'I', 'II', 'II', 'II', 'I', 'I', 'II', 'II', 'I', 'II', 'I', 'IIIa', 'II', 'I', 'I', 'I', 'I', 'IIIa', 'IV', 'IIIa', 'I', 'II', 'II', 'I', 'I', 'II', 'IIIa', 'I', 'II', 'IIIa', 'II', 'I', 'IV', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'bongori', 'I', 'I', 'I', 'I', 'I', 'bongori', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'IIIb', 'I', 'II', 'bongori', 'II', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'bongori', 'I', 'I', 'I', 'I', 'I', 'IIIa', 'IIIa', 'IIIa', 'IV', 'IIIa', 'IIIa', 'VI', 'II', 'IIIa', 'I', 'II', 'IV', 'IV', 'IV', 'I', 'IV', 'I', 'IIIa', 'IIIa', 'I', 'IIIa', 'I', 'II', 'IV', 'IIIa', 'IIIa', 'II', 'IV', 'IIIa', 'IV', 'IV', 'IV', 'IV', 'IV', 'IV', 'I', 'I', 'I', 'II', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'II', 'II', 'II', 'II', 'bongori', 'II', 'II', 'I', 'II', 'II', 'II', 'II', 'bongori', 'II', 'bongori', 'II', 'II', 'II', 'bongori', 'II', 'IIIb', 'IIIb', 'II', 'IV', 'I', 'I', 'I', 'II', 'IV', 'IV', 'I', 'I', 'I', 'I', 'IIIa', 'I', 'I', 'I', 'I', 'II', 'IIIa', 'I', 'IIIa', 'IV', 'IIIa', 'I', 'I', 'I', 'I', 'IIIa', 'I', 'IIIa', 'IIIa', 'I', 'IV', 'I', 'IIIa', 'IV', 'II', 'IIIa', 'IV', 'IIIa', 'IIIa', 'IV', 'I', 'I', 'IIIa', 'IIIa', 'IIIa', 'I', 'I', 'I', 'IV', 'I', 'I', 'II', 'IIIa', 'IV', 'IV', 'IV', 'IIIa', 'I', 'I', 'I', 'IIIa', 'IIIa', 'IV', 'IIIa', 'IV', 'IV', 'I', 'I', 'I', 'I', 'I', 'IIIa', 'I', 'I', 'I', 'II', 'IV', 'I', 'I', 'IIIa', 'I', 'I', 'I', 'IIIa', 'I', 'I', 'I', 'I', 'I', 'IIIa', 'IIIa', 'IIIa', 'IIIa', 'IIIa', 'IIIa', 'IIIa', 'IIIa', 'IIIa', 'I', 'I', 'IV', 'I', 'I', 'IIIa', 'I', 'IV', 'IIIa', 'IIIa', 'IIIb', 'I', 'I', 'IIIa', 'II', 'I', 'IIIa', 'IV', 'IIIa', 'II', 'II', 'II', 'IV', 'IIIa', 'I', 'I', 'I', 'II', 'IIIa', 'I', 'I', 'IV', 'I', 'IV', 'I', 'I', 'II', 'I', 'IIIa', 'IIIa', 'IV', 'I', 'I', 'IIIa', 'I', 'I', 'II', 'II', 'I', 'IIIa', 'IIIa', 'II', 'I', 'I', 'IIIa', 'IIIa', 'IIIa', 'IIIa', 'IIIa', 'IIIa', 'IV', 'IV', 'IV', 'IV', 'IIIa', 'IIIa', 'IIIa', 'IV', 'I', 'IV', 'IIIa', 'IV', 'IV', 'IIIa', 'IIIa', 'bongori', 'I', 'I', 'I', 'I', 'I', 'I', 'I', 'VI', 'I', 'I', 'bongori', 'bongori', 'I', 'I', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'II', 'I', 'I', 'II', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IV', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'IIIb', 'II', 'II', 'I', 'II', 'II', 'II', 'II', 'II', 'I', 'IIIb', 'bongori', 'IIIb', 'bongori', 'I', 'I', 'bongori', 'bongori', 'bongori', 'II', 'I', 'I'] + +#phase2=[u'1,7', u'e,n,x', u'1,6', u'1,7', u'1,6', u'1,6', u'1,6', u'-', u'1,6', u'1,6', u'1,5', u'1,5', u'z55', u'e,n,x,z15', u'z35', u'z', u'z53', u'z53', u'z54', u'-', u'z35', u'1,5,7', u'z', u'z', u'z53', u'z35', u'z35', u'z35', u'e,n,x,z15', u'z35', u'z35', u'z35', u'z53', u'z', u'z35', u'-', u'e,n,x', u'[e,n,x]', u'1,5,7', u'1,[5],7', u'e,n,x', u'1,2', u'e,n,z15', u'z6', u'z6', u'e,n,z15', u'z42', u'1,5', u'e,n,x', u'z39', u'z42', u'z6', u'l,v', u'1,5', u'e,n,x,z15', u'[1,5]', u'z10', u'1,5', u'l,z13,z28', u'1,7', u'e,n,x', u'e,n,z15', u'e,n,x', u'e,n,z15', u'1,5', u'1,7', u'1,7', u'1,2', u'e,n,z15', u'e,n,x', u'z6', u'1,6', u'1,5', u'1,6', u'e,n,z15', u'1,5', u'z42', u'e,n,z15', u'e,n,x', u'z39', u'1,5', u'1,5', u'z6', u'e,n,z15', u'e,n,x', u'z6', u'1,6', u'z6', u'1,7', u'1,2', u'1,6', u'z39', u'z6', u'1,5,7', u'1,5', u'1,7', u'z6', u'z39', u'1,7', u'-', u'e,n,x', u'e,n,z15', u'z39', u'e,n,x', u'1,2', u'-', u'e,n,z15', u'z6', u'l,z13,z28', u'l,w', u'e,n,x', u'1,5', u'1,6', u'1,5', u'1,5', u'e,n,z15', u'-', u'-', u'e,n,z15', u'e,n,x', u'1,2', u'z42', u'l,w', u'1,5', u'e,n,x', u'e,n,x', u'1,7', u'1,5', u'1,2', u'1,5', u'1,5', u'z6', u'[z6]', u'1,6', u'e,n,x', u'1,2', u'1,2', u'e,n,x', u'1,6', u'1,5', u'1,7', u'e,n,z15', u'l,w', u'1,5', u'1,5', u'[1,5]', u'l,w', u'z39', u'z52', u'z39', u'e,n,z15', u'z6', u'e,n,z15', u'1,7', u'[1,5]', u'z39', u'1,5', u'1,5', u'1,5', u'e,n,x', u'l,w', u'1,2', u'1,5', u'1,5', u'e,n,z15', u'1,5', u'1,2', u'e,n,z15', u'e,n,x', u'e,n,x', u'1,7', u'e,n,z15', u'e,n,x', u'e,n,x', u'e,n,z15', u'-', u'e,n,x', u'1,7', u'e,n,x,z15', u'l,w', u'e,n,z15', u'e,n,x', u'z6', u'l,w', u'z6', u'e,n,x', u'1,6', u'1,5', u'1,2', u'e,n,z15', u'e,n,x', u'1,5', u'e,n,z15', u'-', u'e,n,z15', u'z42', u'e,n,x', u'e,n,z15', u'1,5', u'l,w', u'z35', u'1,5', u'1,6', u'z35', u'z6', u'l,w', u'[e,n,x]', u'1,7', u'[e,n,x]', u'1,6', u'z39', u'e,n,x', u'1,6', u'e,n,z15', u'1,5', u'1,2,5', u'1,2', u'1,2', u'1,5', u'e,n,x', u'e,n,x,z15', u'1,2', u'z6', u'1,6', u'-', u'e,n,x,z15', u'z6', u'1,6', u'1,5', u'1,7', u'e,n,x', u'e,n,z15', u'z6', u'-', u'e,n,z15', u'1,2', u'1,2', u'-', u'z6', u'e,n,x', u'e,n,z15', u'e,n,z15', u'z6', u'1,5', u'1,7', u'l,w', u'1,5', u'1,6', u'z42', u'z39', u'z6', u'1,6', u'1,5', u'1,2', u'l,w', u'e,n,z15', u'e,n,x', u'e,n,x', u'1,5', u'e,n,z15', u'1,7', u'e,n,x', u'1,7', u'1,5', u'1,7', u'e,n,x', u'-', u'e,n,x', u'1,2', u'1,5', u'1,6', u'1,5', u'e,n,x', u'e,n,z15', u'z6', u'e,n,z15', u'e,n,z15', u'l,w', u'z6', u'l,w', u'1,6', u'z6', u'e,n,z15', u'1,5', u'1,5', u'1,7', u'1,7', u'1,2', u'e,n,z15', u'e,n,z15', u'1,5', u'1,2', u'1,5', u'1,7', u'1,6', u'1,7', u'1,5', u'e,n,x', u'e,n,x', u'e,n,z15', u'e,n,x', u'l,w', u'l,w', u'z6', u'1,6', u'z6', u'e,n,x', u'e,n,x', u'z39', u'[1,5]', u'z6', u'1,5', u'z35', u'e,n,z15', u'z35', u'l,w', u'-', u'1,5', u'1,2', u'1,2', u'1,5', u'e,n,x,z15', u'z6', u'z6', u'1,7', u'1,2', u'z6', u'1,6', u'z39', u'1,2', u'1,5', u'1,7', u'-', u'1,5', u'1,5', u'e,n,x', u'z42', u'z6', u'z6', u'1,5', u'[1,5]', u'z6', u'e,n,x', u'1,7', u'e,n,x', u'e,n,x', u'e,n,z15', u'1,6', u'l,w', u'1,7', u'e,n,z15', u'1,2', u'e,n,x', u'1,5', u'e,n,x', u'1,5', u'1,6', u'z39', u'e,n,z15', u'1,5', u'e,n,x,z15', u'1,6', u'z6', u'z35', u'z', u'e,n,x,z15', u'1,5', u'1,5', u'1,6', u'1,5', u'l,w', u'e,n,x,z15', u'1,5', u'z6', u'e,n,z15', u'1,5,7', u'1,2', u'1,7', u'1,7', u'1,6', u'e,n,x', u'z6', u'e,n,x', u'1,5', u'e,n,z15', u'1,6', u'-', u'1,5', u'1,7', u'e,n,x', u'1,5', u'e,n,x,z15', u'1,6', u'1,7', u'l,w', u'e,n,x', u'e,n,x', u'[e,n,z15]', u'z6', u'z6', u'1,2', u'1,5', u'e,n,x', u'1,6', u'1,5', u'1,6', u'1,7', u'k', u'e,n,x', u'e,n,z15', u'z6', u'e,n,z15', u'e,n,x', u'e,n,x', u'z6', u'e,n,z15', u'e,n,x', u'1,6', u'z39', u'z53', u'z', u'1,5,7', u'z6', u'l,w', u'e,n,z15', u'1,7', u'z35', u'1,5,7', u'1,6', u'1,5', u'1,2', u'z39', u'e,n,x,z15', u'1,5', u'1,6', u'1,7', u'z6', u'e,n,x', u'e,n,z15', u'l,w', u'z', u'e,n,x,z15', u'z6', u'1,6', u'1,5', u'e,n,z15', u'1,5', u'z6', u'e,n,x', u'1,5', u'1,6', u'1,5', u'1,5', u'1,5', u'z39', u'1,2', u'1,6', u'z', u'1,5', u'e,n,z15', u'1,7', u'e,n,z15', u'1,7', u'-', u'1,6', u'l,w', u'e,n,x,z15', u'e,n,x', u'1,5', u'1,5', u'1,5', u'1,7', u'1,6', u'z39', u'[1,5]', u'1,5', u'1,2', u'z6', u'1,5', u'l,z13,z28', u'1,7', u'l,w', u'z42', u'e,n,x', u'1,5', u'1,5', u'e,n,z15', u'l,w', u'-', u'1,5', u'z35', u'z6', u'1,2', u'e,n,z15', u'e,n,z15', u'e,n,x', u'1,7', u'1,6', u'z42', u'z39', u'e,n,x,z15', u'1,5', u'e,n,x', u'l,w', u'z6', u'l,w', u'1,7', u'1,7', u'e,n,x', u'e,n,x', u'1,6', u'-', u'z39', u'z35', u'1,5', u'e,n,z15', u'1,5', u'z35', u'1,5', u'1,5', u'1,6', u'1,7', u'e,n,x', u'e,n,z15', u'l,w', u'z6', u'l,z13,z28', u'1,7', u'1,7', u'e,n,z15', u'l,w', u'z6', u'1,5', u'e,n,z15', u'1,6', u'1,5', u'e,n,x', u'z6', u'1,6', u'1,5', u'e,n,x', u'z6', u'e,n,z15', u'z6', u'1,5', u'e,n,x', u'1,[2],7', u'1,6', u'1,5', u'1,2', u'z6', u'1,5', u'z6', u'z39', u'e,n,x,z15', u'e,n,x', u'1,5', u'e,n,z15', u'l,w', u'1,7', u'1,5', u'z6', u'1,6', u'1,6', u'1,7', u'e,n,x', u'e,n,z15', u'1,2', u'e,n,z15', u'l,w', u'1,2', u'1,5', u'e,n,z15', u'e,n,x', u'1,6', u'z6', u'[e,n,x]', u'z6', u'1,5', u'-', u'e,n,x', u'1,2', u'1,6', u'1,7', u'1,5', u'e,n,x', u'e,n,x', u'e,n,z15', u'l,w', u'z42', u'z39', u'1,5', u'1,5', u'-', u'-', u'1,2', u'z6', u'1,5', u'1,2', u'1,2', u'z6', u'z39', u'e,n,x,z15', u'1,5', u'1,5', u'1,5', u'1,7', u'1,7', u'e,n,x', u'1,5', u'z35', u'z35', u'1,2', u'z6', u'e,n,z15', u'e,n,x', u'1,5', u'1,5', u'z6', u'e,n,z15', u'e,n,x', u'1,7', u'1,5', u'1,7', u'e,n,z15', u'e,n,z15', u'1,7', u'1,5', u'e,n,x', u'1,6', u'l,z13,z28', u'1,5', u'1,7', u'1,6', u'1,5', u'1,2', u'1,6', u'1,5', u'1,6', u'1,5', u'l,w', u'1,5', u'1,5', u'1,2', u'z6', u'1,2', u'z6', u'1,7', u'z6', u'1,5', u'1,7', u'1,6', u'1,2', u'1,2', u'1,5', u'1,6', u'1,2', u'1,5', u'1,6', u'1,7', u'1,2', u'1,5', u'e,n,z15', u'1,5', u'1,7', u'1,2', u'1,5', u'e,n,z15', u'1,5', u'z6', u'1,2', u'l,w', u'l,w', u'1,5', u'1,2', u'1,6', u'e,n,z15', u'1,2', u'l,w', u'z6', u'e,n,x', u'e,n,z15', u'1,6', u'1,2', u'e,n,x', u'l,w', u'1,7', u'1,6', u'1,2', u'1,5', u'1,5', u'1,2', u'e,n,z15', u'1,2', u'1,6', u'1,7', u'1,6', u'1,6', u'1,7', u'1,[5],7', u'1,[5],7', u'1,7', u'1,5,7', u'1,[5],7', u'1,2,7', u'1,5,7', u'1,6', u'1,[5],7', u'1,7', u'1,7', u'1,6', u'1,6', u'z6', u'1,6', u'1,6', u'1,6', u'1,5,7', u'1,6', u'1,[5],7', u'z87', u'-', u'1,6', u'-', u'[1,2]', u'e,n,x', u'-', u'-', u'e,n,x', u'-', u'-', u'e,n,x', u'-', u'e,n,z15', u'-', u'-', u'-', u'-', u'[1,6]', u'-', u'[e,n,x]', u'-', u'[1,2]', u'z6', u'1,2,7', u'e,n,x', u'1,2,7', u'1,7', u'e,n,z15', u'1,5', u'-', u'e,n,x', u'-', u'[1,5]', u'[e,n,x]', u'[e,n,x]', u'z42', u'[1,5]', u'e,n,x', u'[z42]', u'z39', u'[1,5]', u'z42', u'[1,5]', u'-', u'z42', u'-', u'-', u'-', u'[e,n,z15]', u'1,6', u'-', u'-', u'1,5', u'[e,n,z15]', u'-', u'-', u'-', u'-', u'-', u'[1,2,7]', u'-', u'[e,n,x]', u'[1,6]', u'-', u'-', u'e,n,x', u'[1,5,7]', u'[e,n,x]', u'[z42]', u'-', u'-', u'-', u'-', u'-', u'[1,2]', u'-', u'-', u'-', u'1,2,7', u'z', u'-', u'-', u'-', u'e,n,x', u'[e,n,z15]', u'e,n,x', u'-', u'1,5', u'[1,5]', u'e,n,x', u'1,5', u'-', u'z39', u'e,n,x', u'z42', u'z6', u'-', u'z39', u'e,n,x', u'z6', u'-', u'1,7', u'e,n,x,z15', u'[z67]', u'z39', u'-', u'[1,5]', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'[1,6]', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'e,n,x', u'-', u'-', u'-', u'-', u'e,n,x', u'-', u'-', u'e,n,x', u'[1,7]', u'[1,2]', u'-', u'-', u'-', u'[1,5]', u'1,5', u'z42', u'-', u'-', u'-', u'-', u'[1,5]', u'z6', u'1,5', u'-', u'-', u'[e,n,x,z15]', u'-', u'z39', u'-', u'-', u'-', u'e,n,x', u'e,n,x,z15', u'-', u'1,5', u'e,n,x', u'-', u'1,5', u'z42', u'-', u'z39', u'[e,n,x]', u'-', u'-', u'-', u'e,n,z15', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'1,5', u'-', u'-', u'-', u'-', u'-', u'-', u'1,5', u'-', u'-', u'-', u'-', u'e,n,x,z15', u'-', u'-', u'e,n,z15', u'-', u'1,7', u'1,5', u'e,n,x', u'[e,n,x]', u'e,n,x', u'-', u'-', u'-', u'-', u'[z]', u'1,6', u'1,5', u'1,7', u'1,2', u'1,6', u'[e,n,x,z15]', u'1,5', u'z', u'1,2', u'e,n,x', u'z35', u'e,n,x', u'z', u'e,n,z15', u'e,n,z15', u'l,w', u'z35', u'1,7', u'e,n,x,z15', u'1,2', u'1,5,7', u'e,n,x,z15', u'e,n,x,z15', u'1,7', u'e,n,x,z15', u'z6', u'l,w', u'z53', u'z35', u'1,7', u'e,n,z15', u'z', u'z6', u'e,n,z15', u'1,6', u'1,5', u'1,5', u'z53', u'z', u'e,n,z15', u'z6', u'e,n,z15', u'l,w', u'[z35]', u'1,2', u'1,5', u'e,n,x,z15', u'e,n,x', u'e,n,x,z15', u'1,5', u'1,2', u'z35', u'e,n,x,z15', u'z', u'l,w', u'1,6', u'l,w', u'1,5', u'e,n,z15', u'e,n,x,z15', u'l,w', u'1,6', u'z6', u'1,6', u'1,7', u'z53', u'e,n,z15', u'z35', u'l,w', u'l,w', u'z6', u'z6', u'1,5,7', u'-', u'1,5', u'1,2', u'e,n,z15', u'e,n,x', u'z6', u'-', u'z61', u'1,5', u'e,n,x', u'e,n,z15', u'1,5', u'1,2', u'1,6', u'z53', u'1,5', u'z', u'z', u'z35', u'l,w', u'e,n,z15', u'e,n,x', u'1,6', u'1,5', u'1,5', u'z53', u'1,7', u'z35', u'1,6', u'e,n,x', u'l,w', u'z', u'z6', u'z53', u'e,n,z15', u'1,7', u'e,n,x,z15', u'e,n,z15', u'1,5', u'e,n,z15', u'z53', u'l,w', u'z35', u'z6', u'1,2', u'1,5,7', u'l,w', u'1,5', u'1,7', u'z', u'1,5', u'1,2', u'z6', u'1,2', u'1,6', u'e,n,x', u'z', u'e,n,z15', u'e,n,z15', u'1,2', u'1,5', u'1,5', u'1,2', u'e,n,x', u'1,5', u'e,n,z15', u'z53', u'1,2,5', u'[z6]', u'z', u'e,n,x,z15', u'z53', u'1,5', u'1,5', u'z6', u'z', u'1,6', u'e,n,x', u'1,6', u'1,5', u'e,n,z15', u'z39', u'-', u'1,5', u'z35', u'1,7', u'1,5', u'e,n,z15', u'1,5,7', u'z35', u'1,2', u'1,5', u'z', u'e,n,z15', u'1,5', u'z6', u'z', u'e,n,z15', u'e,n,x', u'1,7', u'1,6', u'1,5', u'1,7', u'1,5', u'z41', u'-', u'1,2', u'1,6', u'e,n,x', u'1,7', u'1,6', u'z', u'z53', u'z35', u'1,6', u'1,6', u'z6', u'z', u'z', u'e,n,x,z15', u'e,n,x,z15', u'1,5,7', u'z', u'1,2', u'1,7', u'z65', u'z53', u'1,5', u'1,6', u'e,n,x,z15', u'z', u'e,n,z15', u'1,2', u'z53', u'z53', u'z53', u'z35', u'z53', u'e,n,z15', u'e,n,x,[z15]', u'e,n,x,z15', u'1,7', u'l,z13,z28', u'1,5', u'e,n,z15', u'z53', u'e,n,z15', u'e,n,x', u'1,7', u'1,7', u'1,6', u'e,n,x,z15', u'1,2', u'e,n,x,z15', u'1,2', u'1,6', u'1,5', u'e,n,x', u'1,5,7', u'e,n,z15', u'z35', u'1,5', u'l,w', u'1,2', u'1,5', u'1,6', u'z', u'1,2', u'z', u'1,6', u'e,n,x', u'e,n,x,z15', u'z', u'z6', u'z', u'z53', u'1,2', u'1,6', u'e,n,x', u'z35', u'1,2', u'1,5', u'e,n,x,z15', u'z35', u'z53', u'e,n,x', u'z39', u'z', u'1,6', u'z53', u'e,n,x,z15', u'1,5', u'l,z13,z28', u'e,n,x', u'l,w', u'1,6', u'e,n,x', u'e,n,[x],z15', u'e,n,x,z15', u'1,5', u'1,6', u'1,5', u'e,n,x', u'1,5', u'z6', u'1,5', u'1,5,7', u'1,6', u'e,n,x,z15', u'e,n,x,z15', u'e,n,z15', u'z', u'z35', u'e,n,x', u'e,n,z15', u'1,5', u'1,2', u'[z6]', u'1,5', u'[1,5]', u'1,5', u'1,6', u'z53', u'z35', u'e,n,z15', u'1,5', u'1,5', u'1,5,7', u'e,n,z15', u'e,n,z15', u'1,7', u'e,n,x', u'1,7', u'e,n,z15', u'z6', u'1,6', u'z35', u'1,7', u'1,2', u'e,n,x', u'e,n,z15', u'z', u'z35', u'1,7', u'z88', u'1,2', u'z6', u'e,n,z15', u'e,n,x', u'1,7', u'1,6', u'1,5', u'z53', u'1,2', u'z', u'1,5,7', u'1,6', u'e,n,x', u'z', u'z6', u'1,7', u'z53', u'1,5,7', u'1,5', u'e,n,x', u'e,n,z15', u'z', u'1,5', u'z53', u'z35', u'e,n,x', u'1,7', u'e,n,x', u'e,n,x', u'e,n,z15', u'1,2', u'1,2', u'z67', u'1,5', u'e,n,x,z15', u'z35', u'[z53]', u'-', u'z57', u'z53', u'z35', u'1,2', u'1,2', u'z57', u'z35', u'z', u'e,n,x,z15', u'e,n,x', u'1,6', u'z35', u'1,2', u'e,n,x,z15', u'1,5', u'z', u'1,5,7', u'1,5', u'1,2', u'1,6', u'e,n,x', u'1,5', u'1,5', u'z', u'e,n,z15', u'z39', u'e,n,z15', u'e,n,x', u'e,n,x', u'z53', u'1,5', u'z', u'1,2', u'z53', u'z53', u'z', u'e,n,z15', u'1,5,7', u'e,n,x,z15', u'1,7', u'e,n,x', u'1,5', u'1,[5],7', u'1,5', u'e,n,x', u'e,n,z15', u'1,5', u'[e,n,z15]', u'1,7', u'e,n,x,z15', u'e,n,x', u'e,n,z15', u'z6', u'z39', u'1,2', u'1,6', u'e,n,x', u'1,6', u'e,n,z15', u'z35', u'z', u'1,5,7', u'z', u'z53', u'z', u'z53', u'e,n,x', u'z', u'z35', u'e,n,x,z15', u'z39', u'z35', u'z', u'e,n,x,z15', u'1,5', u'z35', u'1,5', u'1,2', u'1,5', u'1,7', u'e,n,x', u'e,n,x,z15', u'e,n,x,z15', u'z53', u'1,2', u'e,n,x,z15', u'e,n,z15', u'z', u'z53', u'z', u'1,5,7', u'z57', u'z35', u'e,n,x', u'1,5', u'z', u'e,n,x', u'z6', u'1,5', u'e,n,x', u'e,n,z15', u'e,n,z15', u'z6', u'-', u'1,2', u'-', u'1,5', u'z6', u'e,n,z15', u'e,n,x', u'1,6', u'1,2', u'z6', u'[z44]', u'1,5', u'1,5', u'1,5,7', u'e,n,z15', u'z42', u'e,n,x', u'e,n,x', u'z6', u'z35', u'[1,2]', u'1,6', u'e,n,x,z15', u'1,5', u'1,5', u'1,5', u'1,6', u'1,5,7', u'1,2', u'1,5', u'1,2', u'e,n,z15', u'1,7', u'1,5', u'e,n,x', u'e,n,z15', u'1,6', u'1,2', u'-', u'1,5', u'e,n,x', u'1,6', u'e,n,z15', u'e,n,z15', u'1,5', u'z6', u'z6', u'1,6', u'1,2', u'e,n,x', u'e,n,z15', u'1,7', u'1,5', u'e,n,z15', u'e,n,z15', u'1,6', u'e,n,x,z15', u'z6', u'e,n,x', u'1,5', u'e,n,z15', u'e,n,x', u'1,7', u'1,5', u'e,n,z15', u'z6', u'e,n,z15', u'e,n,z15', u'1,5', u'z39', u'1,2', u'z39', u'z6', u'z6', u'e,n,x', u'z42', u'z39', u'-', u'1,7', u'z6', u'1,7', u'e,n,x', u'e,n,x', u'1,5', u'e,n,x', u'e,n,x', u'[e,n,x]', u'e,n,x', u'1,5', u'1,5', u'z39', u'z42', u'z6', u'1,5', u'1,5', u'e,n,x', u'1,6', u'1,5', u'e,n,x', u'e,n,z15', u'e,n,x', u'z39', u'1,6', u'1,5', u'1,5', u'1,5', u'e,n,x', u'z39', u'e,n,x', u'1,5', u'-', u'z6', u'z42', u'e,n,x', u'e,n,x', u'1,5', u'e,n,z15', u'e,n,x', u'e,n,x', u'-', u'z42', u'1,5', u'z42', u'z42', u'-', u'-', u'z42', u'1,5', u'-', u'-', u'z39', u'e,n,x', u'-', u'e,n,x', u'z39', u'1,6', u'-', u'-', u'-', u'z6', u'-', u'1,5', u'[1,2]', u'1,5', u'[1,5]', u'e,n,x', u'e,n,x', u'1,5', u'e,n,x', u'[z57]', u'e,n,z15', u'-', u'e,n,x', u'-', u'z64', u'1,6', u'-', u'-', u'-', u'-', u'[e,n,x,z15]', u'-', u'-', u'1,5', u'-', u'e,n,z15', u'-', u'-', u'-', u'-', u'-', u'-', u'z39', u'e,n,x', u'[1,6]', u'1,5', u'1,6', u'[z42]', u'e,n,z15', u'-', u'-', u'[e,n,z15]', u'e,n,x', u'[e,n,x]', u'e,n,x', u'1,5', u'e,n,x', u'e,n,x,z15', u'e,n,z15', u'z53', u'1,5', u'z', u'e,n,x,z15', u'1,6', u'l,z13,z28', u'z', u'1,2', u'l,w', u'z35', u'z53', u'z35', u'e,n,x,z15', u'z', u'z35', u'z53', u'z', u'-', u'e,n,z15', u'z', u'1,5', u'z53', u'1,7', u'e,n,z15', u'z', u'1,5', u'1,2', u'z', u'1,2', u'z35', u'1,5,7', u'1,6', u'e,n,z15', u'z6', u'1,5,7', u'e,n,x,z15', u'z', u'z35', u'z53', u'l,w', u'l,w', u'z', u'e,n,x,z15', u'e,n,x,z15', u'1,7', u'z6', u'1,6', u'e,n,z15', u'z', u'z35', u'z68', u'1,5', u'1,7', u'e,n,x', u'1,7', u'e,n,x', u'z', u'1,2', u'1,5', u'1,6', u'1,7', u'l,w', u'z', u'-', u'z', u'1,5', u'1,5,7', u'z53', u'z6', u'e,n,z15', u'1,5', u'e,n,x,z15', u'-', u'1,6', u'e,n,z15', u'l,w', u'e,n,z15', u'z53', u'z', u'z6', u'e,n,z15', u'1,7', u'1,5', u'l,w', u'1,6', u'1,5', u'e,n,z15', u'z6', u'1,2', u'-', u'-', u'1,6', u'e,n,x,z15', u'z', u'1,5,7', u'1,5', u'1,2', u'z', u'z53', u'z61', u'z35', u'z35', u'1,7', u'1,5', u'1,7', u'1,7', u'e,n,z15', u'1,2', u'e,n,z15', u'z35', u'1,5', u'e,n,z15', u'e,n,z15', u'l,w', u'e,n,z15', u'z6', u'1,5', u'1,5', u'l,w', u'e,n,x,z15', u'1,6', u'1,2', u'l,w', u'1,7', u'l,z13,z28', u'e,n,x', u'1,5', u'e,n,z15', u'e,n,z15', u'1,2', u'e,n,z15', u'z6', u'l,w', u'e,n,x', u'e,n,z15', u'e,n,x', u'1,5', u'z39', u'1,7', u'1,7', u'e,n,x', u'e,n,z15', u'1,7', u'1,2', u'1,6', u'1,5', u'1,6', u'1,7', u'1,7', u'e,n,x', u'e,n,x', u'1,2', u'1,2', u'1,5', u'z6', u'l,w', u'l,w', u'z39', u'1,7', u'1,6', u'z6', u'l,w', u'1,5', u'1,6', u'e,n,x', u'e,n,x', u'e,n,z15', u'1,7', u'1,6', u'e,n,x', u'1,2', u'1,5', u'1,2', u'1,2', u'1,5', u'1,6', u'z6', u'z6', u'e,n,z15', u'1,5', u'1,6', u'1,5', u'1,7', u'1,2', u'1,5', u'e,n,x', u'1,5', u'1,5', u'1,2', u'e,n,z15', u'1,6', u'1,7', u'e,n,z15', u'e,n,x', u'e,n,z15', u'1,7', u'e,n,x', u'e,n,z15', u'l,w', u'-', u'z6', u'1,6', u'1,5', u'e,n,z15', u'1,5', u'e,n,x', u'e,n,x', u'e,n,x,z15', u'1,5', u'1,5', u'e,n,x', u'e,n,x', u'1,7', u'l,w', u'e,n,z15', u'1,7', u'e,n,x,z15', u'1,7', u'z6', u'l,w', u'e,n,z15', u'1,7', u'1,6', u'1,2', u'e,n,x', u'l,w', u'e,n,x', u'1,5', u'1,2', u'l,w', u'e,n,x,z15', u'z6', u'1,7', u'1,5', u'-', u'e,n,z15', u'l,w', u'1,5', u'1,5', u'e,n,z15', u'1,5', u'z42', u'l,w', u'1,6', u'e,n,x', u'1,5', u'1,7', u'e,n,z15', u'e,n,z15', u'z39', u'1,5', u'1,5', u'e,n,z15', u'-', u'l,w', u'z6', u'z39', u'z39', u'z6', u'e,n,z15', u'1,6', u'1,6', u'e,n,x,z15', u'1,2', u'1,6', u'-', u'1,5', u'e,n,x', u'z6', u'z6', u'z39', u'z42', u'1,5', u'1,7', u'z39', u'1,5', u'1,2', u'z39', u'e,n,z15', u'e,n,x', u'1,5', u'1,5', u'1,6', u'1,6', u'1,5', u'e,n,z15', u'1,5', u'e,n,x,z15', u'1,5', u'1,5', u'1,6', u'1,7', u'1,7', u'e,n,x', u'e,n,x', u'z6', u'e,n,z15', u'1,7', u'1,2', u'1,6,[7]', u'1,5', u'e,n,z15', u'z6', u'z6', u'1,7', u'l,z13,z28', u'1,5', u'1,5', u'z6', u'1,5,7', u'1,5', u'z52', u'1,5', u'e,n,x', u'e,n,z15', u'z6', u'1,7', u'1,6', u'e,n,z15', u'1,6', u'z6', u'l,w', u'z39', u'z6', u'e,n,x', u'e,n,x', u'1,5', u'1,6', u'1,5', u'1,5', u'z42', u'-', u'1,5', u'e,n,x', u'l,w', u'e,n,z15', u'z39', u'z6', u'1,6', u'z42', u'z6', u'z39', u'e,n,x', u'l,w', u'e,n,[x],z15', u'1,7', u'1,6', u'1,5,7', u'1,5', u'1,5', u'1,5', u'e,n,x', u'z6', u'1,5', u'z39', u'e,n,z15', u'1,6', u'1,5', u'z6', u'l,w', u'1,7', u'e,n,z15', u'z52', u'e,n,x', u'1,5', u'e,n,x', u'1,6', u'1,7', u'e,n,x', u'e,n,x', u'l,w', u'z6', u'z35', u'e,n,x,z15', u'z6', u'1,5', u'z', u'e,n,x,z15', u'1,6', u'z35', u'z6', u'l,w', u'1,2', u'e,n,x', u'1,6', u'z35', u'1,7', u'e,n,x', u'e,n,z15', u'1,5', u'1,2', u'1,2', u'1,5', u'1,6', u'e,n,x', u'e,n,x', u'e,n,z15', u'-', u'e,n,x', u'e,n,z15', u'e,n,x', u'z35', u'z', u'1,5', u'z53', u'z6', u'z', u'1,5', u'e,n,z15', u'e,n,x', u'1,2', u'z', u'e,n,x,z15', u'e,n,x', u'1,6', u'1,5', u'z35', u'[1,5]', u'z35', u'z', u'e,n,z15', u'1,5,7', u'1,7', u'z6', u'z35', u'z', u'z57', u'z53', u'1,2', u'e,n,x,z15', u'e,n,x,z15', u'z', u'z6', u'z6', u'z35', u'z', u'z6', u'1,2', u'l,w', u'e,n,z15', u'e,n,x', u'z53', u'z6', u'e,n,x,z15', u'1,6', u'1,7', u'1,5', u'1,5', u'z53', u'z67', u'z', u'e,n,z15', u'l,w', u'z', u'e,n,x,z15', u'e,n,x', u'z6', u'e,n,z15', u'e,n,x,z15', u'1,6', u'1,2,7', u'1,5', u'1,6', u'z6', u'z6', u'e,n,x,z15', u'1,2', u'1,5', u'e,n,z15', u'e,n,x,z15', u'1,6', u'1,5', u'1,7', u'z53', u'z6', u'1,5', u'e,n,x,z15', u'e,n,x', u'z6', u'e,n,x,z15', u'z', u'z39', u'e,n,x', u'e,n,x', u'[z6]', u'1,7', u'-', u'z39', u'z6', u'z6', u'e,n,z15', u'e,n,x', u'1,7', u'1,2', u'1,5', u'z', u'1,5', u'z53', u'1,5', u'e,n,z15', u'1,2', u'z6', u'[1,5]', u'z', u'z53', u'1,6', u'1,5', u'1,2', u'z6', u'1,5', u'l,w', u'e,n,z15', u'-', u'e,n,z15', u'1,5', u'e,n,x', u'1,5', u'1,7', u'e,n,x', u'e,n,z15', u'z6', u'1,5', u'l,w', u'z6', u'z35', u'z6', u'1,2', u'-', u'e,n,x', u'e,n,x', u'-', u'-', u'-', u'-', u'-', u'e,n,x', u'z42', u'e,n,x', u'1,5', u'-', u'-', u'-', u'e,n,x', u'e,n,x,z15', u'-', u'-', u'-', u'z42', u'[e,n,x]', u'-', u'-', u'-', u'-', u'z42', u'-', u'1,5', u'-', u'1,5', u'-', u'1,5', u'e,n,x', u'-', u'-', u'e,n,x,z15', u'e,n,x', u'-', u'-', u'e,n,x', u'1,5', u'e,n,x', u'[e,n,z15]', u'[e,n,z15]', u'e,n,x', u'[z42]', u'[1,2,7]', u'-', u'-', u'-', u'1,5', u'-', u'-', u'[1,5]', u'-', u'-', u'-', u'-', u'-', u'e,n,x', u'1,5', u'[z6]', u'-', u'e,n,x', u'-', u'-', u'e,n,x', u'-', u'e,n,x', u'-', u'-', u'1,5', u'e,n,z15', u'1,7', u'1,6', u'z6', u'1,5', u'e,n,z15', u'1,7', u'-', u'1,5', u'1,6', u'1,6', u'e,n,z15', u'1,6', u'-', u'l,w', u'e,n,z15', u'e,n,z15', u'1,6', u'e,n,z15', u'1,6', u'e,n,z15', u'1,6', u'z6', u'z52', u'e,n,z15', u'e,n,x,z15', u'-', u'e,n,x,z15', u'e,n,x', u'e,n,z15', u'1,6', u'1,5', u'e,n,z15', u'z6', u'e,n,z15', u'e,n,z15', u'1,7', u'z6', u'1,6', u'z6', u'1,2', u'e,n,z15', u'1,2', u'-', u'1,6', u'z6', u'z6', u'1,6', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'e,n,z15', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'1,5', u'-', u'e,n,z15', u'z42', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'1,6', u'[z6]', u'z42', u'-', u'1,2', u'-', u'-', u'[e,n,z15]', u'-', u'-', u'[e,n,z15]', u'-', u'e,n,z15', u'-', u'-', u'-', u'-', u'1,2', u'-', u'-', u'-', u'[e,n,x]', u'-', u'-', u'z6', u'1,[5],7', u'e,n,x,z15', u'1,7', u'1,[5],7', u'-', u'1,7', u'1,5,7', u'[1,6]', u'1,7', u'1,7', u'1,7', u'1,5', u'-', u'z81', u'-', u'1,5,7', u'e,n,x,z15', u'e,n,x,z15', u'-', u'1,6', u'1,6', u'1,2', u'1,5,7', u'-', u'z6', u'1,7', u'[e,n,z15]', u'-', u'-', u'-', u'z6', u'[1,2]', u'1,6', u'e,n,z15', u'-', u'[1,5]', u'e,n,x', u'[e,n,z15]', u'z64', u'-', u'-', u'-', u'-', u'-', u'-', u'1,6', u'-', u'-', u'-', u'-', u'1,2', u'-', u'-', u'1,5', u'-', u'[1,2]', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'1,5', u'1,6', u'-', u'-', u'-', u'e,n,z15', u'-', u'e,n,z15', u'-', u'-', u'e,n,z15', u'-', u'-', u'-', u'-', u'-', u'-', u'1,6', u'z6', u'l,w', u'-', u'-', u'-', u'-', u'-', u'-', u'z6', u'1,6', u'e,n,z15', u'z6', u'1,7', u'-', u'[e,n,z15]', u'[1,6]', u'z6', u'-', u'-', u'[1,7]', u'-', u'-', u'l,w', u'-', u'1,5', u'-', u'[z6]', u'[1,7]', u'[e,n,z15]', u'1,7', u'[e,n,z15]', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'1,5', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'z39', u'1,5', u'z42', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'z39', u'-', u'-', u'-', u'-', u'-', u'[1,5]', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'1,2,5', u'1,2', u'-', u'l,w', u'e,n,z15', u'z6', u'1,2', u'1,7', u'1,5', u'-', u'-', u'-', u'z35', u'1,[2],5', u'1,7', u'1,6', u'1,6', u'1,5,7', u'[1,5,7]', u'1,[5],7', u'1,6', u'1,[5],7', u'1,6', u'-', u'-', u'1,5,7', u'z35', u'z35', u'z53', u'z53', u'z35', u'z', u'z53', u'z', u'1,5,7', u'-', u'z35', u'z53', u'z35', u'1,5,[7]', u'z', u'z', u'z35', u'z53', u'e,n,x,z15', u'1,5', u'e,n,x,z15', u'1,5,7', u'z53', u'z35', u'z', u'z', u'1,5,7', u'z53', u'z', u'z35', u'z35', u'e,n,x,z15', u'z35', u'z53', u'e,n,x,z15', u'z', u'z35', u'e,n,x,z15', u'1,5,7', u'-', u'-', u'1,5', u'1,6', u'1,6', u'z67', u'1,6', u'1,6', u'1,6', u'1,5', u'1,7', u'1,2', u'[z53]', u'-', u'e,n,x,z15', u'-', u'1,7', u'-', u'-', u'-', u'-', u'z6', u'-',u'e,n,z15'] + +#phase1=[u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'-', u'g,m,[s],t', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'[f],g,[t]', u'[g,t]', u'[g],m,t', u'[z42]', u'[z42]', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'a', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'b', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'c', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'd', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,h', u'e,n,x', u'e,n,x', u'e,n,x', u'e,n,x', u'e,n,x', u'e,n,x', u'e,n,x', u'e,n,x', u'e,n,x', u'e,n,x', u'e,n,x', u'e,n,x', u'e,n,x', u'e,n,x', u'e,n,x', u'e,n,x', u'e,n,x', u'e,n,x,z15', u'e,n,x,z15', u'e,n,x,z15', u'e,n,x,z15', u'e,n,x,z15', u'e,n,x,z15', u'e,n,x,z15', u'e,n,z15', u'e,n,z15', u'e,n,z15', u'f,g', u'f,g', u'f,g', u'f,g', u'f,g', u'f,g', u'f,g', u'f,g', u'f,g', u'f,g', u'f,g', u'f,g', u'f,g', u'f,g', u'f,g,[s]', u'f,g,[s]', u'f,g,[t]', u'f,g,m,t', u'f,g,s', u'f,g,s', u'f,g,t', u'f,g,t', u'f,g,t', u'f,g,t', u'f,g,t', u'f,g,t', u'g,m,[s],t', u'g,t', u'g,[m],[s],[t]', u'g,[m],[s],t', u'g,[m],[s],t', u'g,[m],[s],t', u'g,[m],[s],t', u'g,[m],[s],t', u'g,[m],[s],t', u'g,[m],[s],t', u'g,[m],s,t', u'g,[m],s,t', u'g,[m],s,t', u'g,[m],s,t', u'g,[m],t', u'g,[s],t', u'g,[s],t', u'g,[s],t', u'g,m', u'g,m', u'g,m', u'g,m', u'g,m', u'g,m', u'g,m', u'g,m', u'g,m', u'g,m', u'g,m', u'g,m', u'g,m', u'g,m,[p],s', u'g,m,[s]', u'g,m,[s]', u'g,m,[s]', u'g,m,[s],[t]', u'g,m,[s],[t]', u'g,m,[s],t', u'g,m,[s],t', u'g,m,[s],t', u'g,m,[s],t', u'g,m,[t]', u'g,m,[t]', u'g,m,[t]', u'g,m,[t]', u'g,m,q', u'g,m,s', u'g,m,s', u'g,m,s', u'g,m,s', u'g,m,s', u'g,m,s', u'g,m,s', u'g,m,s', u'g,m,s', u'g,m,s', u'g,m,s', u'g,m,s', u'g,m,s', u'g,m,s,t', u'g,m,s,t', u'g,m,s,t', u'g,m,s,t', u'g,m,s,t', u'g,m,s,t', u'g,m,s,t', u'g,m,s,t', u'g,m,s,t', u'g,m,s,t', u'g,m,t', u'g,m,t', u'g,m,t', u'g,m,t', u'g,m,t', u'g,m,t', u'g,m,t', u'g,m,t', u'g,m,t', u'g,m,t', u'g,m,t', u'g,p', u'g,p', u'g,p', u'g,p,s', u'g,p,u', u'g,q', u'g,s,[t]', u'g,s,q', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,s,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,t', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z51', u'g,z62', u'g,z62', u'g,z62', u'g,z62', u'g,z62', u'g,z63', u'g,z85', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'i', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'k', u'l,[z13],[z28]', u'l,[z13],z28', u'l,[z13],z28', u'l,[z13],z28', u'l,[z13],z28', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,v', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,w', u'l,z13', u'l,z13', u'l,z13', u'l,z13', u'l,z13', u'l,z13', u'l,z13', u'l,z13', u'l,z13', u'l,z13', u'l,z13', u'l,z13', u'l,z13', u'l,z13,[z28]', u'l,z13,[z28]', u'l,z13,[z28]', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z13,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'l,z28', u'm,p,t,[u]', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'm,t', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r', u'r,[i]', u'r,[i]', u'r,[i]', u'r,[i]', u'r,[i]', u'r,[i]', u'r,[i]', u'r,[i]', u'r,[i]', u'r,i', u'r,i', u'r,i', u'r,i', u'r,i', u'r,i', u'r,i', u'r,i', u'r,i', u'r,i', u'r,i', u'r,i', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'y', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z10', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z29', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z35', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36', u'z36,[z38]', u'z36,[z38]', u'z36,z38', u'z36,z38', u'z36,z38', u'z36,z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z38', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z39', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23', u'z4,z23,[z32]', u'z4,z23,z32', u'z4,z23,z32', u'z4,z23,z32', u'z4,z23,z32', u'z4,z23,z32', u'z4,z23,z32', u'z4,z23,z32', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z24', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z4,z32', u'z41', u'z41', u'z41', u'z41', u'z41', u'z41', u'z41', u'z41', u'z41', u'z41', u'z41', u'z41', u'z41', u'z41', u'z41', u'z42', u'z42', u'z42', u'z42', u'z42', u'z42', u'z42', u'z42', u'z42', u'z44', u'z44', u'z44', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z52', u'z53', u'z53', u'z57', u'z6', u'z6', u'z6', u'z6', u'z6', u'z6', u'z6', u'z6', u'z60', u'z61', u'z65', u'z65', u'z65', u'z69', u'z71', u'z81', u'z81', u'z81', u'z81', u'z91',u'g,m,s'] + +#phaseO=[u'39', u'4', u'53', u'51', u'18', u'41', u'65', u'9', u'13', u'7', u'11', u'7', u'38', u'59', u'53', u'59', u'60', u'18', u'18', u'38', u'38', u'38', u'63', u'7', u'61', u'35', u'41', u'16', u'16', u'8', u'65', u'59', u'65', u'65', u'42', u'9', u'47', u'39', u'40', u'13', u'28', u'30', u'28', u'57', u'28', u'52', u'57', u'52', u'28', u'3,10', u'9', u'9,46,27', u'3,10', u'47', u'47', u'21', u'45', u'3,10', u'11', u'3,10', u'3,10', u'35', u'3,10', u'3,10', u'28', u'11', u'28', u'3,10', u'45', u'45', u'11', u'11', u'11', u'28', u'11', u'16', u'13', u'7', u'7', u'39', u'7', u'7', u'16', u'16', u'16', u'7', u'16', u'7', u'7', u'16', u'7', u'48', u'48', u'48', u'40', u'40', u'40', u'40', u'16', u'44', u'30', u'30', u'30', u'51', u'51', u'51', u'42', u'58', u'13', u'7', u'13', u'30', u'13', u'13', u'13', u'38', u'50', u'41', u'9,46', u'9,46', u'9,46', u'7', u'13', u'9', u'9', u'17', u'9', u'17', u'43', u'43', u'43', u'43', u'8', u'9', u'4', u'17', u'8', u'9', u'8', u'1,3,19', u'1,3,19', u'1,3,19', u'1,3,19', u'9', u'8', u'2', u'4', u'8', u'8', u'4', u'6,14', u'4', u'4', u'8', u'4', u'9', u'6,14', u'6,14', u'44', u'44', u'44', u'4', u'9', u'4', u'9', u'11', u'11', u'8', u'8', u'8', u'4', u'18', u'4', u'6,14', u'11', u'35', u'4', u'4', u'42', u'9,46', u'42', u'9,46', u'9,46', u'42', u'1,3,19', u'9,46', u'9,46', u'9,46', u'9,46', u'7', u'7', u'13', u'4', u'43', u'43', u'43', u'1,3,19', u'1,3,19', u'4', u'1,3,19', u'9,46', u'42', u'4', u'7', u'7', u'7', u'7', u'7', u'4', u'42', u'7', u'44', u'41', u'44', u'16', u'16', u'16', u'17', u'17', u'17', u'17', u'39', u'17', u'16', u'48', u'48', u'48', u'44', u'40', u'40', u'40', u'40', u'40', u'40', u'17', u'4', u'38', u'50', u'50', u'50', u'38', u'41', u'41', u'1,3,19', u'41', u'39', u'4', u'7', u'16', u'16', u'16', u'1,3,19', u'7', u'7', u'16', u'16', u'16', u'16', u'41', u'11', u'8', u'54', u'8', u'6,14', u'6,14', u'6,14', u'4', u'3,10', u'11', u'11', u'11', u'8', u'11', u'45', u'11', u'3,10', u'30', u'3,10', u'42', u'13', u'8', u'4', u'13', u'8', u'8', u'11', u'57', u'9', u'8', u'8', u'9', u'3,10', u'3,10', u'9', u'3,10', u'3,10', u'21', u'9', u'8', u'57', u'8', u'8', u'8', u'9', u'21', u'8', u'3,10', u'21', u'9', u'56', u'8', u'45', u'1,3,19', u'9', u'3,10', u'4', u'60', u'13', u'6,14', u'47', u'47', u'47', u'47', u'47', u'18', u'8', u'3,10', u'13', u'3,10', u'30', u'30', u'30', u'51', u'51', u'58', u'30', u'13', u'30', u'42', u'18', u'13', u'28', u'13', u'13', u'28', u'28', u'28', u'13', u'28', u'28', u'13', u'8', u'52', u'52', u'13', u'28', u'28', u'40', u'42', u'43', u'41', u'1,3,19', u'42', u'47', u'47', u'47', u'1,3,19', u'44', u'6,14', u'6,14', u'6,14', u'13', u'17', u'9', u'9', u'47', u'35', u'1,3,19', u'9', u'9', u'45', u'41', u'6,14', u'9', u'44', u'47', u'41', u'11', u'7', u'21', u'8', u'21', u'8', u'8', u'8', u'8', u'8', u'35', u'8', u'40', u'8', u'53', u'21', u'11', u'28', u'28', u'28', u'52', u'28', u'28', u'28', u'11', u'11', u'7', u'7', u'7', u'18', u'17', u'17', u'65', u'65', u'65', u'3,10', u'3,10', u'3,10', u'3,10', u'61', u'61', u'3,10', u'8', u'3,10', u'9,46,27', u'59', u'4', u'4', u'4', u'58', u'4', u'4', u'4', u'57', u'57', u'4', u'21', u'3,10', u'30', u'35', u'9,46', u'39', u'16', u'16', u'7', u'7', u'7', u'30', u'7', u'38', u'48', u'38', u'8', u'9,46', u'16', u'30', u'51', u'7', u'16', u'40', u'16', u'18', u'16', u'16', u'18', u'16', u'38', u'38', u'38', u'16', u'7', u'43', u'7', u'16', u'7', u'7', u'3,10', u'40', u'17', u'17', u'17', u'40', u'39', u'3,10', u'3,10', u'3,10', u'3,10', u'7', u'3,10', u'3,10', u'3,10', u'43', u'43', u'43', u'3,10', u'16', u'3,10', u'9,46', u'35', u'6,14', u'6,14', u'6,14', u'6,14', u'9,46', u'9', u'9', u'9', u'6,14', u'9,46', u'6,14', u'9,46', u'30', u'28', u'28', u'28', u'28', u'28', u'28', u'42', u'6,14', u'9,46', u'9', u'16', u'16', u'16', u'35', u'6,14', u'9', u'21', u'21', u'21', u'6,14', u'9', u'16', u'41', u'9', u'9', u'9,46', u'7', u'7', u'7', u'7', u'7', u'6,14', u'41', u'1,3,19', u'47', u'47', u'47', u'47', u'1,3,19', u'1,3,19', u'1,3,19', u'13', u'4', u'13', u'13', u'13', u'9', u'13', u'48', u'13', u'13', u'11', u'11', u'45', u'45', u'45', u'13', u'11', u'11', u'50', u'50', u'13', u'4', u'4', u'4', u'1,3,19', u'4', u'4', u'4', u'4', u'53', u'53', u'53', u'4', u'56', u'48', u'1,3,19', u'48', u'57', u'8', u'8', u'58', u'52', u'52', u'52', u'8', u'8', u'8', u'8', u'8', u'13', u'4', u'44', u'13', u'8', u'44', u'44', u'51', u'44', u'8', u'8', u'3,10', u'4', u'28', u'28', u'28', u'9', u'9', u'9', u'4', u'4', u'11', u'6,14', u'3,10', u'3,10', u'3,10', u'3,10', u'1,3,19', u'8', u'8', u'48', u'3,10', u'1,3,19', u'54', u'17', u'3,10', u'4', u'16', u'6,14', u'9,46', u'9,46', u'52', u'52', u'9,46', u'8', u'4', u'6,14', u'7', u'7', u'7', u'7', u'40', u'6,14', u'3,10', u'8', u'8', u'8', u'13', u'7', u'16', u'8', u'11', u'4', u'13', u'30', u'30', u'16', u'1,3,19', u'9', u'1,3,19', u'35', u'8', u'8', u'13', u'51', u'16', u'16', u'1,3,19', u'11', u'39', u'39', u'38', u'38', u'4', u'16', u'54', u'50', u'7', u'16', u'3,10', u'4', u'40', u'56', u'16', u'13', u'4', u'9,46', u'44', u'9', u'39', u'28', u'9', u'42', u'48', u'40', u'47', u'17', u'43', u'43', u'17', u'28', u'6,14', u'7', u'9,46', u'4', u'13', u'44', u'47', u'21', u'28', u'7', u'3,10', u'45', u'8', u'1,3,19', u'16', u'35', u'13', u'3,10', u'43', u'8', u'54', u'4', u'4', u'7', u'7', u'1,3,19', u'1,3,19', u'1,3,19', u'28', u'7', u'40', u'21', u'40', u'9,46', u'16', u'40', u'16', u'4', u'7', u'11', u'50', u'57', u'4', u'1,3,19', u'13', u'13', u'9', u'47', u'28', u'28', u'6,14', u'40', u'11', u'13', u'4', u'9,46', u'2', u'3,10', u'18', u'7', u'38', u'8', u'44', u'45', u'13', u'7', u'9', u'13', u'43', u'30', u'7', u'16', u'1,3,19', u'9', u'4', u'9', u'3,10', u'16', u'9,46', u'13', u'30', u'35', u'6,14', u'30', u'28', u'40', u'8', u'13', u'3,10', u'9', u'45', u'17', u'7', u'45', u'13', u'41', u'35', u'28', u'28', u'60', u'8', u'8', u'45', u'4', u'4', u'35', u'13', u'48', u'6,14', u'2', u'9', u'9', u'9', u'9', u'7', u'7', u'9,46', u'11', u'6,14', u'13', u'30', u'45', u'35', u'9', u'8', u'8', u'16', u'28', u'51', u'17', u'1,3,19', u'28', u'44', u'4', u'18', u'54', u'3,10', u'13', u'44', u'44', u'43', u'30', u'38', u'41', u'43', u'13', u'13', u'52', u'40', u'17', u'42', u'17', u'65', u'4', u'3,10', u'9,46,27', u'40', u'57', u'3,10', u'13', u'52', u'35', u'35', u'35', u'40', u'7', u'50', u'51', u'48', u'7', u'21', u'21', u'63', u'62', u'53', u'43', u'11', u'7', u'35', u'30', u'43', u'44', u'44', u'13', u'53', u'47', u'9', u'18', u'18', u'45', u'40', u'50', u'45', u'7', u'41', u'42', u'48', u'42', u'40', u'38', u'38', u'4', u'40', u'4', u'42', u'50', u'9', u'43', u'9,46', u'4', u'9', u'9', u'60', u'28', u'1,3,19', u'28', u'1,3,19', u'1,3,19', u'60', u'28', u'53', u'28', u'1,3,19', u'59', u'28', u'65', u'3,10', u'1,3,19', u'1,3,19', u'17', u'17', u'50', u'21', u'21', u'21', u'65', u'16', u'61', u'16', u'16', u'61', u'61', u'3,10', u'16', u'59', u'9,46', u'9,46', u'16', u'51', u'16', u'58', u'61', u'30', u'54', u'28', u'28', u'60', u'3,10', u'3,10', u'58', u'3,10', u'59', u'30', u'30', u'16', u'57', u'57', u'30', u'3,10', u'8', u'8', u'47', u'47', u'42', u'42', u'42', u'8', u'8', u'38', u'8', u'47', u'8', u'3,10', u'1,3,19', u'3,10', u'40', u'13', u'13', u'4', u'44', u'8', u'4', u'48', u'48', u'39', u'39', u'39', u'41', u'8', u'41', u'48', u'8', u'48', u'47', u'4', u'4', u'4', u'4', u'4', u'4', u'9', u'47', u'13', u'48', u'11', u'11', u'7', u'35', u'8', u'50', u'13', u'7', u'35', u'7', u'11', u'35', u'35', u'35', u'35', u'35', u'11', u'50', u'13', u'6,14', u'6,14', u'38', u'38', u'38', u'7', u'43', u'7', u'43', u'50', u'6,14', u'6,14', u'7', u'7', u'8', u'8', u'8', u'8', u'8', u'53', u'21', u'7', u'21', u'21', u'6,14', u'9', u'54', u'6,14', u'6,14', u'9', u'6,14', u'6,14', u'6,14', u'7', u'55', u'17', u'47', u'60', u'45', u'45', u'44', u'61', u'61', u'43', u'43', u'43', u'45', u'7', u'42', u'17', u'17', u'17', u'17', u'17', u'17', u'1,3,19', u'1,3,19', u'13', u'13', u'7', u'47', u'7', u'7', u'7', u'58', u'47', u'47', u'41', u'41', u'41', u'47', u'60', u'47', u'57', u'47', u'53', u'47', u'3,10', u'59', u'59', u'18', u'42', u'42', u'42', u'47', u'11', u'48', u'11', u'16', u'50', u'50', u'3,10', u'11', u'53', u'11', u'11', u'11', u'16', u'35', u'28', u'28', u'28', u'28', u'28', u'50', u'28', u'35', u'30', u'11', u'38', u'50', u'50', u'51', u'51', u'13', u'11', u'9,46', u'9,46', u'9,46', u'16', u'38', u'35', u'38', u'38', u'38', u'50', u'50', u'38', u'38', u'16', u'16', u'16', u'9,46', u'3,10', u'52', u'52', u'52', u'52', u'40', u'48', u'40', u'40', u'40', u'40', u'3,10', u'30', u'3,10', u'3,10', u'30', u'30', u'30', u'30', u'28', u'4', u'39', u'39', u'40', u'40', u'4', u'48', u'4', u'48', u'48', u'48', u'48', u'48', u'4', u'4', u'30', u'4', u'42', u'1,3,19', u'16', u'4', u'7', u'7', u'7', u'16', u'1,3,19', u'13', u'13', u'13', u'7', u'7', u'7', u'1,3,19', u'1,3,19', u'7', u'13', u'3,10', u'16', u'3,10', u'6,14', u'6,14', u'6,14', u'6,14', u'6,14', u'6,14', u'7', u'3,10', u'3,10', u'3,10', u'3,10', u'3,10', u'3,10', u'6,14', u'11', u'38', u'16', u'16', u'16', u'16', u'16', u'6,14', u'16', u'7', u'11', u'11', u'11', u'11', u'7', u'11', u'16', u'38', u'4', u'4', u'4', u'4', u'8', u'8', u'50', u'38', u'42', u'38', u'38', u'47', u'47', u'47', u'47', u'38', u'30', u'50', u'50', u'50', u'50', u'9,46', u'9,46', u'35', u'50', u'35', u'30', u'48', u'48', u'48', u'4', u'4', u'47', u'9,46', u'9', u'47', u'38', u'9', u'9', u'9', u'9', u'40', u'9', u'40', u'9', u'43', u'42', u'42', u'42', u'42', u'42', u'9', u'8', u'4', u'47', u'39', u'39', u'39', u'8', u'45', u'8', u'47', u'8', u'8', u'8', u'4', u'40', u'40', u'40', u'8', u'28', u'61', u'61', u'61', u'60', u'59', u'59', u'52', u'28', u'21', u'58', u'58', u'56', u'53', u'53', u'53', u'28', u'65', u'2', u'17', u'17', u'17', u'17', u'17', u'65', u'65', u'51', u'18', u'18', u'18', u'18', u'65', u'35', u'21', u'17', u'51', u'51', u'51', u'13', u'4', u'9', u'9', u'18', u'4', u'8', u'21', u'7', u'9,46', u'11', u'16', u'16', u'16', u'16', u'8', u'3,10', u'43', u'52', u'7', u'7', u'7', u'7', u'4', u'42', u'16', u'42', u'40', u'4', u'50', u'1,3,19', u'16', u'4', u'28', u'48', u'3,10', u'3,10', u'11', u'13', u'9', u'9', u'7', u'16', u'1,3,19', u'1,3,19', u'43', u'7', u'9', u'4', u'8', u'7', u'43', u'7', u'58', u'30', u'1,3,19', u'11', u'30', u'7', u'28', u'28', u'47', u'16', u'41', u'16', u'16', u'58', u'9,46', u'4', u'4', u'8', u'3,10', u'3,10', u'4', u'1,3,19', u'11', u'9,46,27', u'40', u'53', u'51', u'53', u'53', u'50', u'51', u'56', u'3,10', u'7', u'1,3,19', u'11', u'3,10', u'13', u'1,3,19', u'4', u'4', u'8', u'44', u'51', u'3,10', u'13', u'13', u'13', u'3,10', u'39', u'9', u'9', u'9', u'9', u'6,14', u'40', u'40', u'40', u'40', u'9', u'7', u'39', u'3,10', u'7', u'35', u'30', u'16', u'28', u'28', u'28', u'21', u'17', u'40', u'7', u'40', u'6,14', u'13', u'13', u'13', u'8', u'44', u'13', u'40', u'13', u'40', u'40', u'54', u'9,46', u'9', u'41', u'9,46', u'44', u'45', u'50', u'8', u'8', u'9', u'9', u'4', u'11', u'13', u'45', u'3,10', u'7', u'4', u'51', u'8', u'7', u'7', u'7', u'11', u'1,3,19', u'17', u'17', u'42', u'35', u'35', u'18', u'18', u'47', u'21', u'21', u'6,14', u'38', u'16', u'30', u'28', u'6,14', u'3,10', u'3,10', u'28', u'16', u'16', u'42', u'39', u'28', u'16', u'28', u'9', u'11', u'11', u'35', u'11', u'42', u'30', u'48', u'48', u'30', u'11', u'42', u'30', u'42', u'61', u'58', u'59', u'60', u'60', u'60', u'60', u'21', u'21', u'28', u'61', u'41', u'61', u'41', u'1,3,19', u'18', u'18', u'67', u'17', u'17', u'65', u'61', u'16', u'9,46', u'9,46', u'50', u'50', u'50', u'50', u'50', u'28', u'35', u'58', u'47', u'58', u'16', u'16', u'28', u'42', u'53', u'53', u'53', u'54', u'9,46', u'28', u'9', u'9', u'6,14', u'4', u'4', u'4', u'4', u'8', u'8', u'44', u'35', u'44', u'47', u'40', u'4', u'44', u'9', u'43', u'13', u'13', u'13', u'7', u'7', u'43', u'43', u'3,10', u'3,10', u'3,10', u'3,10', u'4', u'38', u'7', u'9', u'9', u'7', u'42', u'42', u'7', u'38', u'38', u'38', u'38', u'47', u'47', u'47', u'35', u'35', u'38', u'8', u'8', u'8', u'7', u'45', u'8', u'28', u'47', u'8', u'8', u'4', u'8', u'6,14', u'8', u'28', u'16', u'1,3,19', u'11', u'3,10', u'3,10', u'4', u'28', u'51', u'16', u'6,14', u'16', u'8', u'3,10', u'8', u'9,46', u'9,46', u'9,46', u'3,10', u'3,10', u'3,10', u'9', u'9', u'9,46', u'7', u'7', u'3,10', u'8', u'8', u'8', u'8', u'8', u'8', u'8', u'8', u'7', u'8', u'7', u'8', u'8', u'8', u'9,46,27', u'7', u'7', u'3,10', u'3,10', u'8', u'50', u'38', u'30', u'30', u'4', u'4', u'21', u'21', u'30', u'4', u'30', u'16', u'16', u'42', u'28', u'16', u'38', u'38', u'4', u'28', u'28', u'28', u'4', u'54', u'43', u'43', u'4', u'30', u'6,14', u'42', u'28', u'28', u'6,14', u'6,14', u'6,14', u'28', u'17', u'4', u'47', u'11', u'39', u'1,3,19', u'16', u'11', u'11', u'39', u'40', u'1,3,19', u'47', u'11', u'17', u'1,3,19', u'1,3,19', u'18', u'18', u'13', u'13', u'17', u'13', u'13', u'39', u'1,3,19', u'1,3,19', u'17', u'17', u'17', u'17', u'47', u'8', u'17', u'47', u'18', u'43', u'44', u'44', u'45', u'45', u'8', u'7', u'8', u'47', u'44', u'8', u'8', u'8', u'8', u'45', u'9', u'28', u'4', u'38', u'4', u'4', u'4', u'9', u'9', u'9', u'42', u'9', u'42', u'9', u'41', u'21', u'40', u'40', u'40', u'40', u'40', u'40', u'41', u'9', u'28', u'43', u'4', u'9,46', u'9,46', u'9,46', u'9,46', u'28', u'17', u'28', u'42', u'28', u'43', u'30', u'4', u'4', u'4', u'4', u'4', u'4', u'4', u'42', u'42', u'28', u'7', u'7', u'7', u'13', u'13', u'56', u'13', u'6,14', u'7', u'13', u'53', u'53', u'53', u'52', u'6,14', u'6,14', u'6,14', u'59', u'3,10', u'13', u'17', u'13', u'47', u'13', u'3,10', u'3,10', u'7', u'3,10', u'13', u'3,10', u'3,10', u'3,10', u'13', u'13', u'13', u'6,14', u'3,10', u'1,3,19', u'52', u'16', u'6,14', u'16', u'7', u'7', u'16', u'1,3,19', u'16', u'1,3,19', u'1,3,19', u'48', u'48', u'48', u'1,3,19', u'60', u'1,3,19', u'11', u'11', u'51', u'51', u'51', u'11', u'7', u'11', u'7', u'50', u'50', u'16', u'7', u'16', u'16', u'16', u'11', u'7', u'7', u'7', u'41', u'41', u'7', u'65', u'65', u'4', u'4', u'4', u'4', u'7', u'8', u'7', u'61', u'7', u'4', u'7', u'4', u'4', u'41', u'41', u'41', u'41', u'7', u'4', u'45', u'56', u'54', u'54', u'53', u'53', u'51', u'50', u'50', u'50', u'43', u'8', u'44', u'8', u'48', u'48', u'48', u'48', u'48', u'40', u'48', u'47', u'47', u'47', u'47', u'44', u'8', u'60', u'60', u'59', u'59', u'42', u'42', u'42', u'42', u'42', u'42', u'42', u'57', u'8', u'8', u'8', u'8', u'8', u'58', u'58', u'58', u'58', u'8', u'8', u'8', u'60', u'42', u'28', u'28', u'28', u'17', u'17', u'17', u'16', u'16', u'16', u'16', u'6,14', u'16', u'28', u'18', u'6,14', u'6,14', u'30', u'30', u'30', u'30', u'6,14', u'6,14', u'16', u'21', u'18', u'18', u'18', u'40', u'39', u'21', u'21', u'9,46,27', u'9,46,27', u'28', u'21', u'28', u'17', u'9,46', u'9,46', u'9,46', u'9,46', u'9,46', u'9,46', u'28', u'28', u'6,14', u'9,46,27', u'6,14', u'3,10', u'9', u'11', u'13', u'38', u'38', u'38', u'3,10', u'13', u'3,10', u'9', u'9', u'13', u'13', u'39', u'1,3,19', u'1,3,19', u'11', u'11', u'3,10', u'3,10', u'3,10', u'3,10', u'35', u'35', u'35', u'35', u'40', u'6,14', u'62', u'3,10', u'44', u'44', u'17', u'45', u'59', u'44', u'60', u'45', u'45', u'45', u'45', u'17', u'17', u'13', u'51', u'3,10', u'50', u'50', u'43', u'3,10', u'48', u'53', u'48', u'48', u'57', u'13', u'13', u'54', u'13', u'16', u'16', u'16', u'47', u'47', u'47', u'13', u'56', u'13', u'35', u'8', u'8', u'8', u'8', u'8', u'7', u'7', u'42', u'28', u'43', u'28', u'9,46', u'30', u'42', u'35', u'35', u'41', u'41', u'41', u'9', u'9', u'1,3,19', u'4', u'4', u'40', u'40', u'28', u'21', u'43', u'43', u'43', u'9,46', u'28', u'28', u'28', u'3,10', u'4', u'30', u'4', u'66', u'1,3,19', u'3,10', u'17', u'7', u'30', u'48', u'3,10', u'4', u'13', u'13', u'13', u'13', u'38', u'41', u'9', u'48', u'47', u'3,10', u'61', u'40', u'16', u'16', u'16', u'45', u'9,46', u'47', u'21', u'40', u'3,10', u'42', u'43', u'4', u'8', u'42', u'8', u'40', u'7', u'9,46', u'8', u'42', u'4', u'40', u'59', u'62', u'7', u'43', u'17', u'59', u'6,14', u'45', u'45', u'16', u'16', u'47', u'42', u'42', u'21', u'3,10', u'48', u'35', u'6,14', u'50', u'7', u'7', u'41', u'41', u'63', u'18', u'17', u'21', u'48', u'44', u'53', u'45', u'18', u'43', u'35', u'3,10', u'3,10', u'3,10', u'11', u'3,10', u'41', u'9,46', u'1,3,19', u'9', u'38', u'4', u'30', u'28', u'44', u'8', u'16', u'18', u'7', u'7', u'43', u'47', u'6,14', u'13', u'13', u'42', u'4', u'44', u'9,46', u'3,10', u'13', u'13', u'13', u'16', u'30', u'9', u'40', u'40', u'44', u'48', u'48', u'52', u'57', u'58', u'66', u'40', u'40', u'7', u'7', u'40', u'7', u'41', u'41', u'43', u'41', u'38', u'4', u'4', u'42', u'42', u'42', u'18', u'8', u'28', u'18', u'18', u'18', u'21', u'21', u'21', u'40', u'28', u'39', u'30', u'35', u'35', u'38', u'38', u'43', u'28', u'57', u'43', u'51', u'51', u'7', u'53', u'53', u'50', u'56', u'7', u'7', u'7', u'59', u'62', u'63', u'7', u'54', u'47', u'43', u'44', u'44', u'44', u'44', u'44', u'50', u'45', u'41', u'47', u'47', u'47', u'47', u'48', u'48', u'45', u'16', u'6,14', u'1,3,19', u'11', u'11', u'3,10', u'8', u'11', u'6,14', u'16', u'16', u'16', u'11', u'3,10', u'9,46', u'13', u'8', u'13', u'6,14', u'17', u'8', u'9', u'13', u'8', u'8', u'13', u'53', u'41', u'48', u'56', u'17', u'50', u'44', u'17', u'44', u'1,3,19', u'43', u'41', u'42', u'41', u'11', u'42', u'42', u'43', u'48', u'8', u'8', u'53', u'53', u'9', u'51', u'50', u'50', u'9,46', u'9,46,27', u'7', u'44', u'48', u'48', u'47', u'3,10', u'3,10', u'45', u'45', u'7', u'7', u'9,46', u'16', u'6,14', u'6,14', u'40', u'38', u'40', u'35', u'40', u'35', u'4', u'44', u'30', u'28', u'16', u'18', u'13', u'13', u'21', u'21', u'18', u'16', u'17', u'45', u'63', u'62', u'35', u'18', u'21', u'48', u'16', u'44', u'51', u'48', u'50', u'50', u'8', u'40', u'44', u'43', u'11', u'41', u'40', u'60', u'4', u'40', u'9,46', u'7', u'4', u'8', u'11', u'7', u'9', u'42', u'48', u'66', u'7', u'3,10', u'50', u'57', u'6,14', u'16', u'43', u'9', u'40', u'7', u'16', u'47', u'7', u'52', u'58', u'53', u'53', u'65', u'65', u'65', u'59', u'58', u'61', u'41', u'16', u'61', u'61', u'60', u'61', u'60', u'60', u'60', u'65', u'47', u'48', u'35', u'50', u'47', u'47', u'48', u'47', u'43', u'35', u'35', u'6,14', u'6,14', u'38', u'38', u'47', u'42', u'50', u'35', u'50', u'38', u'47', u'42', u'58', u'30', u'9', u'47', u'16', u'42', u'40', u'7', u'8', u'38', u'48', u'21', u'66', u'3,10', u'18', u'48', u'40', u'66', u'40', u'4',u'7'] + +sero=[u'II 39:-:1,7', u'Abortusequi', u'Leda', u'II 51:-:1,7', u'Cotia', u'II 41:-:1,6', u'II 65:-:1,6', u'Gallinarum', u'II 13,23:-:1,6', u'II 6,7:-:1,6', u'II 11:-:1,5', u'II 6,7:(g),m,[s],t:1,5', u'IIIb 38:(k):z55', u'IIIb 59:(k):e,n,x,z15', u'IIIb 53:(k):z35', u'IIIb 59:(k):z', u'IIIb 60:(k):z53', u'IIIb 18:(k):z53', u'IIIb 18:(k):z54', u'IIIb 38:(k):-', u'IIIb 38:(k):z35', u'IIIb 38:(k):1,5,7', u'IIIb 63:(k):z', u'IIIb 6,7:(k):z', u'IIIb 61:(k):z53', u'IIIb 35:(k):z35', u'IIIb 41:(k):z35', u'IIIb 16:(k):z35', u'IIIb 16:(k):e,n,x,z15', u'IIIb 8:(k):z35', u'IIIb 65:(k):z35', u'IIIb 59:(k):z35', u'IIIb 65:(k):z53', u'IIIb 65:(k):z', u'IIIb 42:(k):z35', u'Berta', u'II 47:[g,t]:e,n,x', u'II 39:[g],m,t:[e,n,x]', u'II [1],40:[z42]:1,(5),7', u'II [1],13,23:[z42]:1,[5],7', u'II 28:a:e,n,x', u'Overvecht', u'Honelis', u'Antonio', u'Dibra', u'Ord', u'II 57:a:z42', u'Uithof', u'Seattle', u'II 3,10:a:z39', u'II [1],9,12:a:z42', u'II 1,9,12,46,27:a:z6', u'II 3,10:a:l,v', u'II 47:a:1,5', u'II 47:a:e,n,x,z15', u'Assen', u'II 45:a:z10', u'Goelzau', u'Epinay', u'Oxford', u'Masembe', u'Umhlatazana', u'II 3,10:a:e,n,x', u'Galil', u'Solna', u'Toowong', u'Bakau', u'Aminatu', u'Meekatharra', u'VI 45:a:e,n,x', u'II 11:a:z6', u'Massilia', u'VI 11:a:1,5', u'Dakar', u'Luciana', u'Brazil', u'II [1],13,23:a:z42', u'Denver', u'Oslo', u'II 39:a:z39', u'Sanjuan', u'II 6,7,[14]:a:1,5', u'Heron', u'Fischerhuette', u'Togba', u'Damman', u'Amunigun', u'II 6,7:a:z6', u'Austin', u'Hannover', u'Umhlali', u'II 48:a:z39', u'II 48:a:z6', u'Hisingen', u'Shikmonah', u'Salinas', u'Greiz', u'II 40:a:z39', u'Nyeko', u'IV 44:a:-', u'Guarapiranga', u'Doulassame', u'II 30:a:z39', u'Tione', u'Windsheim', u'IV 51:a:-', u'Faji', u'II 58:a:z6', u'Marshall', u'Coleypark', u'II 13,22:a:e,n,x', u'Zehlendorf', u'Mim', u'II [1],13,23:a:1,5', u'Chagoua', u'Oran', u'IV 50:a:-', u'Burundi', u'Doba', u'Baildon', u'Detmold', u'II 6,7:a:z42', u'Wyldegreen', u'Miami', u'Lomalinda', u'Kinondoni', u'Saarbruecken', u'Jangwani', u'Graz', u'Berkeley', u'II 43:a:1,5', u'II 43:a:z6', u'Be', u'Os', u'II [1],4,[5],12,[27]:a:e,n,x', u'Bonames', u'Valdosta', u'II [1],9,12:a:e,n,x', u'Curacao', u'Niumi', u'Juba', u'Gwoza', u'Alkmaar', u'Sendai', u'Doncaster', u'Paratyphi A', u'Huettwilen', u'II 6,8:a:z39', u'II 6,8:a:z52', u'II [1],4,12,[27]:a:z39', u'Banjul', u'Nakuru', u'Tinda', u'Nordufer', u'Fulica', u'II 9,12:a:z39', u'Garba', u'VI [1],6,14:a:1,5', u'Niakhar', u'Tiergarten', u'Niarembe', u'Kisangani', u'II 9,12:a:1,5', u'Hessarek', u'Durban', u'Marseille', u'Gallen', u'Leith', u'II 6,8:a:e,n,x', u'Narashino', u'Arechavaleta', u'Brazos', u'Bispebjerg', u'VI [1],6,14,[25]:a:e,n,x', u'II 11:a:e,n,z15', u'Tchad', u'Abony', u'Uppsala', u'II 42:b:e,n,x,z15', u'Bamboye', u'Tomegbe', u'II 9,46:b:e,n,x', u'Linguere', u'Frederiksberg', u'Accra', u'Worb', u'Zadar', u'Cheltenham', u'Montaigu', u'Georgia', u'Lockleaze', u'Ibadan', u'Wagenia', u'Niederoderwitz', u'Ede', u'II 43:b:z42', u'Tambacounda', u'Kande', u'II 4,12:b:1,5', u'Broughton', u'Kolar', u'II 42:b:1,5', u'Canada', u'Kotte', u'Leopoldville', u'Ohio', u'II 6,7:b:[e,n,x]', u'Koumra', u'II [1],4,[5],12,[27]:b:[e,n,x]', u'Orbe', u'II 6,7:b:z39', u'Elbeuf', u'Vaugirard', u'Sedgwick', u'Wa', u'Melaka', u'Hull', u'Kirkee', u'Dahra', u'Mattenhof', u'II 17:b:e,n,x,z15', u'Wandsworth', u'II 17:b:z6', u'Glasgow', u'48:b:-', u'II 48:b:e,n,x,z15', u'II 48:b:z6', u'Shahalam', u'Riogrande', u'Saugus', u'Johannesburg', u'Duval', u'Benguella', u'II 40:b:-', u'Bignona', u'Paratyphi B', u'II 38:b:1,2', u'IV 50:b:-', u'II 50:b:z6', u'Rochdale', u'Rittersbach', u'Sica', u'Vietnam', u'Gnesta', u'VI 41:b:1,7', u'Abidjan', u'Limete', u'Adime', u'II 16:b:z42', u'II 16:b:z39', u'Malstatt', u'Visby', u'Edinburg', u'Brazzaville', u'Vegesack', u'Sangera', u'II 16:b:e,n,x', u'Hvittingfoss', u'II 41:b:1,5', u'Pharr', u'Eboko', u'Tonev', u'Sanga', u'Kuntair', u'Tucson', u'IIIb (6),14:b:e,n,x', u'Schleissheim (Schleissheim is extremely rare)', u'II 3,10:b:e,n,x', u'Atento', u'Leeuwarden', u'Wohlen', u'Korbol', u'VI 11:b:e,n,x', u'Fomeco', u'Erfurt', u'Yaba', u'Neudorf', u'Epicrates', u'Egusitoo', u'Sanktjohann', u'Stourbridge', u'Tripoli', u'Durham', u'II 6,8:b:1,5', u'Nagoya', u'VI 11:b:1,7', u'Maryland', u'Onarimon', u'Shipley', u'Presov', u'Frintrop', u'Kalina', u'Butantan', u'Bata', u'Allerton', u'Huvudsta', u'II 21:b:1,5', u'II [1],9,12:b:e,n,x', u'Konstanz', u'Batonrouge', u'Gatuni', u'Bukuru', u'Heistopdenberg', u'II [1],9,12:b:z6', u'Ghana', u'Tounouma', u'Benfica', u'Minnesota', u'II [1],9,12:b:z39', u'II 56:b:[1,5]', u'Banalia', u'Riverside', u'Chittagong', u'Mana', u'Westminster', u'Wien', u'II 60:b:-', u'Mississippi', u'Ndjamena', u'Wenatchee', u'II 47:b:1,5', u'II 47:b:e,n,x,z15', u'Sya', u'II 47:b:z6', u'Cochise', u'Djelfa', u'Wilmington', u'Oudwijk', u'II 3,10:b:z39', u'Louga', u'Aschersleben', u'Tempe', u'IV 51:b:-', u'Karaya', u'II 58:b:1,5', u'Urbana', u'II [1],13,22:b:z42', u'II 30:b:z6', u'II 42:b:z6', u'Fluntern', u'II [1],13,23:b:[1,5]', u'II 28:b:z6', u'Vaertan', u'Rottnest', u'II 28:b:e,n,x', u'Soumbedioune', u'Langford', u'Bracknell', u'Freefalls', u'Bokanjac', u'Bahati', u'Skansen', u'Flottbek', u'Molesey', u'Ullevi', u'Moero', u'Ashanti', u'II [1],40:c:z39', u'Antwerpen', u'Montreal', u'IIIb 41:c:e,n,x,z15', u'Bida', u'Kampala', u'IIIb 47:c:z35', u'IIIb 47:c:z', u'IIIb 47:c:e,n,x,z15', u'Eastglam', u'Madigan', u'Kassberg', u'Blijdorp', u'Minna', u'Haouaria', u'Luedinghausen', u'Ridge', u'Alabama', u'IIIb 47:c:1,5,7', u'Keurmassar', u'Madiago', u'Elokate', u'Ipeko', u'Deversoir', u'II 41:c:z6', u'Runby', u'Goeteborg', u'Quebec', u'Kodjovi', u'Lonestar', u'Chiredzi', u'Schwabach', u'II 21:c:e,n,x', u'Utah', u'IIIb 21:c:e,n,x,z15', u'Bronx', u'Belfast', u'Alexanderpolder', u'Santiago', u'Belem', u'Yolo', u'Tado', u'II 40:c:z6', u'Wingrove', u'II 53:c:1,5', u'Rhone', u'Brindisi', u'Hermannswerder', u'Eberswalde', u'Halle', u'II 52:c:k', u'Dresden', u'Wedding', u'Techimani', u'II 11:c:e,n,z15', u'Woodinville', u'Namibia', u'Cotonou', u'Kaduna', u'Rawash', u'Victoriaborg', u'II 17:c:z39', u'IIIb 65:c:z53', u'IIIb 65:c:z', u'IIIb 65:c:1,5,7', u'Okefoko', u'Anderlecht', u'Agege', u'Pramiso', u'IIIb 61:c:z35', u'IIIb 61:c:1,5,(7)', u'Ikayi', u'Gaillac', u'Asylanta', u'II 1,9,12,46,27:c:z39', u'IIIb 59:c:e,n,x,z15', u'Legon', u'Abortusovis', u'Altendorf', u'II 58:c:z6', u'Bissau', u'Jericho', u'Hallfold', u'IIIb 57:c:z', u'IIIb 57:c:e,n,x,z15', u'Bury', u'Hydra', u'Gbadago', u'Morningside', u'Gouloumbo', u'Itutaba', u'II 39:c:e,n,x', u'Vancouver', u'Gafsa', u'Paratyphi C', u'Choleraesuis', u'Typhisuis', u'II 30:c:z39', u'Hissar', u'Kidderminster', u'IIIb 48:c:z', u'Sheffield', u'Quiniela', u'Argenteuil', u'Hithergreen', u'Zaire', u'II 51:c:-', u'Birkenhead', u'Yoruba', u'II [1],40:c:e,n,x,z15', u'Shamba', u'Groenekan', u'Sculcoates', u'II 16:d:1,5', u'Usumbura', u'Sherbrooke', u'II 38:d:z39', u'II 38:d:[1,5]', u'Willamette', u'Oldenburg', u'Nieukerk', u'Orleans', u'Wil', u'Gaminara', u'Livingstone', u'II 6,7:d:z42', u'II 3,10:d:e,n,x', u'Driffield', u'Berlin', u'Karlshamn', u'Niamey', u'II 40:d:-', u'Logone', u'Maron', u'Weybridge', u'Stormont', u'Madjorio', u'Gombe', u'Souza', u'Onireke', u'Lekke', u'II 43:d:z42', u'II 43:d:z39', u'II 43:d:e,n,x,z15', u'Shangani', u'Barranquilla', u'Birmingham', u'Plymouth', u'Dembe', u'Midway', u'Florida', u'Lindern', u'Charity', u'Quentin', u'Typhi', u'II 9,12:d:z39', u'Jaffna', u'Finkenwerder', u'Olten', u'Martonos', u'Sontheim', u'Messina', u'Amoutive', u'Hatfield', u'Mundonobo', u'Mocamedes', u'Patience', u'Cullingworth', u'II 42:d:z6', u'Encino', u'Strasbourg', u'Eschberg', u'Nottingham', u'Caen', u'Barmbek', u'II 35:d:1,5', u'Teko', u'Tarshyne', u'Spartel', u'Magwa', u'Madison', u'Woodhull', u'Ndolo', u'II 16:d:e,n,x', u'II 41:d:z6', u'Bangui', u'Zega', u'Ontario', u'Amersfoort', u'Kambole', u'Kivu', u'Isangi', u'Kisii', u'Albuquerque', u'Egusi', u'Niloese', u'II 47:d:z39', u'II 47:d:e,n,x,z15', u'Stellingen', u'II 47:d:1,5', u'Liverpool', u'Tilburg', u'Wanatah', u'II 13,22:d:1,5', u'Ayinde', u'Friedenau', u'Wichita', u'Grumpensis', u'II [1],9,12:d:e,n,x', u'Diguel', u'II 48:d:1,2', u'Telelkebir', u'Putten', u'Ati', u'Gustavia', u'Warmsen', u'Karachi', u'Dugbe', u'Isuge', u'Chandans', u'Findorff', u'Hemingford', u'IV 50:d:-', u'II 13,23:d:e,n,x', u'Stanley', u'Brezany', u'Schwarzengrund', u'Ahmadi', u'II 4,12:d:e,n,x', u'Sarajane', u'Duisburg', u'Mons', u'II 53:d:z42', u'II [1],53:d:z39', u'II 53:d:1,5', u'Eppendorf', u'II 56:d:-', u'Buckeye', u'Umbadah', u'II 48:d:z6', u'II 57:d:1,5', u'Virginia', u'Muenchen', u'II 58:d:z6', u'II 52:d:z39', u'II 52:d:e,n,x,z15', u'Utrecht', u'Yovokome', u'Manhattan', u'Portanigra', u'Dunkwa', u'Sterrenbos', u'Mishmarhaemek', u'Chennai', u'Palamaner', u'Handen', u'II 6,8:d:z6', u'Fischerstrasse', u'Kermel', u'Gokul', u'Bobo', u'Labadi', u'Herston', u'Newlands', u'Kaapstad', u'Korkeasaari', u'Kpeme', u'Gozo', u'Israel', u'Westafrica', u'Eastbourne', u'Chester', u'Eko', u'Redhill', u'Bahrenfeld', u'Nyborg', u'Anatum', u'Muenster', u'Vejle', u'Hayindogo', u'Kottbus', u'Cremieu', u'Fitzroy', u'Meleagridis', u'Vilvoorde', u'Winnipeg', u'Jubilee', u'Sekondi', u'Saintpaul', u'Weston', u'Beaudesert', u'Guerin', u'Waedenswil', u'Derkle', u'Butare', u'Bergedorf', u'Newport', u'Reading', u'Magumeri', u'Larochelle', u'Lomita', u'Norwich', u'Nola', u'Tilene', u'Onderstepoort', u'Lamberhurst', u'Ferruch', u'Atakpame', u'Bardo', u'Tschangu', u'Braenderup', u'Saboya', u'Rechovot', u'Chingola', u'Chartres', u'Vridi', u'Torhout', u'Livulu', u'Astridplein', u'Sao', u'Bournemouth', u'Calabar', u'Gassi', u'Fillmore', u'Tshiongwe', u'Willemstad', u'Meskin', u'Rhydyfelin', u'Moabit', u'Sanktmarx', u'Adamstua', u'Bruebach', u'Mara', u'Kasenyi', u'Thiaroye', u'Sandiego', u'Malakal', u'Rossleben', u'II 50:e,n,x:1,7', u'II 6,7:e,n,x:1,6', u'II 16:e,n,x:1,6', u'II 3,10:e,n,x:1,7', u'II [1],4,12,[27]:e,n,x:1,[5],7', u'II [1],40:e,n,x:1,[5],7', u'II 56:e,n,x:1,7', u'II 16:e,n,x:1,(5),7', u'II [1],13,23:e,n,x:1,[5],7', u'II 4,12:e,n,x:1,2,7', u'II 9,46:e,n,x:1,5,7', u'II [1],44:e,n,x:1,6', u'II 9,12:e,n,x:1,[5],7', u'II 39:e,n,x:1,7', u'II 28:e,n,x:1,7', u'II 9,12:e,n,x:1,6', u'II 42:e,n,x:1,6', u'II 48:e,n,x,z15:z6', u'II [1],40:e,n,x,z15:1,6', u'II 47:e,n,x,z15:1,6', u'II 17:e,n,x,z15:1,6', u'II 43:e,n,x,z15:1,(5),7', u'II 43:e,n,x,z15:1,6', u'II 17:e,n,x,z15:1,[5],7', u'II 28:e,n,z15:z87', u'6,14:e,n,z15:-', u'Kastrup', u'Wernigerode', u'Derby', u'Raus', u'Vleuten', u'Sljeme', u'Good', u'Friedrichsfelde', u'Rissen', u'Alfort', u'Suelldorf', u'Sandow', u'Rideau', u'Tees', u'Adelaide', u'Havana', u'Regent', u'Milwaukee', u'II 6,8:f,g,m,t:[e,n,x]', u'Borreze', u'Agona', u'II [1],4,[5],12:f,g,t:z6', u'Eingedi', u'Afula', u'Bilu', u'Petahtikve', u'Maiduguri', u'II 28:g,(m),[s],t:1,5', u'Riggil', u'II [1],40:g,[m],[s],[t]:e,n,x', u'II 21:g,[m],[s],t:-', u'II [1],40:g,[m],[s],t:[1,5]', u'II 9,46:g,[m],[s],t:[e,n,x]', u'II 16:g,[m],[s],t:[e,n,x]', u'II [1],40:g,[m],[s],t:z42', u'II 16:g,[m],[s],t:[1,5]', u'II [1],4,12,[27]:g,[m],[s],t:e,n,x', u'II 6,7:g,[m],s,t:[z42]', u'II 11:g,[m],s,t:z39', u'II 50:g,[m],s,t:[1,5]', u'II 57:g,[m],s,t:z42', u'II [1],4,12,[27]:g,[m],t:[1,5]', u'Senftenberg', u'II [1],13,23:g,[s],t:z42', u'Okatie', u'Enteritidis', u'Luke', u'Abadina', u'Yardley', u'Warragul', u'Bijlmer', u'Abuja', u'Bron', u'Essen', u'Hillingdon', u'Nitra', u'Suberu', u'Pontypridd', u'Montevideo', u'Korovi', u'Chincol', u'Gamaba', u'Tornow', u'Agbeni', u'II 6,7:g,m,[s],t:e,n,x', u'II [1],9,12:g,m,[s],t:[1,5,7]', u'II [1],13,23:g,m,[s],t:[e,n,x]', u'II 43:g,m,[s],t:[z42]', u'Godesberg', u'Othmarschen', u'Adeoyo', u'Kouka', u'Blegdam', u'Hato', u'Gueuletapee', u'Amsterdam', u'Nikolaifleet', u'Macclesfield', u'IIIb 13,22:g,m,s:z', u'Giessen', u'Ealing', u'Caracas', u'II 30:g,m,s:e,n,x', u'Croft', u'Athens', u'Emek', u'II [1],13,23:g,m,s,t:1,5', u'II 3,{10}{15}:g,m,s,t:[1,5]', u'II [1],9,12:g,m,s,t:e,n,x', u'II 45:g,m,s,t:1,5', u'II 17:g,m,s,t:-', u'II 6,7:g,m,s,t:z39', u'II 45:g,m,s,t:e,n,x', u'II [1],13,23:g,m,s,t:z42', u'II 41:g,m,s,t:z6', u'II 35:g,m,s,t:-', u'II 28:g,m,t:z39', u'II 28:g,m,t:e,n,x', u'II 60:g,m,t:z6', u'Reubeuss', u'II 6,8:g,m,t:1,7', u'II 45:g,m,t:e,n,x,z15', u'California', u'II 4,12:g,m,t:z39', u'Ebrie', u'II [1],13,22:g,m,t:[1,5]', u'II 48:g,m,t:-', u'Sylvania', u'Kiel', u'Dublin', u'Naestved', u'Rostock', u'Moscow', u'Menston', u'Plumaugat', u'Gateshead', u'Missouri', u'Catanzaro', u'Newyork', u'Sternschanze', u'Binningen', u'Anecho', u'II 9,12:g,s,t:e,n,x', u'Alminko', u'Nanergou', u'Cardoner', u'Ona', u'II 51:g,s,t:e,n,x', u'Lowestoft', u'Dessau', u'II 28:g,s,t:e,n,x', u'Splott', u'Kingston', u'Eaubonne', u'Uccle', u'Westhampton', u'II [1],13,22:g,t:[1,5]', u'IIIb [1],44:g,t:1,5', u'II 44:g,t:z42', u'IIIb 43:g,t:-', u'II 30:g,t:-', u'II 38:g,t:-', u'II 41:g,t:-', u'II 43:g,t:[1,5]', u'II 13,22:g,t:z6', u'II [1],13,23:g,t:1,5', u'Saintemarie', u'IV [1],40:g,t:-', u'II 17:g,t:[e,n,x,z15]', u'II 42:g,t:-', u'II 17:g,t:z39', u'II 65:g,t:-', u'Budapest', u'II 3,10:g,t:-', u'II 9,12,46,27:g,t:e,n,x', u'II [1],40:g,t:e,n,x,z15', u'II 57:g,t:-', u'Bloomsbury', u'II 13,23:g,t:e,n,x', u'II 52:g,t:-', u'II 35:g,t:1,5', u'II 35:g,t:z42', u'Agodi', u'II 40:g,t:z39', u'II 6,7:g,t:[e,n,x]', u'IIIa 50:g,z51:-', u'IIIa 51:g,z51:-', u'IV 48:g,z51:-', u'Larose', u'IV 21:g,z51:-', u'IIIa 21:g,z51:-', u'IIIa 63:g,z51:-', u'IIIa 62:g,z51:-', u'IV [1],53:g,z51:-', u'IV 43:g,z51:-', u'IV 11:g,z51:-', u'IV 6,7:g,z51:-', u'IIIa 35:g,z51:-', u'Wayne', u'IIIa 43:g,z51:-', u'Carswell', u'IV 44:g,z51:-', u'IIIa [1],13,23:g,z51:-', u'IIIa 53:g,z51:-', u'IIIa 47:g,z51:-', u'Newmexico', u'IIIa 18:g,z51:-', u'IV 18:g,z51:-', u'IV 45:g,z51:-', u'IV [1],40:g,z51:-', u'IV 50:g,z51:-', u'IIIa 45:g,z51:-', u'Alamo', u'IIIa 41:g,z51:-', u'IV [1],42:g,z51:-', u'IIIa 48:g,z51:-', u'IIIa 42:g,z51:-', u'IIIb 40:g,z51:e,n,x,z15', u'IV 38:g,z51:-', u'IIIa 38:g,z51:-', u'Tennyson', u'IIIa 40:g,z51:-', u'Travis', u'Maricopa', u'II 50:g,z62:e,n,x', u'II [1],9,12:g,z62:[e,n,x]', u'II 43:g,z62:e,n,x', u'II 9,46:g,z62:-', u'II 4,12:g,z62:-', u'Antarctica', u'Rosenberg', u'IIIb 60:i:[z]', u'Volkmarsdorf', u'Ouagadougou', u'Dieuppeul', u'Stratford', u'Chichester', u'IIIb 60:i:[e,n,x,z15]', u'Cotham', u'IIIb 53:i:z', u'Doorn', u'Machaga', u'IIIb 59:i:z35', u'Warnemuende', u'IIIb 65:i:z', u'Falkensee', u'Avonmouth', u'Zuilen', u'IIIb 17:i:z35', u'Ahanou', u'IIIb 50:i:e,n,x,z15', u'Diourbel', u'IIIb 21:i:1,5,7', u'IIIb 21:i:e,n,x,z15', u'IIIb 65:i:e,n,x,z15', u'Wisbech', u'IIIb 61:i:e,n,x,z15', u'Abobo', u'Pisa', u'IIIb 61:i:z53', u'IIIb 61:i:z35', u'Truro', u'Frankfurt', u'IIIb 59:i:z', u'Potto', u'Mathura', u'Agbara', u'Kabete', u'Amina', u'IIIb 58:i:z53', u'IIIb 61:i:z', u'Mjordan', u'Poeseldorf', u'Kuessel', u'Douala', u'IIIb 60:i:[z35]', u'Cuckmere', u'Amounderness', u'IIIb 58:i:e,n,x,z15', u'Bessi', u'IIIb 59:i:e,n,x,z15', u'Morehead', u'Landau', u'IIIb 16:i:z35', u'IIIb 57:i:e,n,x,z15', u'IIIb 57:i:z', u'Soerenga', u'Tibati', u'Magherafelt', u'Takoradi', u'Bergen', u'IIIb 47:i:e,n,x,z15', u'Kaneshie', u'Borromea', u'Middlesbrough', u'Warnow', u'Malmoe', u'IIIb 38:i:z53', u'Aba', u'IIIb 47:i:z35', u'Cyprus', u'Hoboken', u'Taksony', u'Yeerongpilly', u'IIIb 40:i:1,5,7', u'[1],13,22:i:-', u'Idikan', u'Typhimurium', u'Maritzburg', u'Bonariensis', u'Tumodi', u'48:i:-', u'IIIb 48:i:z61', u'Hofit', u'Cumberland', u'Alma', u'Samaru', u'Lindenburg', u'Verona', u'IIIb 48:i:z53', u'Bargny', u'IIIb 48:i:z', u'IIIb 47:i:z', u'II 4,12,27:i:z35', u'Gloucester', u'Tsevie', u'Farsta', u'Agama', u'Lagos', u'Seremban', u'IIIb 47:i:z53', u'Myrria', u'IIIb 48:i:z35', u'Heerlen', u'Veneziana', u'Norton', u'IIIb 35:i:z', u'Kentucky', u'IIIb 50:i:z53', u'Jukestown', u'Lika', u'IIIb 35:i:e,n,x,z15', u'Athinai', u'Brijbhumi', u'Gambia', u'IIIb 35:i:z53', u'Bandia', u'IIIb 35:i:z35', u'Evry', u'Aberdeen', u'IIIb 50:i:1,5,7', u'Kedougou', u'Mampeza', u'Buzu', u'IIIb 38:i:z', u'Lansing', u'Mgulani', u'Stuttgart', u'Mbao', u'Garoli', u'Voulte', u'IIIb 50:i:z', u'Schalkwijk', u'Moussoro', u'Augustenborg', u'Oritamerin', u'Haardt', u'Kallo', u'Schwerin', u'Blockley', u'Charlottenburg', u'IIIb 53:k:z53', u'Surrey', u'II 6,7:k:[z6]', u'IIIb 21:k:z', u'IIIb 21:k:e,n,x,z15', u'IIIb (6),14:k:z53', u'Claibornei', u'Ochsenwerder', u'II 1,6,14:k:z6', u'IIIb (6),14:k:z', u'Goverdhan', u'II 6,14:k:e,n,x', u'II 6,14,[24]:k:1,6', u'Harburg', u'Escanaba', u'II 55:k:z39', u'II 17:k:-', u'Bootle', u'IIIb 60:k:z35', u'Casablanca', u'Verviers', u'Lawra', u'IIIb 61:k:1,5,(7)', u'IIIb 61:k:z35', u'Thetford', u'Ahuza', u'IIIb 43:k:z', u'Cairns', u'Thompson', u'Gwale', u'IIIb 17:k:z', u'Zaria', u'Matadi', u'Warri', u'Bandim', u'Irenea', u'Bethune', u'Oesterbro', u'II 13,23:k:z41', u'Marburg', u'Galiema', u'Dahomey', u'Singapore', u'Baiboukoum', u'Daytona', u'IIIb 58:k:z', u'IIIb 47:k:z53', u'IIIb 47:k:z35', u'Ferlo', u'II 41:k:1,6', u'II 41:k:z6', u'IIIb 47:k:z', u'IIIb 60:k:z', u'IIIb 47:k:e,n,x,z15', u'IIIb 57:k:e,n,x,z15', u'IIIb 47:k:1,5,7', u'IIIb 53:k:z', u'Staoueli', u'Serrekunda', u'II 59:k:z65', u'IIIb 59:k:z53', u'Memphis', u'Haferbreite', u'IIIb 42:k:e,n,x,z15', u'IIIb 42:k:z', u'Lyon', u'Pretoria', u'IIIb 48:k:z53', u'IIIb 11:k:z53', u'IIIb 16:k:z53', u'IIIb 50:k:z35', u'IIIb 50:k:z53', u'Marienthal', u'Kisarawe', u'IIIb 53:k:e,n,x,z15', u'Colobane', u'Amba', u'Abaetetuba', u'Orientalis', u'IIIb 35:k:z53', u'Ank', u'Taunton', u'IIIb 28:k:1,7', u'Ikeja', u'Adamstown', u'IIIb 50:k:e,n,x,z15', u'Guildford', u'IIIb 35:k:e,n,x,z15', u'Hilversum', u'Sharon', u'Mango', u'II 50:k:e,n,x', u'IIIb 50:k:1,5,7', u'Dan', u'IIIb 51:k:z35', u'II 13,22:k:1,5', u'Mannheim', u'Marylebone', u'Cochin', u'Clontarf', u'IIIb 16:k:z', u'Echa', u'IIIb 35:k:z', u'Inverness', u'Njala', u'IIIb 38:k:e,n,x,z15', u'IIIb 50:k:z', u'II 50:k:z6', u'IIIb 38:k:z', u'IIIb 38:k:z53', u'Szentes', u'Maumee', u'Nuatja', u'Ceyco', u'Wimborne', u'Bordeaux', u'IIIb 52:k:e,n,x,z15', u'IIIb 52:k:z35', u'IIIb 52:k:z53', u'Hann', u'II 48:k:z39', u'IIIb 40:k:z', u'Allandale', u'IIIb 40:k:z53', u'II [1],40:k:e,n,x,z15', u'Zanzibar', u'Scarborough', u'Yundum', u'Newrochelle', u'Aqua', u'Angoda', u'Odozi', u'II 30:k:e,n,x,z15', u'Ilala', u'II [1],4,12,27:k:1,6', u'Champaign', u'Newjersey', u'Goulfey', u'II 40:k:z6', u'Massenya', u'IIIb 48:k:1,5,(7)', u'Neumuenster', u'II 48:k:e,n,x,z15', u'IIIb 48:k:e,n,x,z15', u'Dahlem', u'IIIb 48:k:z', u'IIIb 48:k:z35', u'Ljubljana', u'Texas', u'Ramatgan', u'Kunduchi', u'II [1],42:l,[z13],z28:[z6]', u'Stuivenberg', u'Enugu', u'Tyresoe', u'Mkamba', u'IIIb 6,7:l,v:z53', u'Coromandel', u'Burgas', u'Ngor', u'Lovelace', u'IIIb 13,22:l,v:1,5,7', u'Nanga', u'Potsdam', u'Kortrijk', u'Bonn', u'Parkroyal', u'Svedvi', u'Gdansk', u'Borbeck', u'Sinchew', u'Welikade', u'Nchanga', u'Horsham', u'Alpenquai', u'IIIb (6),14:l,v:z', u'IIIb (6),14:l,v:z35', u'Amberg', u'VI 6,14:l,v:z88', u'Concord', u'II 3,10:l,v:z6', u'Ruzizi', u'II 3,10:l,v:e,n,x', u'Give', u'London', u'Sinstorf', u'IIIb (6),14:l,v:z53', u'Stendal', u'IIIb 38:l,v:z', u'IIIb 16:l,v:1,5,7', u'Shanghai', u'Salford', u'IIIb 16:l,v:z', u'Losangeles', u'Boecker', u'IIIb 16:l,v:z53', u'IIIb 6,7:l,v:1,5,7', u'Maracaibo', u'Fann', u'Bullbay', u'IIIb 11:l,v:z', u'Irumu', u'IIIb 11:l,v:z53', u'IIIb 16:l,v:z35', u'Roan', u'Bredeney', u'Kimuenza', u'II [1],4,12,27:l,v:e,n,x', u'Brandenburg', u'Pakistan', u'Litchfield', u'VI 50:l,v:z67', u'Kimberley', u'IIIb 42:l,v:e,n,x,z15', u'IIIb 38:l,v:z35', u'IIIb 38:l,v:[z53]', u'IV 47:l,v:-', u'IIIb 47:l,v:z57', u'IIIb 47:l,v:z53', u'IIIb 47:l,v:z35', u'Alger', u'Ligeo', u'IIIb 50:l,v:z57', u'IIIb 50:l,v:z35', u'IIIb 50:l,v:z', u'IIIb 50:l,v:e,n,x,z15', u'Toronto', u'Geraldton', u'IIIb 35:l,v:z35', u'Fass', u'IIIb 35:l,v:e,n,x,z15', u'Donna', u'IIIb 48:l,v:z', u'IIIb 48:l,v:1,5,(7)', u'Australia', u'Fyris', u'Clackamas', u'Drac', u'India', u'Panama', u'IIIb 47:l,v:z', u'Taylor', u'II 9,12:l,v:z39', u'Goettingen', u'II 9,12:l,v:e,n,x', u'Zaiman', u'IIIb [1],40:l,v:z53', u'Houston', u'IIIb 40:l,v:z', u'Mendoza', u'IIIb 43:l,v:z53', u'IIIb 42:l,v:z53', u'IIIb 42:l,v:z', u'Coogee', u'IIIb 42:l,v:1,5,7', u'II 42:l,v:e,n,x,z15', u'Kapemba', u'Holcomb', u'Azteca', u'IIIb 47:l,v:1,[5],7', u'II 39:l,v:1,5', u'Kokomlemle', u'Oerlikon', u'Loanda', u'Imo', u'Manchester', u'IIIb 47:l,v:e,n,x,z15', u'II 6,8:l,v:e,n,x', u'Edmonton', u'Lund', u'II [1],4,12,27:l,v:z39', u'Millesi', u'Canary', u'II 40:l,v:e,n,x', u'Amherstiana', u'Nashua', u'IIIb 61:l,v:z35', u'IIIb 61:l,v:z', u'IIIb 61:l,v:1,5,7', u'IIIb 60:l,v:z', u'IIIb 59:l,v:z53', u'IIIb 59:l,v:z', u'IIIb 52:l,v:z53', u'Vitkin', u'IIIb 21:l,v:z', u'IIIb 58:l,v:z35', u'IIIb 58:l,v:e,n,x,z15', u'II 56:l,v:z39', u'IIIb 53:l,v:z35', u'IIIb 53:l,v:z', u'IIIb 53:l,v:e,n,x,z15', u'Leoben', u'IIIb 65:l,v:z35', u'Koessen', u'Morotai', u'Michigan', u'Lancaster', u'Carmel', u'IIIb 17:l,v:e,n,x,z15', u'IIIb 65:l,v:e,n,x,z15', u'IIIb 65:l,v:z53', u'Harcourt', u'IIIb 18:l,v:e,n,x,z15', u'Orlando', u'IIIb 18:l,v:z', u'IIIb 18:l,v:z53', u'IIIb 65:l,v:z', u'IIIb 35:l,v:1,5,7', u'IIIb 21:l,v:z57', u'IIIb 17:l,v:z35', u'Dadzie', u'Overschie', u'IIIb 51:l,v:z', u'II 13,23:l,w:e,n,x', u'Ayton', u'Victoria', u'II [1],9,12:l,w:e,n,x', u'Toulon', u'Blancmesnil', u'II 6,8:l,w:z6', u'Keve', u'Gabon', u'Ackwepe', u'Glidji', u'Essingen', u'Lomnava', u'Brooklyn', u'Westeinde', u'Fayed', u'Assinie', u'Epalinges', u'Marsabit', u'Colorado', u'II 6,7:l,w:1,5,7', u'Langeveld', u'II 6,7:l,w:z42', u'II 4,12:l,w:e,n,x', u'II [1],42:l,w:e,n,x', u'II 16:l,w:z6', u'Parakou', u'Overchurch', u'Togo', u'II 50:l,w:e,n,x,z15', u'Fulda', u'Zigong', u'Mono', u'Ramsey', u'IIIb 48:l,w:1,5,7', u'Freiburg', u'Uganda', u'Tours', u'Taiping', u'Miyazaki', u'Itami', u'Kenya', u'Mandera', u'Winterthur', u'Westerstede', u'Sudan', u'Nessziona', u'Napoli', u'Haduna', u'Breukelen', u'Neukoelln', u'II 43:l,z13,z28:1,5', u'Makiso', u'II 58:l,z13,z28:z6', u'Ockenheim', u'Lokstedt', u'Osnabrueck', u'Morocco', u'Strathcona', u'Catalunia', u'Penilla', u'Teshie', u'Battle', u'II 41:l,z13,z28:e,n,x,z15', u'Ablogame', u'Koblenz', u'II 58:l,z13,z28:1,5', u'Nordrhein', u'Kano', u'Kubacha', u'Hiduddify', u'Fallowfield', u'Hoghton', u'Vom', u'Bedford', u'Connecticut', u'II 1,9,12,46,27:l,z13,z28:z39', u'Tiko', u'II 53:l,z28:z39', u'II 51:l,z28:z6', u'II 53:l,z28:z6', u'II 53:l,z28:e,n,x', u'II 50:l,z28:z42', u'II 51:l,z28:z39', u'II 56:l,z28:-', u'Joal', u'II 6,7:l,z28:z6', u'Tomelilla', u'II 11:l,z28:e,n,x', u'Lamin', u'II 13,22:l,z28:1,5', u'Kindia', u'Reinickendorf', u'II [1],4,12:l,z28:[e,n,x]', u'II 6,8:l,z28:e,n,x', u'Malika', u'Moundou', u'II 3,10:l,z28:z39', u'II [1],13,23:l,z28:z42', u'II 13,23:l,z28:z6', u'II 13,23:l,z28:1,5', u'II 3,10:l,z28:1,5', u'II 39:l,z28:e,n,x', u'Kotu', u'II 9,12:l,z28:1,5', u'II 9,12:l,z28:e,n,x', u'York', u'Aflao', u'II [1],40:l,z28:z39', u'Santhiaba', u'II [1],40:l,z28:1,5', u'Bukavu', u'Javiana', u'II 6,7:l,z28:e,n,x', u'II 39:l,z28:z39', u'II 3,10:l,z28:e,n,x', u'II 6,7:l,z28:1,5', u'II 35:l,z28:-', u'II 30:l,z28:z6', u'II 16:l,z28:z42', u'II 28:l,z28:e,n,x', u'Fajara', u'II 28:l,z28:1,5', u'Jambur', u'Granlo', u'II 40:l,z28:e,n,x', u'Haelsingborg', u'II [1],40:m,t:z42', u'II 1,6,14:m,t:1,5', u'II 13,22:m,t:z42', u'II [1],13,23:m,t:z42', u'Kintambo', u'Bassa', u'II [1],44:m,t:z42', u'II [1],13,23:m,t:1,5', u'IV 40:m,t:-', u'Washington', u'II 40:m,t:z39', u'II 40:m,t:e,n,x', u'Newholland', u'II 9,46:m,t:e,n,x', u'II [1],9,12:m,t:z39', u'Leatherhead', u'Sangalkam', u'Muguga', u'Apapa', u'II 50:m,t:z6', u'Yokoe', u'II 6,8:m,t:1,5', u'Pensacola', u'II [1],9,12:m,t:1,5', u'Banana', u'II 11:m,t:e,n,x', u'II [1],13,23:m,t:e,n,x', u'II 45:m,t:1,5', u'II 3,10:m,t:e,n,x', u'Oranienburg', u'Madras', u'Djinten', u'II 6,8:m,t:e,n,x', u'II 6,7:m,t:-', u'Oakey', u'Winston', u'Moers', u'Cannstatt', u'Bama', u'II 17:m,t:-', u'II 42:m,t:[e,n,x,z15]', u'II 35:m,t:-', u'Monschaui', u'II 18:m,t:1,5', u'Langenhorn', u'Mesbit', u'II 21:m,t:-', u'IV 21:m,t:-', u'Kaitaan', u'Rothenburgsort', u'Mpouto', u'II 30:m,t:-', u'II 28:m,t:z39', u'II 6,14:m,t:e,n,x', u'Southbank', u'II 3,10:m,t:1,5', u'Morillons', u'II 16:m,t:[z42]', u'Morbihan', u'Waral', u'Dietrichsdorf', u'Vinohrady', u'II 16:m,t:e,n,x', u'II 28:m,t:[e,n,x]', u'II 9,12:m,t:e,n,x', u'Senegal', u'Rubislaw', u'IIIb 35:r:e,n,x,z15', u'Clanvillian', u'IIIb 42:r:z53', u'Gege', u'IIIb 48:r:z', u'IIIb 48:r:e,n,x,z15', u'Quincy', u'Volta', u'IIIb 42:r:z', u'Grandhaven', u'Brive', u'IIIb 61:r:z35', u'IIIb 58:r:z53', u'IIIb 59:r:z35', u'IIIb 60:r:e,n,x,z15', u'IIIb 60:r:z', u'IIIb 60:r:z35', u'IIIb 60:r:z53', u'IIIb 21:r:z', u'Mountmagnet', u'II 28:r:e,n,z15', u'IIIb 61:r:z', u'Lubumbashi', u'IIIb 61:r:z53', u'Konongo', u'Yalding', u'IIIb 18:r:z', u'Tennenlohe', u'Crossness', u'IIIb 17:r:z', u'Lode', u'IIIb 65:r:z35', u'IIIb 61:r:1,5,7', u'Ivory', u'Shoreditch', u'Sokode', u'IIIb 50:r:1,5,(7)', u'IIIb 50:r:e,n,x,z15', u'IIIb 50:r:z', u'IIIb 50:r:z35', u'IIIb 50:r:z53', u'Fairfield', u'Massakory', u'IIIb 58:r:z', u'IIIb 47:r:e,n,x,z15', u'IIIb 58:r:e,n,x,z15', u'Brunflo', u'Lehrte', u'Bassadji', u'Sipane', u'IIIb 53:r:z', u'IIIb 53:r:z35', u'IIIb 53:r:z68', u'Czernyring', u'Deckstein', u'Kibusi', u'Camberwell', u'Yellowknife', u'IIIb (6),14:r:z', u'Heidelberg', u'Bradford', u'Winneba', u'Remo', u'Goldcoast', u'IIIb 8:r:z', u'44:r:-', u'IIIb 35:r:z', u'Albertbanjul', u'IIIb 47:r:1,5,7', u'IIIb 40:r:z53', u'Southampton', u'Brefet', u'Jamaica', u'IIIb 43:r:e,n,x,z15', u'13,22:r:-', u'Adjame', u'Linton', u'Grampian', u'Papuana', u'IIIb 43:r:z53', u'IIIb 43:r:z', u'Weltevreden', u'Simi', u'Elisabethville', u'Ughelli', u'Bochum', u'Emmastad', u'Infantis', u'Campinense', u'Lome', u'Virchow', u'IIIb 42:r:-', u'II 42:r:-', u'Nigeria', u'IIIb 38:r:e,n,x,z15', u'IIIb 38:r:z', u'IIIb 38:r:1,5,7', u'Lindi', u'Dapango', u'IIIb 47:r:z', u'IIIb 47:r:z53', u'IIIb 35:r:z61', u'IIIb 35:r:z35', u'IIIb 38:r:z35', u'Akanji', u'Hindmarsh', u'Noya', u'Colindale', u'Kofandoka', u'Bsilla', u'Sanktgeorg', u'IIIb 47:r,[i]:z35', u'Bovismorbificans', u'Hidalgo', u'Drogana', u'Brikama', u'Surat', u'Altona', u'Chicago', u'Rovaniemi', u'Fareham', u'Euston', u'Dumfries', u'Seegefeld', u'Africana', u'Banco', u'Lutetia', u'Annedal', u'Istoria', u'Zwickau', u'Cocody', u'Amager', u'Praha', u'Mayday', u'Nantes', u'Irchel', u'Bolton', u'Ohlstedt', u'Orion', u'II [1],9,12:y:z39', u'Powell', u'Benin', u'Hartford', u'Mikawasima', u'Mokola', u'Giza', u'Bulgaria', u'Tananarive', u'II 6,8:y:1,6', u'Alagbon', u'Inchpark', u'Sunnycove', u'Daarle', u'Richmond', u'Lamphun', u'Bareilly', u'Kralingen', u'Benue', u'Sindelfingen', u'II 1,9,12,46,27:y:z39', u'Gatow', u'Oyonnax', u'Stockholm', u'Langensalza', u'Brunei', u'Dougi', u'Perth', u'Baguirmi', u'Nijmegen', u'Teddington', u'Finaghy', u'Ruiru', u'Ibaragi', u'Bietri', u'Coeln', u'Matopeni', u'Saphra', u'Akuafo', u'Harvestehude', u'Selby', u'Avignon', u'Freetown', u'Colombo', u'Trachau', u'Pomona', u'Oskarshamn', u'Nima', u'Ball', u'Steinwerder', u'Kingabwa', u'Farcha', u'Jos', u'Steinplatz', u'Carrau', u'Spalentor', u'Kitenge', u'Telaviv', u'Madelia', u'Fischerkietz', u'Mornington', u'Shomolu', u'II 17:y:-', u'Kamoru', u'Moualine', u'Solt', u'Delan', u'Gatineau', u'Kikoma', u'Herzliya', u'Woumbou', u'Windermere', u'Odienne', u'Cannonhill', u'Blitta', u'Jalisco', u'Lokomo', u'Slade', u'Thies', u'II 18:y:e,n,x,z15', u'Troy', u'Tunis', u'Ordonez', u'Hadejia', u'Yarrabah', u'Tanger', u'Anfo', u'Kinson', u'Krefeld', u'Tendeba', u'Warengo', u'Gori', u'II 17:z:l,w', u'II 47:z:e,n,x,z15', u'Daula', u'II 17:z:1,7', u'Mountpleasant', u'Potengi', u'Arusha', u'Uhlenhorst', u'Brackenridge', u'II 45:z:1,5', u'Yopougon', u'II 6,8:z:1,5', u'II 6,7:z:z42', u'Kuru', u'Kaolack', u'Bolama', u'Mowanjum', u'Marmande', u'Phaliron', u'Kalumburu', u'II 45:z:z39', u'Lawndale', u'Vanier', u'Koenigstuhl', u'Stachus', u'Preston', u'Entebbe', u'II 4,12:z:z39', u'II 9,12:z:z39', u'II [1],9,12:z:z6', u'Aurelianis', u'Ursenbach', u'Kimpese', u'II 42:z:e,n,x,z15', u'Mulhouse', u'Sally', u'II 21:z:-', u'II [1],40:z:1,5', u'Casamance', u'Nowawes', u'II [1],40:z:z6', u'II [1],40:z:z39', u'II 40:z:z42', u'II 41:z:1,5', u'II [1],9,12:z:1,7', u'II 28:z:z39', u'Ogbete', u'Shubra', u'II 9,46:z:z39', u'Bambylor', u'II 9,46:z:e,n,x', u'II 9,46:z:1,5', u'II 28:z:1,5', u'Dingiri', u'Doel', u'II 42:z:1,5', u'Brisbane', u'II 43:z:1,5', u'Hohentwiel', u'Kiambu', u'II [1],4,12,27:z:1,5', u'Loubomo', u'Indiana', u'II 4,12:z:1,7', u'Neftenbach', u'II [1],4,12,27:z:e,n,x', u'II 42:z:z6', u'Melbourne', u'Ezra', u'Chile', u'Oakland', u'II 6,7:z:1,5', u'Tanzania', u'Ivrysurseine', u'II 56:z:z6', u'Bristol', u'Poano', u'Poitiers', u'II [1],13,23:z:1,5', u'II 53:z:z6', u'IIIb 53:z:1,5,(7)', u'II 53:z:1,5', u'IIIb 52:z:z52', u'Homosassa', u'Soahanina', u'Royan', u'II [1],59:z:z6', u'Huddinge', u'Farmsen', u'Tchamba', u'Poona', u'II 47:z:z6', u'Worthington', u'II 3,10:z:z39', u'Landwasser', u'Cayar', u'II 3,10:z:e,n,x', u'Winslow', u'Harleystreet', u'II 3,10:z:1,5', u'Fufu', u'II [1],13,23:z:z42', u'II 13,22:z:-', u'IIIb 13,23:z:1,5', u'Sundsvall', u'Clerkenwell', u'Schoeneberg', u'II 52:z:z39', u'Bouake', u'Kanifing', u'II 16:z:z42', u'II 6,7:z:z6', u'II 6,7:z:z39', u'II 16:z:e,n,x', u'Carno', u'Brevik', u'Lerum', u'Kainji', u'IIIb 48:z:1,5,7', u'II 48:z:1,5', u'Toucra', u'Korlebu', u'II 60:z:e,n,x', u'Hongkong', u'Crewe', u'II 11:z:z39', u'Lechler', u'Treforest', u'Antsalova', u'Nyanza', u'Bruck', u'Maroua', u'Businga', u'IIIb 50:z:z52', u'II 50:z:e,n,x', u'Gerland', u'II 6,7:z:e,n,x', u'Fortlamy', u'Lingwala', u'Kassel', u'II 11:z:e,n,x', u'Jerusalem', u'Redba', u'Omuna', u'II 41:z10:e,n,x,z15', u'II 41:z10:z6', u'Inganda', u'IIIb 65:z10:z', u'IIIb 65:z10:e,n,x,z15', u'Tudu', u'Vellore', u'Fortune', u'Mura', u'Menden', u'Hadar', u'Eschweiler', u'IIIb 61:z10:z35', u'Ngili', u'Albert', u'Mbandaka', u'Ituri', u'Haifa', u'II 41:z10:1,2', u'Leipzig', u'Landala', u'Inpraw', u'Djugu', u'Tokoin', u'Aprad', u'II 56:z10:e,n,x', u'Barry', u'Canton', u'IIIb 53:z10:z35', u'IIIb 53:z10:z', u'Bergues', u'IIIb 50:z10:z53', u'II 50:z10:z6', u'IIIb 50:z10:z', u'Adana', u'Glostrup', u'Llobregat', u'Zerifin', u'IIIb 48:z10:z', u'IIIb 48:z10:e,n,x,z15', u'Isaszeg', u'II 48:z10:1,6', u'VI 48:z10:1,5', u'IIIb 40:z10:z35', u'II 48:z10:[1,5]', u'IIIb 47:z10:z35', u'IIIb 47:z10:z', u'Namoda', u'IIIb 47:z10:1,5,7', u'Guinea', u'Molade', u'IIIb 60:z10:z35', u'IIIb 60:z10:z', u'IIIb 59:z10:z57', u'IIIb 59:z10:z53', u'II 42:z10:1,2', u'II 42:z10:e,n,x,z15', u'IIIb 42:z10:e,n,x,z15', u'IIIb 42:z10:z', u'Loenga', u'II 42:z10:z6', u'IIIb 42:z10:z35', u'IIIb 57:z10:z', u'Wippra', u'Bazenheid', u'Remiremont', u'Chomedey', u'Istanbul', u'IIIb 58:z10:z53', u'II 58:z10:z6', u'IIIb 58:z10:e,n,x,z15', u'II 58:z10:1,6', u'Cleveland', u'Mapo', u'Paris', u'IIIb 60:z10:z53', u'IIIb 42:z10:z67', u'IIIb 28:z10:z', u'Luckenwalde', u'Moroto', u'IIIb 17:z10:z', u'IIIb 17:z10:e,n,x,z15', u'Djibouti', u'Angouleme', u'Redlands', u'IIIb 16:z10:e,n,x,z15', u'Lisboa', u'VI 1,6,14,25:z10:1,(2),7', u'Badagry', u'Libreville', u'II 18:z10:z6', u'II 1,6,14:z10:z6', u'IIIb (6),14:z10:e,n,x,z15', u'Sada', u'Senneville', u'Kumasi', u'II 30:z10:e,n,x,z15', u'Laredo', u'II 1,6,14:z10:1,5', u'IIIb 16:z10:1,7', u'IIIb 21:z10:z53', u'Carnac', u'Leer', u'IIIb 18:z10:e,n,x,z15', u'II 40:z10:e,n,x', u'II 39:z10:z6', u'IIIb 21:z10:e,n,x,z15', u'IIIb 21:z10:z', u'II 1,9,12,46,27:z10:z39', u'II 1,9,12,46,27:z10:e,n,x', u'Umbilo', u'II 21:z10:[z6]', u'Malaysia', u'II 17:z10:-', u'II 9,46:z10:z39', u'II 9,46:z10:z6', u'Louisiana', u'Mahina', u'Inglis', u'Lishabi', u'Rogy', u'Farakan', u'IIIb (6),14:z10:z', u'II 1,9,12,46,27:z10:1,5', u'IIIb 6,14:z10:z53', u'Lexington', u'Ruanda', u'Wentworth', u'II [1],13,22:z10:z6', u'Neunkirchen', u'IIIb 38:z10:z', u'IIIb 38:z10:z53', u'Harrisonburg', u'Roodepoort', u'Okerara', u'Treguier', u'Portland', u'Demerara', u'Sapele', u'Hegau', u'Dallgow', u'Yenne', u'Telhashomer', u'Straengnaes', u'Coquilhatville', u'Podiensis', u'Kristianstad', u'Biafra', u'Camberene', u'Enschede', u'Ligna', u'IIIb 35:z10:z35', u'Trotha', u'Nessa', u'IIIa 62:z29:-', u'Everleigh', u'II 44:z29:e,n,x', u'Zinder', u'IV 17:z29:-', u'IIIa 45:z29:-', u'IIIa 59:z29:-', u'IV 44:z29:-', u'II 60:z29:e,n,x', u'II 45:z29:z42', u'II 45:z29:e,n,x', u'II 45:z29:1,5', u'Jodhpur', u'IIIa 17:z29:-', u'Kandla', u'II [1],13,23:z29:e,n,x', u'II 51:z29:e,n,x,z15', u'Jedburgh', u'IIIa 50:z29:-', u'Ivorycoast', u'II 43:z29:z42', u'II 3,10:z29:[e,n,x]', u'IV 48:z29:-', u'IIIa 53:z29:-', u'IIIa 48:z29:-', u'II 48:z29:-', u'II 57:z29:z42', u'Agoueve', u'II 13,22:z29:1,5', u'Mundubbera', u'II [1],13,23:z29:1,5', u'Saloniki', u'II 16:z29:1,5', u'II 16:z29:e,n,x', u'IIIa 47:z29:-', u'Ekpoui', u'II 47:z29:e,n,x,z15', u'II 13,22:z29:e,n,x', u'IIIa 56:z29:-', u'Cubana', u'II 35:z29:e,n,x', u'II 6,8:z29:1,5', u'II 6,8:z29:e,n,x:z42', u'Tamale', u'Uno', u'II 6,8:z29:e,n,x', u'II 6,7:z29:[z42]', u'Tennessee', u'II 42:z29:-', u'Djermaia', u'IIIa 43:z29:-', u'II 28:z29:1,5', u'Ouakam', u'Aragua', u'Djama', u'Widemarsh', u'IIIa 35:z29:-', u'IV 41:z29:-', u'IIIa 41:z29:-', u'Lodz', u'II [1],9,12:z29:e,n,x', u'II 9,12:z29:1,5', u'Llandoff', u'Brancaster', u'II [1],4,12:z29:e,n,x', u'IIIa 40:z29:-', u'Omifisan', u'II 28:z29:e,n,x', u'IIIa 21:z29:-', u'II 43:z29:e,n,x', u'Makiling', u'IV 43:z29:-', u'Hillegersberg', u'Santander', u'Babili', u'Konolfingen', u'Cairina', u'Pasing', u'Wuiti', u'Tafo', u'66:z35:-', u'Catumagos', u'Ratchaburi', u'Aachen', u'Palime', u'Kokoli', u'48:z35:-', u'Shannon', u'Yaounde', u'Anna', u'Picpus', u'Nimes', u'Mampong', u'Carpentras', u'Ahoutoue', u'Penarth', u'IIIb 48:z35:z52', u'Bingerville', u'II 3,10:z35:e,n,x,z15', u'61:z35:-', u'II [1],40:z35:e,n,x,z15', u'II 16:z35:e,n,x', u'Dakota', u'Trier', u'Lattenkamp', u'Basingstoke', u'Yombesali', u'Gambaga', u'Yekepa', u'Zongo', u'Tema', u'Ahepe', u'Sloterdijk', u'Kolda', u'Hennekamp', u'Yarm', u'[1],40:z35:-', u'Tienba', u'Trimdon', u'Angers', u'Kahla', u'Tejas', u'IIIa 40:z36:-', u'IIIa 59:z36:-', u'IIIa 62:z36:-', u'IV 6,7:z36:-', u'IIIa 43:z36:-', u'IIIa 17:z36:-', u'VI 59:z36:-', u'II 6,14:z36:-', u'IIIa 45:z36:-', u'Balcones', u'II 16:z36:e,n,z15', u'IV 16:z36:-', u'IV 47:z36:-', u'IV 42:z36:-', u'Weslaco', u'IV 21:z36:-', u'Macallen', u'IIIa 48:z36:-', u'IIIa 35:z36:-', u'Potosi', u'IIIa 50:z36:-', u'Tampico', u'II 6,7:z36:z42', u'IV 41:z36:-', u'IIIa 41:z36:-', u'IIIa 63:z36:-', u'II 18:z36:-', u'IV 17:z36:-', u'IIIa 21:z36:-', u'IV 48:z36,[z38]:-', u'IV 44:z36,[z38]:-', u'IV [1],53:z36,z38:-', u'IV 45:z36,z38:-', u'IV 18:z36,z38:-', u'IV 43:z36,z38:-', u'Haga', u'Albertslund', u'Bolombo', u'II 3,10:z38:z42', u'Lene', u'Sandaga', u'Offa', u'Fresno', u'Ochiogu', u'Elomrane', u'Klouto', u'Wilhelmsburg', u'Ago', u'Aderike', u'Koketime', u'Apeyeme', u'Naware', u'Sinthia', u'Rumford', u'Lille', u'Irigny', u'Alexanderplatz', u'Sara', u'Fanti', u'Leiden', u'Vogan', u'II [1],4,12,[27]:z39:1,[5],7', u'II [1],44:z39:e,n,x,z15', u'II 9,46:z39:1,7', u'II 3,10:z39:1,[5],7', u'13,22:z39:-', u'II 13,22:z39:1,7', u'II [1],13,23:z39:1,5,7', u'Grancanaria', u'II 30:z39:1,7', u'II [1],9,12:z39:1,7', u'II 40:z39:1,7', u'II [1],40:z39:1,5', u'44:z39:-', u'II 48:z39:z81', u'48:z39:-', u'II 52:z39:1,5,7', u'II 57:z39:e,n,x,z15', u'II 58:z39:e,n,x,z15', u'66:z39:-', u'II [1],40:z39:1,6', u'IIIb 40:z39:1,6', u'IIIb 6,7,[14]:z39:1,2', u'II 6,7:z39:1,5,7', u'IV [1],40:z4,z23:-', u'Goma', u'Bofflens', u'Waycross', u'II 43:z4,z23:-', u'IV 41:z4,z23:-', u'IV 38:z4,z23:-', u'Vuadens', u'Stanleyville', u'Gera', u'Broc', u'IIIa 42:z4,z23:-', u'Cerro', u'Breda', u'Babelsberg', u'Aarhus', u'II 18:z4,z23:-', u'IIIa 18:z4,z23:-', u'Baguida', u'IIIa 21:z4,z23:-', u'IV 21:z4,z23:-', u'IIIa 40:z4,z23:-', u'Teltow', u'Namur', u'Stoneferry', u'Alachua', u'IIIa 35:z4,z23:-', u'Yoff', u'IIIa 38:z4,z23:-', u'IIIa 43:z4,z23:-', u'Cannobio', u'IV 57:z4,z23:-', u'Farmingdale', u'IIIa 51:z4,z23:-', u'IV 51:z4,z23:-', u'II 6,7:z4,z23:-', u'IIIa 53:z4,z23:-', u'IV 53:z4,z23:-', u'IIIa 50:z4,z23:-', u'IIIa 56:z4,z23:-', u'IV 6,7:z4,z23:-', u'Obogu', u'Planckendael', u'IIIa 59:z4,z23:-', u'IIIa 62:z4,z23:-', u'IIIa 63:z4,z23:-', u'Aequatoria', u'Yerba', u'Tabligbo', u'IV 43:z4,z23:-', u'Kua', u'Ploufragan', u'II 44:z4,z23:-', u'IIIa 44:z4,z23:-', u'IV 44:z4,z23:-', u'IV 50:z4,z23:-', u'IV 45:z4,z23:-', u'IIIa 41:z4,z23:-', u'Fehrbellin', u'Bere', u'Binche', u'IIIa 47:z4,z23:-', u'IIIa 48:z4,z23:-', u'IV 48:z4,z23:-', u'IIIa 45:z4,z23:-', u'IV 16:z4,z23:-', u'IV 6,14:z4,z23:-', u'Ilugun', u'Remete', u'Etterbeek', u'Wagadugu', u'Bellevue', u'IIIa 11:z4,z23:-', u'Bousso', u'Kibi', u'Axim', u'II 16:z4,z23:-', u'IV 11:z4,z23:-', u'Adabraka', u'Ekotedo', u'IIIa 13,22:z4,z23:-', u'Dabou', u'Ajiobo', u'Arapahoe', u'IIIa 17:z4,z23:-', u'Corvallis', u'Wangata', u'Ried', u'Lezennes', u'Chailey', u'IIIa 13,23:z4,z23,[z32]:-', u'IIIa 53:z4,z23,z32:-', u'IIIa 41:z4,z23,z32:-', u'IIIa 48:z4,z23,z32:-', u'IIIa 56:z4,z23,z32:-', u'IIIa 17:z4,z23,z32:-', u'IIIa 50:z4,z23,z32:-', u'IIIa 44:z4,z23,z32:-', u'IIIa 17:z4,z24:-', u'Christiansborg', u'Sambre', u'IV 43:z4,z24:-', u'Ipswich', u'Toricada', u'IIIa 41:z4,z24:-', u'Yehuda', u'IV [1],42:z4,z24:-', u'IIIa 42:z4,z24:-', u'IIIa 43:z4,z24:-', u'IIIb 48:z4,z24:-', u'Albany', u'Duesseldorf', u'IIIa 53:z4,z24:-', u'II 53:z4,z24:-', u'Natal', u'IIIa 51:z4,z24:-', u'IV 50:z4,z24:-', u'IIIa 50:z4,z24:-', u'II 9,46:z4,z24:z39', u'II 1,9,12,46,27:z4,z24:1,5', u'II 6,7:z4,z24:z42', u'IV 44:z4,z24:-', u'IIIa 48:z4,z24:-', u'Djakarta', u'Tamberma', u'Florian', u'II 3,10:z4,z24:-', u'IIIa 45:z4,z24:-', u'Transvaal', u'Somone', u'IV 6,7:z4,z24:-', u'Ngaparou', u'IV 16:z4,z24:-', u'Uzaramo', u'Chichiri', u'II 40:z4,z24:z39', u'Bangkok', u'IIIa 40:z4,z24:-', u'IIIa 35:z4,z24:-', u'IV [1],40:z4,z24:-', u'Westphalia', u'Kalamu', u'IIIa 44:z4,z24:-', u'Bodjonegoro', u'Kethiabarny', u'II 16:z4,z24:-', u'II 18:z4,z24:-', u'Romanby', u'IIIa 13,23:z4,z24:-', u'IIIa 21:z4,z24:-', u'II 21:z4,z24:-', u'Blukwa', u'Kaevlinge', u'IIIa 17:z4,z32:-', u'IIIa 45:z4,z32:-', u'IIIa 63:z4,z32:-', u'IIIa 62:z4,z32:-', u'IIIa 35:z4,z32:-', u'IIIa 18:z4,z32:-', u'IV 21:z4,z32:-', u'IV 48:z4,z32:-', u'IV 16:z4,z32:-', u'IV [1],44:z4,z32:-', u'IIIa 51:z4,z32:-', u'IIIa 48:z4,z32:-', u'IIIa 50:z4,z32:-', u'IV 50:z4,z32:-', u'Tallahassee', u'IV [1],40:z4,z32:-', u'IIIa 44:z4,z32:-', u'IV 43:z4,z32:-', u'IV 11:z4,z32:-', u'IIIa 41:z4,z32:-', u'IIIa 40:z4,z32:-', u'60:z41:-', u'Thayngen', u'Karamoja', u'Wuppertal', u'Hillsborough', u'Maska', u'Diogoye', u'Maastricht', u'VI 6,7:z41:1,7', u'Ottawa', u'Taset', u'48:z41:-', u'66:z41:-', u'Tamilnadu', u'Dortmund', u'II 50:z42:1,7', u'II 57:z42:1,6', u'II 1,6,14:z42:1,6', u'II 16:z42:1,(5),7', u'II 43:z42:[1,5,7]', u'II [1],9,12:z42:1,[5],7', u'II [1],40:z42:1,6', u'II 6,7:z42:1,[5],7', u'II 16:z42:1,6', u'Quinhon', u'Bulovka', u'II 52:z44:1,5,7', u'IIIb 58:z52:z35', u'IIIb 53:z52:z35', u'IIIb 53:z52:z53', u'IIIb 65:z52:z53', u'IIIb 65:z52:z35', u'IIIb 65:z52:z', u'IIIb 59:z52:z53', u'IIIb 58:z52:z', u'IIIb 61:z52:1,5,7', u'IV 41:z52:-', u'IIIb 16:z52:z35', u'IIIb 61:z52:z53', u'IIIb 61:z52:z35', u'IIIb 60:z52:1,5,[7]', u'IIIb 61:z52:z', u'IIIb 60:z52:z', u'IIIb 60:z52:z35', u'IIIb 60:z52:z53', u'IIIb 65:z52:e,n,x,z15', u'IIIb 47:z52:1,5', u'IIIb 48:z52:e,n,x,z15', u'IIIb 35:z52:1,5,7', u'IIIb 50:z52:z53', u'IIIb 47:z52:z35', u'IIIb 47:z52:z', u'IIIb 48:z52:z', u'IIIb 47:z52:1,5,7', u'IIIb 43:z52:z53', u'IIIb 35:z52:z', u'IIIb 35:z52:z35', u'IIIb [1],6,14,[25]:z52:z35', u'IIIb 6,14:z52:e,n,x,z15', u'IIIb 38:z52:z35', u'IIIb 38:z52:z53', u'IIIb 47:z52:e,n,x,z15', u'IIIb 42:z52:z', u'IIIb 50:z52:z35', u'IIIb 35:z52:e,n,x,z15', u'IIIb 50:z52:1,5,7', u'IIIb 38:z53:-', u'IIIb 47:z53:-', u'IIIb 42:z57:1,5', u'II 58:z6:1,6', u'II 30:z6:1,6', u'Franken', u'II 47:z6:1,6', u'II 16:z6:1,6', u'II 42:z6:1,6', u'II [1],40:z6:1,5', u'II 6,7:z6:1,7', u'Aesch', u'IIIb 38:z61:[z53]', u'48:z65:-', u'IIIb 21:z65:e,n,x,z15', u'66:z65:-', u'Pietersburg', u'Delmenhorst', u'48:z81:-', u'[1],40:z81:-', u'66:z81:-', u'II [1],40:z81:z6', u'Mygdal',u'Lubbock'] + +phase1=['-','-','-','-','-','-','-','-','-','-','-','g,m,[s],t','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','f,g,t','[g,t]','[g],m,t','[z42]','[z42]','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','c','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','d','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,h','e,n,x','e,n,x','e,n,x','e,n,x','e,n,x','e,n,x','e,n,x','e,n,x','e,n,x','e,n,x','e,n,x','e,n,x','e,n,x','e,n,x','e,n,x','e,n,x','e,n,x','e,n,x,z15','e,n,x,z15','e,n,x,z15','e,n,x,z15','e,n,x,z15','e,n,x,z15','e,n,x,z15','e,n,z15','e,n,z15','e,n,z15','f,g','f,g','f,g','f,g','f,g','f,g','f,g','f,g','f,g','f,g','f,g','f,g','f,g','f,g','f,g','f,g,[s]','f,g,[t]','f,g,m,t','f,g,s','f,g,s','f,g,t','f,g,t','f,g,t','f,g,t','f,g,t','f,g,t','g,m,[s],t','g,t','g,[m],[s],[t]','g,[m],[s],t','g,[m],[s],t','g,[m],[s],t','g,[m],[s],t','g,[m],[s],t','g,s,t','g,[m],[s],t','g,[m],s,t','g,[m],s,t','g,[m],s,t','g,[m],s,t','g,[m],t','g,s,t','g,[s],t','g,s,t','g,m','g,m','g,m','g,m','g,m','g,m','g,m','g,m','g,m','g,m','g,m','g,m','g,m','g,m,s','g,m,[s]','g,m,[s]','g,m,[s]','g,m,[s],[t]','g,m','g,m,[s],t','g,m,[s],t','g,m,[s],t','g,m,[s],t','g,m,[t]','g,m','g,m,[t]','g,m,[t]','g,m,q','g,m,s','g,m,s','g,m,s','g,m,s','g,m,s','g,m,s','g,m,s','g,m,s','g,m,s','g,m,s','g,m,s','g,m,s','g,m,s','g,m,s,t','g,m,s,t','g,m,s,t','g,m,s,t','g,m,s,t','g,m,s,t','g,m,s,t','g,m,s,t','g,m,s,t','g,m,s,t','g,m,t','g,m,t','g,m,t','g,m,t','g,m,t','g,m,t','g,m,t','g,m,t','g,m,t','g,m,t','g,m,t','g,p','g,p','g,p','g,p,s','g,p,u','g,q','g,s,[t]','g,s,q','g,s,t','g,s,t','g,s,t','g,s,t','g,s,t','g,s,t','g,s,t','g,s,t','g,s,t','g,s,t','g,s,t','g,s,t','g,s,t','g,s,t','g,s,t','g,s,t','g,s,t','g,s,t','g,s,t','g,s,t','g,s,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,t','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z51','g,z62','g,z62','g,z62','g,z62','g,z62','g,z63','g,z85','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','i','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','l,[z13],[z28]','l,[z13],z28','l,[z13],z28','l,[z13],z28','l,[z13],z28','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,v','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,w','l,z13','l,z13','l,z13','l,z13','l,z13','l,z13','l,z13','l,z13','l,z13','l,z13','l,z13','l,z13','l,z13','l,z13,[z28]','l,z13,[z28]','l,z13,[z28]','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z13,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','l,z28','m,p,t,[u]','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','m,t','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r','r,[i]','r,[i]','r,[i]','r,[i]','r,[i]','r,[i]','r,[i]','r,[i]','r,[i]','r,i','r,i','r,i','r,i','r,i','r,i','r,i','r,i','r,i','r,i','r,i','r,i','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','y','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z10','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z29','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z35','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36','z36,[z38]','z36,[z38]','z36,z38','z36,z38','z36,z38','z36,z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z38','z39','z39','z39','z39','z39','z39','z39','z39','z39','z39','z39','z39','z39','z39','z39','z39','z39','z39','z39','z39','z39','z39','z39','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23','z4,z23,[z32]','z4,z23,z32','z4,z23,z32','z4,z23,z32','z4,z23,z32','z4,z23,z32','z4,z23,z32','z4,z23,z32','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z24','z4,z32','z4,z32','z4,z32','z4,z32','z4,z32','z4,z32','z4,z32','z4,z32','z4,z32','z4,z32','z4,z32','z4,z32','z4,z32','z4,z32','z4,z32','z4,z32','z4,z32','z4,z32','z4,z32','z4,z32','z4,z32','z41','z41','z41','z41','z41','z41','z41','z41','z41','z41','z41','z41','z41','z41','z41','z42','z42','z42','z42','z42','z42','z42','z42','z42','z44','z44','z44','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z52','z53','z53','z57','z6','z6','z6','z6','z6','z6','z6','z6','z60','z61','z65','z65','z65','z69','z71','z81','z81','z81','z81','z91','g,m,s'] + +phase2=['1,7','e,n,x','1,6','1,7','1,6','1,6','1,6','-','1,6','1,6','1,5','1,5','z55','e,n,x,z15','z35','z','z53','z53','z54','-','z35','1,5,7','z','z','z53','z35','z35','z35','e,n,x,z15','z35','z35','z35','z53','z','z35','-','e,n,x','[e,n,x]','1,5,7','1,[5],7','e,n,x','1,2','e,n,z15','z6','z6','e,n,z15','z42','1,5','e,n,x','z39','z42','z6','l,v','1,5','e,n,x,z15','[1,5]','z10','1,5','l,z13,z28','1,7','e,n,x','e,n,z15','e,n,x','e,n,z15','1,5','1,7','1,7','1,2','e,n,z15','e,n,x','z6','1,6','1,5','1,6','e,n,z15','1,5','z42','e,n,z15','e,n,x','z39','1,5','1,5','z6','e,n,z15','e,n,x','z6','1,6','z6','1,7','1,2','1,6','z39','z6','1,5,7','1,5','1,7','z6','z39','1,7','-','e,n,x','e,n,z15','z39','e,n,x','1,2','-','e,n,z15','z6','l,z13,z28','l,w','e,n,x','1,5','1,6','1,5','1,5','e,n,z15','-','-','e,n,z15','e,n,x','1,2','z42','l,w','1,5','e,n,x','e,n,x','1,7','1,5','1,2','1,5','1,5','z6','[z6]','1,6','e,n,x','1,2','1,2','e,n,x','1,6','1,5','1,7','e,n,z15','l,w','1,5','1,5','[1,5]','l,w','z39','z52','z39','e,n,z15','z6','e,n,z15','1,7','[1,5]','z39','1,5','1,5','1,5','e,n,x','l,w','1,2','1,5','1,5','e,n,z15','1,5','1,2','e,n,z15','e,n,x','e,n,x','1,7','e,n,z15','e,n,x','e,n,x','e,n,z15','-','e,n,x','1,7','e,n,x,z15','l,w','e,n,z15','e,n,x','z6','l,w','z6','e,n,x','1,6','1,5','1,2','e,n,z15','e,n,x','1,5','e,n,z15','-','e,n,z15','z42','e,n,x','e,n,z15','1,5','l,w','z35','1,5','1,6','z35','z6','l,w','[e,n,x]','1,7','[e,n,x]','1,6','z39','e,n,x','1,6','e,n,z15','1,5','1,2,5','1,2','1,2','1,5','e,n,x','e,n,x,z15','1,2','z6','1,6','-','e,n,x,z15','z6','1,6','1,5','1,7','e,n,x','e,n,z15','z6','-','e,n,z15','1,2','1,2','-','z6','e,n,x','e,n,z15','e,n,z15','z6','1,5','1,7','l,w','1,5','1,6','z42','z39','z6','1,6','1,5','1,2','l,w','e,n,z15','e,n,x','e,n,x','1,5','e,n,z15','1,7','e,n,x','1,7','1,5','1,7','e,n,x','-','e,n,x','1,2','1,5','1,6','1,5','e,n,x','e,n,z15','z6','e,n,z15','e,n,z15','l,w','z6','l,w','1,6','z6','e,n,z15','1,5','1,5','1,7','1,7','1,2','e,n,z15','e,n,z15','1,5','1,2','1,5','1,7','1,6','1,7','1,5','e,n,x','e,n,x','e,n,z15','e,n,x','l,w','l,w','z6','1,6','z6','e,n,x','e,n,x','z39','[1,5]','z6','1,5','z35','e,n,z15','z35','l,w','-','1,5','1,2','1,2','1,5','e,n,x,z15','z6','z6','1,7','1,2','z6','1,6','z39','1,2','1,5','1,7','-','1,5','1,5','e,n,x','z42','z6','z6','1,5','[1,5]','z6','e,n,x','1,7','e,n,x','e,n,x','e,n,z15','1,6','l,w','1,7','e,n,z15','1,2','e,n,x','1,5','e,n,x','1,5','1,6','z39','e,n,z15','1,5','e,n,x,z15','1,6','z6','z35','z','e,n,x,z15','1,5','1,5','1,6','1,5','l,w','e,n,x,z15','1,5','z6','e,n,z15','1,5,7','1,2','1,7','1,7','1,6','e,n,x','z6','e,n,x','1,5','e,n,z15','1,6','-','1,5','1,7','e,n,x','1,5','e,n,x,z15','1,6','1,7','l,w','e,n,x','e,n,x','[e,n,z15]','z6','z6','1,2','1,5','e,n,x','1,6','1,5','1,6','1,7','k','e,n,x','e,n,z15','z6','e,n,z15','e,n,x','e,n,x','z6','e,n,z15','e,n,x','1,6','z39','z53','z','1,5,7','z6','l,w','e,n,z15','1,7','z35','1,5,7','1,6','1,5','1,2','z39','e,n,x,z15','1,5','1,6','1,7','z6','e,n,x','e,n,z15','l,w','z','e,n,x,z15','z6','1,6','1,5','e,n,z15','1,5','z6','e,n,x','1,5','1,6','1,5','1,5','1,5','z39','1,2','1,6','z','1,5','e,n,z15','1,7','e,n,z15','1,7','-','1,6','l,w','e,n,x,z15','e,n,x','1,5','1,5','1,5','1,7','1,6','z39','[1,5]','1,5','1,2','z6','1,5','l,z13,z28','1,7','l,w','z42','e,n,x','1,5','1,5','e,n,z15','l,w','-','1,5','z35','z6','1,2','e,n,z15','e,n,z15','e,n,x','1,7','1,6','z42','z39','e,n,x,z15','1,5','e,n,x','l,w','z6','l,w','1,7','1,7','e,n,x','e,n,x','1,6','-','z39','z35','1,5','e,n,z15','1,5','z35','1,5','1,5','1,6','1,7','e,n,x','e,n,z15','l,w','z6','l,z13,z28','1,7','1,7','e,n,z15','l,w','z6','1,5','e,n,z15','1,6','1,5','e,n,x','z6','1,6','1,5','e,n,x','z6','e,n,z15','z6','1,5','e,n,x','1,[2],7','1,6','1,5','1,2','z6','1,5','z6','z39','e,n,x,z15','e,n,x','1,5','e,n,z15','l,w','1,7','1,5','z6','1,6','1,6','1,7','e,n,x','e,n,z15','1,2','e,n,z15','l,w','1,2','1,5','e,n,z15','e,n,x','1,6','z6','[e,n,x]','z6','1,5','-','e,n,x','1,2','1,6','1,7','1,5','e,n,x','e,n,x','e,n,z15','l,w','z42','z39','1,5','1,5','-','-','1,2','z6','1,5','1,2','1,2','z6','z39','e,n,x,z15','1,5','1,5','1,5','1,7','1,7','e,n,x','1,5','z35','z35','1,2','z6','e,n,z15','e,n,x','1,5','1,5','z6','e,n,z15','e,n,x','1,7','1,5','1,7','e,n,z15','e,n,z15','1,7','1,5','e,n,x','1,6','l,z13,z28','1,5','1,7','1,6','1,5','1,2','1,6','1,5','1,6','1,5','l,w','1,5','1,5','1,2','z6','1,2','z6','1,7','z6','1,5','1,7','1,6','1,2','1,2','1,5','1,6','1,2','1,5','1,6','1,7','1,2','1,5','e,n,z15','1,5','1,7','1,2','1,5','e,n,z15','1,5','z6','1,2','l,w','l,w','1,5','1,2','1,6','e,n,z15','1,2','l,w','z6','e,n,x','e,n,z15','1,6','1,2','e,n,x','l,w','1,7','1,6','1,2','1,5','1,5','1,2','e,n,z15','1,2','1,6','1,7','1,6','1,6','1,7','1,[5],7','1,[5],7','1,7','1,5,7','1,[5],7','1,2,7','1,5,7','1,6','1,[5],7','1,7','1,7','1,6','1,6','z6','1,6','1,6','1,6','1,5,7','1,6','1,[5],7','z87','-','1,6','-','-','e,n,x','-','-','e,n,x','-','-','e,n,x','-','e,n,z15','-','-','-','-','[1,6]','-','[e,n,x]','-','-','z6','1,2,7','e,n,x','1,2,7','1,7','-','1,5','-','e,n,x','-','[1,5]','[e,n,x]','[e,n,x]','z42','-','e,n,x','[z42]','z39','[1,5]','z42','[1,5]','-','z42','-','-','-','[e,n,z15]','1,6','-','-','1,5','[e,n,z15]','-','-','-','-','-','-','-','[e,n,x]','[1,6]','-','-','e,n,x','[1,5,7]','[e,n,x]','[z42]','-','-','-','-','-','[1,2]','-','-','-','1,2,7','z','-','-','-','e,n,x','[e,n,z15]','e,n,x','-','1,5','[1,5]','e,n,x','1,5','-','z39','e,n,x','z42','z6','-','z39','e,n,x','z6','-','1,7','e,n,x,z15','[z67]','z39','-','[1,5]','-','-','-','-','-','-','-','[1,6]','-','-','-','-','-','-','-','-','e,n,x','-','-','-','-','e,n,x','-','-','e,n,x','-','[1,2]','-','-','-','[1,5]','1,5','z42','-','-','-','-','[1,5]','z6','1,5','-','-','[e,n,x,z15]','-','z39','-','-','-','e,n,x','e,n,x,z15','-','1,5','e,n,x','-','1,5','z42','-','z39','[e,n,x]','-','-','-','e,n,z15','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','1,5','-','-','-','-','-','-','1,5','-','-','-','-','e,n,x,z15','-','-','e,n,z15','-','1,7','1,5','e,n,x','[e,n,x]','e,n,x','-','-','-','-','[z]','1,6','1,5','1,7','1,2','1,6','[e,n,x,z15]','1,5','z','1,2','e,n,x','z35','e,n,x','z','e,n,z15','e,n,z15','l,w','z35','1,7','e,n,x,z15','1,2','1,5,7','e,n,x,z15','e,n,x,z15','1,7','e,n,x,z15','z6','l,w','z53','z35','1,7','e,n,z15','z','z6','e,n,z15','1,6','1,5','1,5','z53','z','e,n,z15','z6','e,n,z15','l,w','[z35]','1,2','1,5','e,n,x,z15','e,n,x','e,n,x,z15','1,5','1,2','z35','e,n,x,z15','z','l,w','1,6','l,w','1,5','e,n,z15','e,n,x,z15','l,w','1,6','z6','1,6','1,7','z53','e,n,z15','z35','l,w','l,w','z6','z6','1,5,7','-','1,5','1,2','e,n,z15','e,n,x','z6','-','z61','1,5','e,n,x','e,n,z15','1,5','1,2','1,6','z53','1,5','z','z','z35','l,w','e,n,z15','e,n,x','1,6','1,5','1,5','z53','1,7','z35','1,6','e,n,x','l,w','z','z6','z53','e,n,z15','1,7','e,n,x,z15','e,n,z15','1,5','e,n,z15','z53','l,w','z35','z6','1,2','1,5,7','l,w','1,5','1,7','z','1,5','1,2','z6','1,2','1,6','e,n,x','z','e,n,z15','e,n,z15','1,2','1,5','1,5','1,2','e,n,x','1,5','e,n,z15','z53','1,2,5','[z6]','z','e,n,x,z15','z53','1,5','1,5','z6','z','1,6','e,n,x','1,6','1,5','e,n,z15','z39','-','1,5','z35','1,7','1,5','e,n,z15','1,5,7','z35','1,2','1,5','z','e,n,z15','1,5','z6','z','e,n,z15','e,n,x','1,7','1,6','1,5','1,7','1,5','z41','-','1,2','1,6','e,n,x','1,7','1,6','z','z53','z35','1,6','1,6','z6','z','z','e,n,x,z15','e,n,x,z15','1,5,7','z','1,2','1,7','z65','z53','1,5','1,6','e,n,x,z15','z','e,n,z15','1,2','z53','z53','z53','z35','z53','e,n,z15','e,n,x,[z15]','e,n,x,z15','1,7','l,z13,z28','1,5','e,n,z15','z53','e,n,z15','e,n,x','1,7','1,7','1,6','e,n,x,z15','1,2','e,n,x,z15','1,2','1,6','1,5','e,n,x','1,5,7','e,n,z15','z35','1,5','l,w','1,2','1,5','1,6','z','1,2','z','1,6','e,n,x','e,n,x,z15','z','z6','z','z53','1,2','1,6','e,n,x','z35','1,2','1,5','e,n,x,z15','z35','z53','e,n,x','z39','z','1,6','z53','e,n,x,z15','1,5','l,z13,z28','e,n,x','l,w','1,6','e,n,x','e,n,[x],z15','e,n,x,z15','1,5','1,6','1,5','e,n,x','1,5','z6','1,5','1,5,7','1,6','e,n,x,z15','e,n,x,z15','e,n,z15','z','z35','e,n,x','e,n,z15','1,5','1,2','[z6]','1,5','[1,5]','1,5','1,6','z53','z35','e,n,z15','1,5','1,5','1,5,7','e,n,z15','e,n,z15','1,7','e,n,x','1,7','e,n,z15','z6','1,6','z35','1,7','1,2','e,n,x','e,n,z15','z','z35','1,7','z88','1,2','z6','e,n,z15','e,n,x','1,7','1,6','1,5','z53','1,2','z','1,5,7','1,6','e,n,x','z','z6','1,7','z53','1,5,7','1,5','e,n,x','e,n,z15','z','1,5','z53','z35','e,n,x','1,7','e,n,x','e,n,x','e,n,z15','1,2','1,2','z67','1,5','e,n,x,z15','z35','[z53]','-','z57','z53','z35','1,2','1,2','z57','z35','z','e,n,x,z15','e,n,x','1,6','z35','1,2','e,n,x,z15','1,5','z','1,5,7','1,5','1,2','1,6','e,n,x','1,5','1,5','z','e,n,z15','z39','e,n,z15','e,n,x','e,n,x','z53','1,5','z','1,2','z53','z53','z','e,n,z15','1,5,7','e,n,x,z15','1,7','e,n,x','1,5','1,[5],7','1,5','e,n,x','e,n,z15','1,5','[e,n,z15]','1,7','e,n,x,z15','e,n,x','e,n,z15','z6','z39','1,2','1,6','e,n,x','1,6','e,n,z15','z35','z','1,5,7','z','z53','z','z53','e,n,x','z','z35','e,n,x,z15','z39','z35','z','e,n,x,z15','1,5','z35','1,5','1,2','1,5','1,7','e,n,x','e,n,x,z15','e,n,x,z15','z53','1,2','e,n,x,z15','e,n,z15','z','z53','z','1,5,7','z57','z35','e,n,x','1,5','z','e,n,x','z6','1,5','e,n,x','e,n,z15','e,n,z15','z6','-','1,2','-','1,5','z6','e,n,z15','e,n,x','1,6','1,2','z6','[z44]','1,5','1,5','1,5,7','e,n,z15','z42','e,n,x','e,n,x','z6','z35','[1,2]','1,6','e,n,x,z15','1,5','1,5','1,5','1,6','1,5,7','1,2','1,5','1,2','e,n,z15','1,7','1,5','e,n,x','e,n,z15','1,6','1,2','-','1,5','e,n,x','1,6','e,n,z15','e,n,z15','1,5','z6','z6','1,6','1,2','e,n,x','e,n,z15','1,7','1,5','e,n,z15','e,n,z15','1,6','e,n,x,z15','z6','e,n,x','1,5','e,n,z15','e,n,x','1,7','1,5','e,n,z15','z6','e,n,z15','e,n,z15','1,5','z39','1,2','z39','z6','z6','e,n,x','z42','z39','-','1,7','z6','1,7','e,n,x','e,n,x','1,5','e,n,x','e,n,x','[e,n,x]','e,n,x','1,5','1,5','z39','z42','z6','1,5','1,5','e,n,x','1,6','1,5','e,n,x','e,n,z15','e,n,x','z39','1,6','1,5','1,5','1,5','e,n,x','z39','e,n,x','1,5','-','z6','z42','e,n,x','e,n,x','1,5','e,n,z15','e,n,x','e,n,x','-','z42','1,5','z42','z42','-','-','z42','1,5','-','-','z39','e,n,x','-','e,n,x','z39','1,6','-','-','-','z6','-','1,5','-','1,5','[1,5]','e,n,x','e,n,x','1,5','e,n,x','-','e,n,z15','-','e,n,x','-','z64','1,6','-','-','-','-','[e,n,x,z15]','-','-','1,5','-','e,n,z15','-','-','-','-','-','-','z39','e,n,x','[1,6]','1,5','1,6','[z42]','e,n,z15','-','-','[e,n,z15]','e,n,x','[e,n,x]','e,n,x','1,5','e,n,x','e,n,x,z15','e,n,z15','z53','1,5','z','e,n,x,z15','1,6','l,z13,z28','z','1,2','l,w','z35','z53','z35','e,n,x,z15','z','z35','z53','z','-','e,n,z15','z','1,5','z53','1,7','e,n,z15','z','1,5','1,2','z','1,2','z35','1,5,7','1,6','e,n,z15','z6','1,5,7','e,n,x,z15','z','z35','z53','l,w','l,w','z','e,n,x,z15','e,n,x,z15','1,7','z6','1,6','e,n,z15','z','z35','z68','1,5','1,7','e,n,x','1,7','e,n,x','z','1,2','1,5','1,6','1,7','l,w','z','-','z','1,5','1,5,7','z53','z6','e,n,z15','1,5','e,n,x,z15','-','1,6','e,n,z15','l,w','e,n,z15','z53','z','z6','e,n,z15','1,7','1,5','l,w','1,6','1,5','e,n,z15','z6','1,2','-','-','1,6','e,n,x,z15','z','1,5,7','1,5','1,2','z','z53','z61','z35','z35','1,7','1,5','1,7','1,7','e,n,z15','1,2','e,n,z15','z35','1,5','e,n,z15','e,n,z15','l,w','e,n,z15','z6','1,5','1,5','l,w','e,n,x,z15','1,6','1,2','l,w','1,7','l,z13,z28','e,n,x','1,5','e,n,z15','e,n,z15','1,2','e,n,z15','z6','l,w','e,n,x','e,n,z15','e,n,x','1,5','z39','1,7','1,7','e,n,x','e,n,z15','1,7','1,2','1,6','1,5','1,6','1,7','1,7','e,n,x','e,n,x','1,2','1,2','1,5','z6','l,w','l,w','z39','1,7','1,6','z6','l,w','1,5','1,6','e,n,x','e,n,x','e,n,z15','1,7','1,6','e,n,x','1,2','1,5','1,2','1,2','1,5','1,6','z6','z6','e,n,z15','1,5','1,6','1,5','1,7','1,2','1,5','e,n,x','1,5','1,5','1,2','e,n,z15','1,6','1,7','e,n,z15','e,n,x','e,n,z15','1,7','e,n,x','e,n,z15','l,w','-','z6','1,6','1,5','e,n,z15','1,5','e,n,x','e,n,x','e,n,x,z15','1,5','1,5','e,n,x','e,n,x','1,7','l,w','e,n,z15','1,7','e,n,x,z15','1,7','z6','l,w','e,n,z15','1,7','1,6','1,2','e,n,x','l,w','e,n,x','1,5','1,2','l,w','e,n,x,z15','z6','1,7','1,5','-','e,n,z15','l,w','1,5','1,5','e,n,z15','1,5','z42','l,w','1,6','e,n,x','1,5','1,7','e,n,z15','e,n,z15','z39','1,5','1,5','e,n,z15','-','l,w','z6','z39','z39','z6','e,n,z15','1,6','1,6','e,n,x,z15','1,2','1,6','-','1,5','e,n,x','z6','z6','z39','z42','1,5','1,7','z39','1,5','1,2','z39','e,n,z15','e,n,x','1,5','1,5','1,6','1,6','1,5','e,n,z15','1,5','e,n,x,z15','1,5','1,5','1,6','1,7','1,7','e,n,x','e,n,x','z6','e,n,z15','1,7','1,2','1,6,[7]','1,5','e,n,z15','z6','z6','1,7','l,z13,z28','1,5','1,5','z6','1,5,7','1,5','z52','1,5','e,n,x','e,n,z15','z6','1,7','1,6','e,n,z15','1,6','z6','l,w','z39','z6','e,n,x','e,n,x','1,5','1,6','1,5','1,5','z42','-','1,5','e,n,x','l,w','e,n,z15','z39','z6','1,6','z42','z6','z39','e,n,x','l,w','e,n,[x],z15','1,7','1,6','1,5,7','1,5','1,5','1,5','e,n,x','z6','1,5','z39','e,n,z15','1,6','1,5','z6','l,w','1,7','e,n,z15','z52','e,n,x','1,5','e,n,x','1,6','1,7','e,n,x','e,n,x','l,w','z6','z35','e,n,x,z15','z6','1,5','z','e,n,x,z15','1,6','z35','z6','l,w','1,2','e,n,x','1,6','z35','1,7','e,n,x','e,n,z15','1,5','1,2','1,2','1,5','1,6','e,n,x','e,n,x','e,n,z15','-','e,n,x','e,n,z15','e,n,x','z35','z','1,5','z53','z6','z','1,5','e,n,z15','e,n,x','1,2','z','e,n,x,z15','e,n,x','1,6','1,5','z35','[1,5]','z35','z','e,n,z15','1,5,7','1,7','z6','z35','z','z57','z53','1,2','e,n,x,z15','e,n,x,z15','z','z6','z6','z35','z','z6','1,2','l,w','e,n,z15','e,n,x','z53','z6','e,n,x,z15','1,6','1,7','1,5','1,5','z53','z67','z','e,n,z15','l,w','z','e,n,x,z15','e,n,x','z6','e,n,z15','e,n,x,z15','1,6','1,2,7','1,5','1,6','z6','z6','e,n,x,z15','1,2','1,5','e,n,z15','e,n,x,z15','1,6','1,5','1,7','z53','z6','1,5','e,n,x,z15','e,n,x','z6','e,n,x,z15','z','z39','e,n,x','e,n,x','[z6]','1,7','-','z39','z6','z6','e,n,z15','e,n,x','1,7','1,2','1,5','z','1,5','z53','1,5','e,n,z15','1,2','z6','[1,5]','z','z53','1,6','1,5','1,2','z6','1,5','l,w','e,n,z15','-','e,n,z15','1,5','e,n,x','1,5','1,7','e,n,x','e,n,z15','z6','1,5','l,w','z6','z35','z6','1,2','-','e,n,x','e,n,x','-','-','-','-','-','e,n,x','z42','e,n,x','1,5','-','-','-','e,n,x','e,n,x,z15','-','-','-','z42','[e,n,x]','-','-','-','-','z42','-','1,5','-','1,5','-','1,5','e,n,x','-','-','e,n,x,z15','e,n,x','-','-','e,n,x','1,5','e,n,x','[e,n,z15]','[e,n,z15]','e,n,x','[z42]','-','-','-','-','1,5','-','-','[1,5]','-','-','-','-','-','e,n,x','1,5','[z6]','-','e,n,x','-','-','e,n,x','-','e,n,x','-','-','1,5','e,n,z15','1,7','1,6','z6','1,5','e,n,z15','1,7','-','1,5','1,6','1,6','e,n,z15','1,6','-','l,w','e,n,z15','e,n,z15','1,6','e,n,z15','1,6','e,n,z15','1,6','z6','z52','e,n,z15','e,n,x,z15','-','e,n,x,z15','e,n,x','e,n,z15','1,6','1,5','e,n,z15','z6','e,n,z15','e,n,z15','1,7','z6','1,6','z6','1,2','e,n,z15','1,2','-','1,6','z6','z6','1,6','-','-','-','-','-','-','-','-','-','-','-','e,n,z15','-','-','-','-','-','-','-','-','1,5','-','e,n,z15','z42','-','-','-','-','-','-','-','-','-','-','-','-','-','1,6','[z6]','z42','-','1,2','-','-','[e,n,z15]','-','-','[e,n,z15]','-','e,n,z15','-','-','-','-','1,2','-','-','-','[e,n,x]','-','-','z6','1,[5],7','e,n,x,z15','1,7','1,[5],7','-','1,7','1,5,7','[1,6]','1,7','1,7','1,7','1,5','-','z81','-','1,5,7','e,n,x,z15','e,n,x,z15','-','1,6','1,6','1,2','1,5,7','-','z6','1,7','[e,n,z15]','-','-','-','z6','[1,2]','1,6','e,n,z15','-','-','e,n,x','[e,n,z15]','z64','-','-','-','-','-','-','1,6','-','-','-','-','1,2','-','-','1,5','-','[1,2]','-','-','-','-','-','-','-','-','1,5','1,6','-','-','-','e,n,z15','-','e,n,z15','-','-','e,n,z15','-','-','-','-','-','-','1,6','z6','l,w','-','-','-','-','-','-','z6','1,6','e,n,z15','z6','1,7','-','[e,n,z15]','[1,6]','z6','-','-','[1,7]','-','-','l,w','-','1,5','-','-','[1,7]','-','1,7','e,n,z15','-','-','-','-','-','-','-','-','-','-','-','-','1,5','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','z39','1,5','z42','-','-','-','-','-','-','-','-','-','-','-','-','-','-','z39','-','-','-','-','-','[1,5]','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','1,2,5','1,2','-','l,w','e,n,z15','z6','1,2','1,7','1,5','-','-','-','z35','1,[2],5','1,7','1,6','1,6','1,5,7','[1,5,7]','1,[5],7','1,6','1,[5],7','1,6','-','-','1,5,7','z35','z35','z53','z53','z35','z','z53','z','1,5,7','-','z35','z53','z35','1,5,[7]','z','z','z35','z53','e,n,x,z15','1,5','e,n,x,z15','1,5,7','z53','z35','z','z','1,5,7','z53','z','z35','z35','e,n,x,z15','z35','z53','e,n,x,z15','z','z35','e,n,x,z15','1,5,7','-','-','1,5','1,6','1,6','z67','1,6','1,6','1,6','1,5','1,7','1,2','[z53]','-','e,n,x,z15','-','1,7','-','-','-','-','z6','-','e,n,z15'] + +phaseO=['39','4','53','51','18','41','65','9','13','7','11','7','38','59','53','59','60','18','18','38','38','38','63','7','61','35','41','16','16','8','65','59','65','65','42','9','47','39','40','13','28','30','28','57','28','52','57','52','28','3,10','9','9,46,27','3,10','47','47','21','45','3,10','11','3,10','3,10','35','3,10','3,10','28','11','28','3,10','45','45','11','11','11','28','11','16','13','7','7','39','7','7','16','16','16','7','16','7','7','16','7','48','48','48','40','40','40','40','16','44','30','30','30','51','51','51','42','58','13','7','13','30','13','13','13','38','50','41','9,46','9,46','9,46','7','13','9','9','17','9','17','43','43','43','43','8','9','4','17','8','9','8','1,3,19','1,3,19','1,3,19','1,3,19','9','8','2','4','8','8','4','6,14','4','4','8','4','9','6,14','6,14','44','44','44','4','9','4','9','11','11','8','8','8','4','18','4','6,14','11','35','4','4','42','9,46','42','9,46','9,46','42','1,3,19','9,46','9,46','9,46','9,46','7','7','13','4','43','43','43','1,3,19','1,3,19','4','1,3,19','9,46','42','4','7','7','7','7','7','4','42','7','44','41','44','16','16','16','17','17','17','17','39','17','16','48','48','48','44','40','40','40','40','40','40','17','4','38','50','50','50','38','41','41','1,3,19','41','39','4','7','16','16','16','1,3,19','7','7','16','16','16','16','41','11','8','54','8','6,14','6,14','6,14','4','3,10','11','11','11','8','11','45','11','3,10','30','3,10','42','13','8','4','13','8','8','11','57','9','8','8','9','3,10','3,10','9','3,10','3,10','21','9','8','57','8','8','8','9','21','8','3,10','21','9','56','8','45','1,3,19','9','3,10','4','60','13','6,14','47','47','47','47','47','18','8','3,10','13','3,10','30','30','30','51','51','58','30','13','30','42','18','13','28','13','13','28','28','28','13','28','28','13','8','52','52','13','28','28','40','42','43','41','1,3,19','42','47','47','47','1,3,19','44','6,14','6,14','6,14','13','17','9','9','47','35','1,3,19','9','9','45','41','6,14','9','44','47','41','11','7','21','8','21','8','8','8','8','8','35','8','40','8','53','21','11','28','28','28','52','28','28','28','11','11','7','7','7','18','17','17','65','65','65','3,10','3,10','3,10','3,10','61','61','3,10','8','3,10','9,46,27','59','4','4','4','58','4','4','4','57','57','4','21','3,10','30','35','9,46','39','16','16','7','7','7','30','7','38','48','38','8','9,46','16','30','51','7','16','40','16','18','16','16','18','16','38','38','38','16','7','43','7','16','7','7','3,10','40','17','17','17','40','39','3,10','3,10','3,10','3,10','7','3,10','3,10','3,10','43','43','43','3,10','16','3,10','9,46','35','6,14','6,14','6,14','6,14','9,46','9','9','9','6,14','9,46','6,14','9,46','30','28','28','28','28','28','28','42','6,14','9,46','9','16','16','16','35','6,14','9','21','21','21','6,14','9','16','41','9','9','9,46','7','7','7','7','7','6,14','41','1,3,19','47','47','47','47','1,3,19','1,3,19','1,3,19','13','4','13','13','13','9','13','48','13','13','11','11','45','45','45','13','11','11','50','50','13','4','4','4','1,3,19','4','4','4','4','53','53','53','4','56','48','1,3,19','48','57','8','8','58','52','52','52','8','8','8','8','8','13','4','44','13','8','44','44','51','44','8','8','3,10','4','28','28','28','9','9','9','4','4','11','6,14','3,10','3,10','3,10','3,10','1,3,19','8','8','48','3,10','1,3,19','54','17','3,10','4','16','6,14','9,46','9,46','52','52','9,46','8','4','6,14','7','7','7','7','40','6,14','3,10','8','8','8','13','7','16','8','11','4','13','30','30','16','1,3,19','9','1,3,19','35','8','8','13','51','16','16','1,3,19','11','39','39','38','38','4','16','54','50','7','16','3,10','4','40','56','16','13','4','9,46','44','9','39','28','9','42','48','40','47','17','43','43','17','28','6,14','7','9,46','4','13','44','47','21','28','7','3,10','45','8','1,3,19','16','35','13','3,10','43','8','54','4','4','7','7','1,3,19','1,3,19','1,3,19','28','7','40','21','40','9,46','16','40','16','4','7','11','50','57','4','1,3,19','13','13','9','47','28','28','6,14','40','11','13','4','9,46','2','3,10','18','7','38','8','44','45','13','7','9','13','43','30','7','16','1,3,19','9','4','9','3,10','16','9,46','13','30','35','6,14','30','28','40','8','13','3,10','9','45','17','7','45','13','41','35','28','28','60','8','8','45','4','4','35','13','48','6,14','2','9','9','9','9','7','7','9,46','11','6,14','13','30','45','35','9','8','8','16','28','51','17','1,3,19','28','44','4','18','54','3,10','13','44','44','43','30','38','41','43','13','13','52','40','17','42','17','65','4','3,10','9,46,27','40','57','3,10','13','52','35','35','35','40','7','50','51','48','7','21','21','63','62','53','43','11','7','35','30','43','44','44','13','53','47','9','18','18','45','40','50','45','7','41','42','48','42','40','38','38','4','40','4','42','50','9','43','9,46','4','9','9','60','28','1,3,19','28','1,3,19','1,3,19','60','28','53','28','1,3,19','59','28','65','3,10','1,3,19','1,3,19','17','17','50','21','21','21','65','16','61','16','16','61','61','3,10','16','59','9,46','9,46','16','51','16','58','61','30','54','28','28','60','3,10','3,10','58','3,10','59','30','30','16','57','57','30','3,10','8','8','47','47','42','42','42','8','8','38','8','47','8','3,10','1,3,19','3,10','40','13','13','4','44','8','4','48','48','39','39','39','41','8','41','48','8','48','47','4','4','4','4','4','4','9','47','13','48','11','11','7','35','8','50','13','7','35','7','11','35','35','35','35','35','11','50','13','6,14','6,14','38','38','38','7','43','7','43','50','6,14','6,14','7','7','8','8','8','8','8','53','21','7','21','21','6,14','9','54','6,14','6,14','9','6,14','6,14','6,14','7','55','17','47','60','45','45','44','61','61','43','43','43','45','7','42','17','17','17','17','17','17','1,3,19','1,3,19','13','13','7','47','7','7','7','58','47','47','41','41','41','47','60','47','57','47','53','47','3,10','59','59','18','42','42','42','47','11','48','11','16','50','50','3,10','11','53','11','11','11','16','35','28','28','28','28','28','50','28','35','30','11','38','50','50','51','51','13','11','9,46','9,46','9,46','16','38','35','38','38','38','50','50','38','38','16','16','16','9,46','3,10','52','52','52','52','40','48','40','40','40','40','3,10','30','3,10','3,10','30','30','30','30','28','4','39','39','40','40','4','48','4','48','48','48','48','48','4','4','30','4','42','1,3,19','16','4','7','7','7','16','1,3,19','13','13','13','7','7','7','1,3,19','1,3,19','7','13','3,10','16','3,10','6,14','6,14','6,14','6,14','6,14','6,14','7','3,10','3,10','3,10','3,10','3,10','3,10','6,14','11','38','16','16','16','16','16','6,14','16','7','11','11','11','11','7','11','16','38','4','4','4','4','8','8','50','38','42','38','38','47','47','47','47','38','30','50','50','50','50','9,46','9,46','35','50','35','30','48','48','48','4','4','47','9,46','9','47','38','9','9','9','9','40','9','40','9','43','42','42','42','42','42','9','8','4','47','39','39','39','8','45','8','47','8','8','8','4','40','40','40','8','28','61','61','61','60','59','59','52','28','21','58','58','56','53','53','53','28','65','2','17','17','17','17','17','65','65','51','18','18','18','18','65','35','21','17','51','51','51','13','4','9','9','18','4','8','21','7','9,46','11','16','16','16','16','8','3,10','43','52','7','7','7','7','4','42','16','42','40','4','50','1,3,19','16','4','28','48','3,10','3,10','11','13','9','9','7','16','1,3,19','1,3,19','43','7','9','4','8','7','43','7','58','30','1,3,19','11','30','7','28','28','47','16','41','16','16','58','9,46','4','4','8','3,10','3,10','4','1,3,19','11','9,46,27','40','53','51','53','53','50','51','56','3,10','7','1,3,19','11','3,10','13','1,3,19','4','4','8','44','51','3,10','13','13','13','3,10','39','9','9','9','9','6,14','40','40','40','40','9','7','39','3,10','7','35','30','16','28','28','28','21','17','40','7','40','6,14','13','13','13','8','44','13','40','13','40','40','54','9,46','9','41','9,46','44','45','50','8','8','9','9','4','11','13','45','3,10','7','4','51','8','7','7','7','11','1,3,19','17','17','42','35','35','18','18','47','21','21','6,14','38','16','30','28','6,14','3,10','3,10','28','16','16','42','39','28','16','28','9','11','11','35','11','42','30','48','48','30','11','42','30','42','61','58','59','60','60','60','60','21','21','28','61','41','61','41','1,3,19','18','18','67','17','17','65','61','16','9,46','9,46','50','50','50','50','50','28','35','58','47','58','16','16','28','42','53','53','53','54','9,46','28','9','9','6,14','4','4','4','4','8','8','44','35','44','47','40','4','44','9','43','13','13','13','7','7','43','43','3,10','3,10','3,10','3,10','4','38','7','9','9','7','42','42','7','38','38','38','38','47','47','47','35','35','38','8','8','8','7','45','8','28','47','8','8','4','8','6,14','8','28','16','1,3,19','11','3,10','3,10','4','28','51','16','6,14','16','8','3,10','8','9,46','9,46','9,46','3,10','3,10','3,10','9','9','9,46','7','7','3,10','8','8','8','8','8','8','8','8','7','8','7','8','8','8','9,46,27','7','7','3,10','3,10','8','50','38','30','30','4','4','21','21','30','4','30','16','16','42','28','16','38','38','4','28','28','28','4','54','43','43','4','30','6,14','42','28','28','6,14','6,14','6,14','28','17','4','47','11','39','1,3,19','16','11','11','39','40','1,3,19','47','11','17','1,3,19','1,3,19','18','18','13','13','17','13','13','39','1,3,19','1,3,19','17','17','17','17','47','8','17','47','18','43','44','44','45','45','8','7','8','47','44','8','8','8','8','45','9','28','4','38','4','4','4','9','9','9','42','9','42','9','41','21','40','40','40','40','40','40','41','9','28','43','4','9,46','9,46','9,46','9,46','28','17','28','42','28','43','30','4','4','4','4','4','4','4','42','42','28','7','7','7','13','13','56','13','6,14','7','13','53','53','53','52','6,14','6,14','6,14','59','3,10','13','17','13','47','13','3,10','3,10','7','3,10','13','3,10','3,10','3,10','13','13','13','6,14','3,10','1,3,19','52','16','6,14','16','7','7','16','1,3,19','16','1,3,19','1,3,19','48','48','48','1,3,19','60','1,3,19','11','11','51','51','51','11','7','11','7','50','50','16','7','16','16','16','11','7','7','7','41','41','7','65','65','4','4','4','4','7','8','7','61','7','4','7','4','4','41','41','41','41','7','4','45','56','54','54','53','53','51','50','50','50','43','8','44','8','48','48','48','48','48','40','48','47','47','47','47','44','8','60','60','59','59','42','42','42','42','42','42','42','57','8','8','8','8','8','58','58','58','58','8','8','8','60','42','28','28','28','17','17','17','16','16','16','16','6,14','16','28','18','6,14','6,14','30','30','30','30','6,14','6,14','16','21','18','18','18','40','39','21','21','9,46,27','9,46,27','28','21','28','17','9,46','9,46','9,46','9,46','9,46','9,46','28','28','6,14','9,46,27','6,14','3,10','9','11','13','38','38','38','3,10','13','3,10','9','9','13','13','39','1,3,19','1,3,19','11','11','3,10','3,10','3,10','3,10','35','35','35','35','40','6,14','62','3,10','44','44','17','45','59','44','60','45','45','45','45','17','17','13','51','3,10','50','50','43','3,10','48','53','48','48','57','13','13','54','13','16','16','16','47','47','47','13','56','13','35','8','8','8','8','8','7','7','42','28','43','28','9,46','30','42','35','35','41','41','41','9','9','1,3,19','4','4','40','40','28','21','43','43','43','9,46','28','28','28','3,10','4','30','4','66','1,3,19','3,10','17','7','30','48','3,10','4','13','13','13','13','38','41','9','48','47','3,10','61','40','16','16','16','45','9,46','47','21','40','3,10','42','43','4','8','42','8','40','7','9,46','8','42','4','40','59','62','7','43','17','59','6,14','45','45','16','16','47','42','42','21','3,10','48','35','6,14','50','7','7','41','41','63','18','17','21','48','44','53','45','18','43','35','3,10','3,10','3,10','11','3,10','41','9,46','1,3,19','9','38','4','30','28','44','8','16','18','7','7','43','47','6,14','13','13','42','4','44','9,46','3,10','13','13','13','16','30','9','40','40','44','48','48','52','57','58','66','40','40','7','7','40','7','41','41','43','41','38','4','4','42','42','42','18','8','28','18','18','18','21','21','21','40','28','39','30','35','35','38','38','43','28','57','43','51','51','7','53','53','50','56','7','7','7','59','62','63','7','54','47','43','44','44','44','44','44','50','45','41','47','47','47','47','48','48','45','16','6,14','1,3,19','11','11','3,10','8','11','6,14','16','16','16','11','3,10','9,46','13','8','13','6,14','17','8','9','13','8','8','13','53','41','48','56','17','50','44','17','44','1,3,19','43','41','42','41','11','42','42','43','48','8','8','53','53','9','51','50','50','9,46','9,46,27','7','44','48','48','47','3,10','3,10','45','45','7','7','9,46','16','6,14','6,14','40','38','40','35','40','35','4','44','30','28','16','18','13','13','21','21','18','16','17','45','63','62','35','18','21','48','16','44','51','48','50','50','8','40','44','43','11','41','40','60','4','40','9,46','7','4','8','11','7','9','42','48','66','7','3,10','50','57','6,14','16','43','9','40','7','16','47','7','52','58','53','53','65','65','65','59','58','61','41','16','61','61','60','61','60','60','60','65','47','48','35','50','47','47','48','47','43','35','35','6,14','6,14','38','38','47','42','50','35','50','38','47','42','58','30','9','47','16','42','40','7','8','38','48','21','66','3,10','18','48','40','66','40','4','7'] + +remove_list=['Fulica', 'Schleissheim', 'Sendai', 'Blegdam', 'Naestved', 'Rostock', 'Moscow', 'Antarctica', 'Rosenberg', 'Chittagong', 'Bilu', 'Dessau', 'Cannonhill', 'Ilugun'] + +rename_dict={'Nitra': 'Enteritidis', + 'Kiel': 'Dublin', + 'Koessen': 'Panama', + 'Phaliron': 'Kalumburu', + 'Istanbul': 'Hadar', + 'Haardt': 'Blockley', + 'Ferruch': 'Kottbus', + 'Sanga': 'Eboko', + 'Pakistan': 'Litchfield', + 'Bellevue': 'Lezennes', + 'Sunnycove': 'Daarle', + 'Noya': 'Akanji', + 'Virginia': 'Muenchen', + 'Djelfa': 'Skansen', + 'Konstanz': 'Gatuni', + 'Bardo': 'Newport', + 'Houston': 'Panama', + 'Martonos': 'Finkenwerder', + 'Midway': 'Florida', + 'Lindern': 'Charity', + 'Bahrenfeld': 'Onderstepoort', + 'Schalkwijk': 'Moussoro', + 'Amberg': 'Boecker', + 'Madelia': 'Carrau', + 'Soahanina': 'Sundsvall', + 'Stafford': 'Poano', + 'Chichiri': 'Uzaramo', + 'II 16:g,[m],[s],t:[e,n,x]': 'II 16:g,[m],[s],t:[1,5]', + 'Hindmarsh':'Bovismorbificans', + 'Yovokome': 'Manhattan'} + + #potential merge for O22 and O23 + #'Ibadan': 'Mississippi', + #'Bracknell': 'Oudwijk', + #'Vaertan': 'Ullevi', + #'Bahati': 'Durham', + #'Wichita': 'Friedenau', + #'Diguel': 'Telelkebir', + #'II 13,22:l,z28:1,5': 'II 13,23:l,z28:1,5', + #'Washington': 'Kintambo', + #'II 13,23:m,t:z42': 'II 13,22:m,t:z42:z39', + #'Serenli': 'Winslow', + #'Farmsen': 'Poona', + #'Durance': 'Ivrysurseine', + #'Agoueve': 'Cubana', + #'II 13,23:z29:1,5': 'II 13,22:z29:1,5', + #'II 13,23:z29:e,n,x': 'II 13,22:z29:e,n,x', + #'Picpus': 'Mampong', + #'Anna': 'Nimes', + #'Fanti': 'Leiden', + #'Ried': 'Ajiobo', + + #potential O68 list + #'Djelfa': 'Skansen', + #'Korbol': 'Nagoya', + #'Sanga': 'Eboko', + #'Konstanz': 'Gatuni', + #'Presov': 'Shipley', + #'Heistopdenberg': 'Bukuru', + #'Tounouma': 'Banalia', + #'Gaillac': 'Utah', + #'Santiago': 'Belem', + #'Virginia': 'Muenchen', + #'Yovokome': 'Manhattan', + #'Portanigra': 'Dunkwa', + #'Bardo': 'Newport', + #'Ferruch': 'Kottbus', + #'Alminko': 'Nanergou', + #'Bargny': 'Takoradi', + #'Magherafelt': 'Cyprus', + #'Haardt': 'Blockley', + #'Pakistan': 'Litchfield', + #'Yokoe': 'Bassa', + #'Noya': 'Akanji', + #'Lamphun': 'Giza', + #'Tananarive': 'Brunei', + #'Inchpark': 'Alagbon', + #'Sunnycove': 'Daarle', + #'Sindelfingen': 'Benue', + #'Phaliron': 'Kalumburu', + #'Bazenheid': 'Zerifin', + #'Paris': 'Mapo', + #'Istanbul': 'Hadar', + #'Chomedey': 'Glostrup', + #'Wippra': 'Molade', + #'Uno': 'Tamale', + #'Kolda': 'Yarm', + #'Bellevue': 'Lezennes', + #'Albany':'Duesseldorf' \ No newline at end of file diff -r 613775dc3491 -r a51d3bce2612 LICENSE --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LICENSE Wed Oct 02 20:37:03 2019 -0400 @@ -0,0 +1,339 @@ +GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {description} + Copyright (C) {year} {fullname} + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + {signature of Ty Coon}, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff -r 613775dc3491 -r a51d3bce2612 MANIFEST.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MANIFEST.in Wed Oct 02 20:37:03 2019 -0400 @@ -0,0 +1,10 @@ +include LICENSE +include README.md +include MANIFEST.in +include version.py +include setup.py +include seqsero2_db/antigens.pickle +include seqsero2_db/H_and_O_and_specific_genes.fasta +include seqsero2_db/invA_mers_dict +include seqsero2_db/special.pickle +include bin/deinterleave_fastq.sh diff -r 613775dc3491 -r a51d3bce2612 SalmID.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SalmID.py Wed Oct 02 20:37:03 2019 -0400 @@ -0,0 +1,386 @@ +#!/usr/bin/env python3 + + +import gzip +import io +import pickle +import os +import sys + +from argparse import ArgumentParser +try: + from .version import SalmID_version +except ImportError: + SalmID_version = "version unknown" + + +def reverse_complement(sequence): + """return the reverse complement of a nucleotide (including IUPAC ambiguous nuceotide codes)""" + complement = {'A': 'T', 'C': 'G', 'G': 'C', 'T': 'A', 'N': 'N', 'M': 'K', 'R': 'Y', 'W': 'W', + 'S': 'S', 'Y': 'R', 'K': 'M', 'V': 'B', 'H': 'D', 'D': 'H', 'B': 'V'} + return "".join(complement[base] for base in reversed(sequence)) + + +def parse_args(): + "Parse the input arguments, use '-h' for help." + parser = ArgumentParser(description='SalmID - rapid Kmer based Salmonella identifier from sequence data') + # inputs + parser.add_argument('-v', '--version', action='version', version='%(prog)s ' + SalmID_version) + parser.add_argument( + '-i', '--input_file', type=str, required=False, default='None', metavar='your_fastqgz', + help='Single fastq.gz file input, include path to file if file is not in same directory ') + parser.add_argument( + '-e', '--extension', type=str, required=False, default='.fastq.gz', metavar='file_extension', + help='File extension, if specified without "--input_dir", SalmID will attempt to ID all files\n' + + ' with this extension in current directory, otherwise files in input directory') + + parser.add_argument( + '-d', '--input_dir', type=str, required=False, default='.', metavar='directory', + help='Directory which contains data for identification, when not specified files in current directory will be analyzed.') + parser.add_argument( + '-r', '--report', type=str, required=False, default='percentage', metavar='percentage, coverage or taxonomy', + help='Report either percentage ("percentage") of clade specific kmers recovered, average kmer-coverage ("cov"), or ' + 'taxonomy (taxonomic species ID, plus observed mean k-mer coverages and expected coverage).') + parser.add_argument( + '-m', '--mode', type=str, required=False, default='quick', metavar='quick or thorough', + help='Quick [quick] or thorough [thorough] mode') + if len(sys.argv) == 1: + parser.print_help(sys.stderr) + sys.exit(1) + return parser.parse_args() + + +def get_av_read_length(file): + """Samples the first 100 reads from a fastq file and return the average read length.""" + i = 1 + n_reads = 0 + total_length = 0 + if file.endswith(".gz"): + file_content = io.BufferedReader(gzip.open(file)) + else: + file_content = open(file, "r").readlines() + for line in file_content: + if i % 4 == 2: + total_length += len(line.strip()) + n_reads += 1 + i += 1 + if n_reads == 100: + break + return total_length / 100 + + +def createKmerDict_reads(list_of_strings, kmer): + """Count occurence of K-mers in a list of strings + + Args: + list_of_strings(list of str): nucleotide sequences as a list of strings + kmer(int): length of the K-mer to count + + Returns: + dict: dictionary with kmers as keys, counts for each kmer as values""" + kmer_table = {} + for string in list_of_strings: + sequence = string.strip('\n') + if len(sequence) >= kmer: + for i in range(len(sequence) - kmer + 1): + new_mer = sequence[i:i + kmer] + new_mer_rc = reverse_complement(new_mer) + if new_mer in kmer_table: + kmer_table[new_mer.upper()] += 1 + else: + kmer_table[new_mer.upper()] = 1 + if new_mer_rc in kmer_table: + kmer_table[new_mer_rc.upper()] += 1 + else: + kmer_table[new_mer_rc.upper()] = 1 + return kmer_table + + +def target_read_kmerizer_multi(file, k, kmerDict_1, kmerDict_2, mode): + mean_1 = None + mean_2 = None + i = 1 + n_reads_1 = 0 + n_reads_2 = 0 + total_coverage_1 = 0 + total_coverage_2 = 0 + reads_1 = [] + reads_2 = [] + total_reads = 0 + if file.endswith(".gz"): + file_content = io.BufferedReader(gzip.open(file)) + else: + file_content = open(file, "r").readlines() + for line in file_content: + start = int((len(line) - k) // 2) + if i % 4 == 2: + total_reads += 1 + if file.endswith(".gz"): + s1 = line[start:k + start].decode() + line = line.decode() + else: + s1 = line[start:k + start] + if s1 in kmerDict_1: + n_reads_1 += 1 + total_coverage_1 += len(line) + reads_1.append(line) + if s1 in kmerDict_2: + n_reads_2 += 1 + total_coverage_2 += len(line) + reads_2.append(line) + i += 1 + if mode == 'quick': + if total_coverage_2 >= 800000: + break + + if len(reads_1) == 0: + kmer_Dict1 = {} + else: + kmer_Dict1 = createKmerDict_reads(reads_1, k) + mers_1 = set([key for key in kmer_Dict1]) + mean_1 = sum([kmer_Dict1[key] for key in kmer_Dict1]) / len(mers_1) + if len(reads_2) == 0: + kmer_Dict2 = {} + else: + kmer_Dict2 = createKmerDict_reads(reads_2, k) + mers_2 = set([key for key in kmer_Dict2]) + mean_2 = sum([kmer_Dict2[key] for key in kmer_Dict2]) / len(mers_2) + return kmer_Dict1, kmer_Dict2, mean_1, mean_2, total_reads + + +def mean_cov_selected_kmers(iterable, kmer_dict, clade_specific_kmers): + ''' + Given an iterable (list, set, dictrionary) returns mean coverage for the kmers in iterable + :param iterable: set, list or dictionary containing kmers + :param kmer_dict: dictionary with kmers as keys, kmer-frequency as value + :param clade_specific_kmers: list, dict or set of clade specific kmers + :return: mean frequency as float + ''' + if len(iterable) == 0: + return 0 + return sum([kmer_dict[value] for value in iterable]) / len(clade_specific_kmers) + + +def kmer_lists(query_fastq_gz, k, + allmers, allmers_rpoB, + uniqmers_bongori, + uniqmers_I, + uniqmers_IIa, + uniqmers_IIb, + uniqmers_IIIa, + uniqmers_IIIb, + uniqmers_IV, + uniqmers_VI, + uniqmers_VII, + uniqmers_VIII, + uniqmers_bongori_rpoB, + uniqmers_S_enterica_rpoB, + uniqmers_Escherichia_rpoB, + uniqmers_Listeria_ss_rpoB, + uniqmers_Lmono_rpoB, + mode): + dict_invA, dict_rpoB, mean_invA, mean_rpoB, total_reads = target_read_kmerizer_multi(query_fastq_gz, k, allmers, + allmers_rpoB, mode) + target_mers_invA = set([key for key in dict_invA]) + target_mers_rpoB = set([key for key in dict_rpoB]) + if target_mers_invA == 0: + print('No reads found matching invA, no Salmonella in sample?') + else: + p_bongori = (len(uniqmers_bongori & target_mers_invA) / len(uniqmers_bongori)) * 100 + p_I = (len(uniqmers_I & target_mers_invA) / len(uniqmers_I)) * 100 + p_IIa = (len(uniqmers_IIa & target_mers_invA) / len(uniqmers_IIa)) * 100 + p_IIb = (len(uniqmers_IIb & target_mers_invA) / len(uniqmers_IIb)) * 100 + p_IIIa = (len(uniqmers_IIIa & target_mers_invA) / len(uniqmers_IIIa)) * 100 + p_IIIb = (len(uniqmers_IIIb & target_mers_invA) / len(uniqmers_IIIb)) * 100 + p_VI = (len(uniqmers_VI & target_mers_invA) / len(uniqmers_VI)) * 100 + p_IV = (len(uniqmers_IV & target_mers_invA) / len(uniqmers_IV)) * 100 + p_VII = (len(uniqmers_VII & target_mers_invA) / len(uniqmers_VII)) * 100 + p_VIII = (len(uniqmers_VIII & target_mers_invA) / len(uniqmers_VIII)) * 100 + p_bongori_rpoB = (len(uniqmers_bongori_rpoB & target_mers_rpoB) / len(uniqmers_bongori_rpoB)) * 100 + p_Senterica = (len(uniqmers_S_enterica_rpoB & target_mers_rpoB) / len(uniqmers_S_enterica_rpoB)) * 100 + p_Escherichia = (len(uniqmers_Escherichia_rpoB & target_mers_rpoB) / len(uniqmers_Escherichia_rpoB)) * 100 + p_Listeria_ss = (len(uniqmers_Listeria_ss_rpoB & target_mers_rpoB) / len(uniqmers_Listeria_ss_rpoB)) * 100 + p_Lmono = (len(uniqmers_Lmono_rpoB & target_mers_rpoB) / len(uniqmers_Lmono_rpoB)) * 100 + bongori_invA_cov = mean_cov_selected_kmers(uniqmers_bongori & target_mers_invA, dict_invA, uniqmers_bongori) + I_invA_cov = mean_cov_selected_kmers(uniqmers_I & target_mers_invA, dict_invA, uniqmers_I) + IIa_invA_cov = mean_cov_selected_kmers(uniqmers_IIa & target_mers_invA, dict_invA, uniqmers_IIa) + IIb_invA_cov = mean_cov_selected_kmers(uniqmers_IIb & target_mers_invA, dict_invA, uniqmers_IIb) + IIIa_invA_cov = mean_cov_selected_kmers(uniqmers_IIIa & target_mers_invA, dict_invA, uniqmers_IIIa) + IIIb_invA_cov = mean_cov_selected_kmers(uniqmers_IIIb & target_mers_invA, dict_invA, uniqmers_IIIb) + IV_invA_cov = mean_cov_selected_kmers(uniqmers_IV & target_mers_invA, dict_invA, uniqmers_IV) + VI_invA_cov = mean_cov_selected_kmers(uniqmers_VI & target_mers_invA, dict_invA, uniqmers_VI) + VII_invA_cov = mean_cov_selected_kmers(uniqmers_VII & target_mers_invA, dict_invA, uniqmers_VII) + VIII_invA_cov = mean_cov_selected_kmers(uniqmers_VIII & target_mers_invA, dict_invA, uniqmers_VIII) + S_enterica_rpoB_cov = mean_cov_selected_kmers((uniqmers_S_enterica_rpoB & target_mers_rpoB), dict_rpoB, + uniqmers_S_enterica_rpoB) + S_bongori_rpoB_cov = mean_cov_selected_kmers((uniqmers_bongori_rpoB & target_mers_rpoB), dict_rpoB, + uniqmers_bongori_rpoB) + Escherichia_rpoB_cov = mean_cov_selected_kmers((uniqmers_Escherichia_rpoB & target_mers_rpoB), dict_rpoB, + uniqmers_Escherichia_rpoB) + Listeria_ss_rpoB_cov = mean_cov_selected_kmers((uniqmers_Listeria_ss_rpoB & target_mers_rpoB), dict_rpoB, + uniqmers_Listeria_ss_rpoB) + Lmono_rpoB_cov = mean_cov_selected_kmers((uniqmers_Lmono_rpoB & target_mers_rpoB), dict_rpoB, + uniqmers_Lmono_rpoB) + coverages = [Listeria_ss_rpoB_cov, Lmono_rpoB_cov, Escherichia_rpoB_cov, S_bongori_rpoB_cov, + S_enterica_rpoB_cov, bongori_invA_cov, I_invA_cov, IIa_invA_cov, IIb_invA_cov, + IIIa_invA_cov, IIIb_invA_cov, IV_invA_cov, VI_invA_cov, VII_invA_cov, VIII_invA_cov] + locus_scores = [p_Listeria_ss, p_Lmono, p_Escherichia, p_bongori_rpoB, p_Senterica, p_bongori, + p_I, p_IIa, p_IIb, p_IIIa, p_IIIb, p_IV, p_VI, p_VII, p_VIII] + return locus_scores, coverages, total_reads + + +def report_taxon(locus_covs, average_read_length, number_of_reads): + list_taxa = [ 'Listeria ss', 'Listeria monocytogenes', 'Escherichia sp.', # noqa: E201 + 'Salmonella bongori (rpoB)', 'Salmonella enterica (rpoB)', + 'Salmonella bongori (invA)', 'S. enterica subsp. enterica (invA)', + 'S. enterica subsp. salamae (invA: clade a)', 'S. enterica subsp. salamae (invA: clade b)', + 'S. enterica subsp. arizonae (invA)', 'S. enterica subsp. diarizonae (invA)', + 'S. enterica subsp. houtenae (invA)', 'S. enterica subsp. indica (invA)', + 'S. enterica subsp. VII (invA)', 'S. enterica subsp. salamae (invA: clade VIII)' ] # noqa: E202 + if sum(locus_covs) < 1: + rpoB = ('No rpoB matches!', 0) + invA = ('No invA matches!', 0) + return rpoB, invA, 0.0 + else: + # given list of scores get taxon + if sum(locus_covs[0:5]) > 0: + best_rpoB = max(range(len(locus_covs[1:5])), key=lambda x: locus_covs[1:5][x]) + 1 + all_rpoB = max(range(len(locus_covs[0:5])), key=lambda x: locus_covs[0:5][x]) + if (locus_covs[best_rpoB] != 0) & (all_rpoB == 0): + rpoB = (list_taxa[best_rpoB], locus_covs[best_rpoB]) + elif (all_rpoB == 0) & (round(sum(locus_covs[1:5]), 1) < 1): + rpoB = (list_taxa[0], locus_covs[0]) + else: + rpoB = (list_taxa[best_rpoB], locus_covs[best_rpoB]) + else: + rpoB = ('No rpoB matches!', 0) + if sum(locus_covs[5:]) > 0: + best_invA = max(range(len(locus_covs[5:])), key=lambda x: locus_covs[5:][x]) + 5 + invA = (list_taxa[best_invA], locus_covs[best_invA]) + else: + invA = ('No invA matches!', 0) + if 'Listeria' in rpoB[0]: + return rpoB, invA, (average_read_length * number_of_reads) / 3000000 + else: + return rpoB, invA, (average_read_length * number_of_reads) / 5000000 + + +def main(): + ex_dir = os.path.dirname(os.path.realpath(__file__)) + args = parse_args() + input_file = args.input_file + if input_file != 'None': + files = [input_file] + else: + extension = args.extension + inputdir = args.input_dir + files = [inputdir + '/' + f for f in os.listdir(inputdir) if f.endswith(extension)] + report = args.report + mode = args.mode + f_invA = open(ex_dir + "/invA_mers_dict", "rb") + sets_dict_invA = pickle.load(f_invA) + f_invA.close() + allmers = sets_dict_invA['allmers'] + uniqmers_I = sets_dict_invA['uniqmers_I'] + uniqmers_IIa = sets_dict_invA['uniqmers_IIa'] + uniqmers_IIb = sets_dict_invA['uniqmers_IIb'] + uniqmers_IIIa = sets_dict_invA['uniqmers_IIIa'] + uniqmers_IIIb = sets_dict_invA['uniqmers_IIIb'] + uniqmers_IV = sets_dict_invA['uniqmers_IV'] + uniqmers_VI = sets_dict_invA['uniqmers_VI'] + uniqmers_VII = sets_dict_invA['uniqmers_VII'] + uniqmers_VIII = sets_dict_invA['uniqmers_VIII'] + uniqmers_bongori = sets_dict_invA['uniqmers_bongori'] + + f = open(ex_dir + "/rpoB_mers_dict", "rb") + sets_dict = pickle.load(f) + f.close() + + allmers_rpoB = sets_dict['allmers'] + uniqmers_bongori_rpoB = sets_dict['uniqmers_bongori'] + uniqmers_S_enterica_rpoB = sets_dict['uniqmers_S_enterica'] + uniqmers_Escherichia_rpoB = sets_dict['uniqmers_Escherichia'] + uniqmers_Listeria_ss_rpoB = sets_dict['uniqmers_Listeria_ss'] + uniqmers_Lmono_rpoB = sets_dict['uniqmers_L_mono'] + # todo: run kmer_lists() once, create list of tuples containing data to be used fro different reports + if report == 'taxonomy': + print('file\trpoB\tinvA\texpected coverage') + for f in files: + locus_scores, coverages, reads = kmer_lists(f, 27, + allmers, allmers_rpoB, + uniqmers_bongori, + uniqmers_I, + uniqmers_IIa, + uniqmers_IIb, + uniqmers_IIIa, + uniqmers_IIIb, + uniqmers_IV, + uniqmers_VI, + uniqmers_VII, + uniqmers_VIII, + uniqmers_bongori_rpoB, + uniqmers_S_enterica_rpoB, + uniqmers_Escherichia_rpoB, + uniqmers_Listeria_ss_rpoB, + uniqmers_Lmono_rpoB, + mode) + pretty_covs = [round(cov, 1) for cov in coverages] + report = report_taxon(pretty_covs, get_av_read_length(f), reads) + print(f.split('/')[-1] + '\t' + report[0][0] + '[' + str(report[0][1]) + ']' + '\t' + report[1][0] + + '[' + str(report[1][1]) + ']' + + '\t' + str(round(report[2], 1))) + else: + print( + 'file\tListeria sensu stricto (rpoB)\tL. monocytogenes (rpoB)\tEscherichia spp. (rpoB)\tS. bongori (rpoB)\tS. enterica' + # noqa: E122 + '(rpoB)\tS. bongori (invA)\tsubsp. I (invA)\tsubsp. II (clade a: invA)\tsubsp. II' + # noqa: E122 + ' (clade b: invA)\tsubsp. IIIa (invA)\tsubsp. IIIb (invA)\tsubsp.IV (invA)\tsubsp. VI (invA)\tsubsp. VII (invA)' + # noqa: E122 + '\tsubsp. II (clade VIII : invA)') + if report == 'percentage': + for f in files: + locus_scores, coverages, reads = kmer_lists(f, 27, + allmers, allmers_rpoB, + uniqmers_bongori, + uniqmers_I, + uniqmers_IIa, + uniqmers_IIb, + uniqmers_IIIa, + uniqmers_IIIb, + uniqmers_IV, + uniqmers_VI, + uniqmers_VII, + uniqmers_VIII, + uniqmers_bongori_rpoB, + uniqmers_S_enterica_rpoB, + uniqmers_Escherichia_rpoB, + uniqmers_Listeria_ss_rpoB, + uniqmers_Lmono_rpoB, + mode) + pretty_scores = [str(round(score)) for score in locus_scores] + print(f.split('/')[-1] + '\t' + '\t'.join(pretty_scores)) + else: + for f in files: + locus_scores, coverages, reads = kmer_lists(f, 27, + allmers, allmers_rpoB, + uniqmers_bongori, + uniqmers_I, + uniqmers_IIa, + uniqmers_IIb, + uniqmers_IIIa, + uniqmers_IIIb, + uniqmers_IV, + uniqmers_VI, + uniqmers_VII, + uniqmers_VIII, + uniqmers_bongori_rpoB, + uniqmers_S_enterica_rpoB, + uniqmers_Escherichia_rpoB, + uniqmers_Listeria_ss_rpoB, + uniqmers_Lmono_rpoB, + mode) + pretty_covs = [str(round(cov, 1)) for cov in coverages] + print(f.split('/')[-1] + '\t' + '\t'.join(pretty_covs)) + + +if __name__ == '__main__': + main() + diff -r 613775dc3491 -r a51d3bce2612 SeqSero2_package.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SeqSero2_package.py Wed Oct 02 20:37:03 2019 -0400 @@ -0,0 +1,1472 @@ +#!/usr/bin/env python3 + +import sys +import time +import random +import os +import subprocess +import gzip +import io +import pickle +import argparse +import itertools +import math +from distutils.version import LooseVersion +from distutils.spawn import find_executable + +try: + from .version import SeqSero2_version +except Exception: #ImportError + from version import SeqSero2_version + +### SeqSero Kmer +def parse_args(): + "Parse the input arguments, use '-h' for help." + parser = argparse.ArgumentParser(usage='SeqSero2_package.py -t -m -i [-d ] [-p ] [-b ]\n\nDevelopper: Shaokang Zhang (zskzsk@uga.edu), Hendrik C Den-Bakker (Hendrik.DenBakker@uga.edu) and Xiangyu Deng (xdeng@uga.edu)\n\nContact email:seqsero@gmail.com\n\nVersion: v1.0.2')#add "-m " in future + parser.add_argument("-i",nargs="+",help=": path/to/input_data",type=os.path.abspath) ### ed_SL_05282019: add 'type=os.path.abspath' to generate absolute path of input data. + parser.add_argument("-t",choices=['1','2','3','4','5','6'],help=": '1' for interleaved paired-end reads, '2' for separated paired-end reads, '3' for single reads, '4' for genome assembly, '5' for nanopore fasta, '6' for nanopore fastq") + parser.add_argument("-b",choices=['sam','mem'],default="mem",help=": algorithms for bwa mapping for allele mode; 'mem' for mem, 'sam' for samse/sampe; default=mem; optional; for now we only optimized for default 'mem' mode") + parser.add_argument("-p",default="1",help=": number of threads for allele mode, if p >4, only 4 threads will be used for assembly since the amount of extracted reads is small, default=1") + parser.add_argument("-m",choices=['k','a'],default="a",help=": which workflow to apply, 'a'(raw reads allele micro-assembly), 'k'(raw reads and genome assembly k-mer), default=a") + parser.add_argument("-d",help=": output directory name, if not set, the output directory would be 'SeqSero_result_'+time stamp+one random number") + parser.add_argument("-c",action="store_true",help=": if '-c' was flagged, SeqSero2 will only output serotype prediction without the directory containing log files") + parser.add_argument("--check",action="store_true",help=": use '--check' flag to check the required dependencies") + parser.add_argument('-v', '--version', action='version', version='%(prog)s ' + SeqSero2_version) + return parser.parse_args() + +### ed_SL_05282019: check paths of dependencies +check_dependencies = parse_args().check +dependencies = ['bwa','samtools','blastn','fastq-dump','spades.py','bedtools','SalmID.py'] +if check_dependencies: + for item in dependencies: + ext_path = find_executable(item) + if ext_path is not None: + print ("Using "+item+" - "+ext_path) + else: + print ("ERROR: can not find "+item+" in PATH") + sys.exit() +### end of --check + +def reverse_complement(sequence): + complement = { + 'A': 'T', + 'C': 'G', + 'G': 'C', + 'T': 'A', + 'N': 'N', + 'M': 'K', + 'R': 'Y', + 'W': 'W', + 'S': 'S', + 'Y': 'R', + 'K': 'M', + 'V': 'B', + 'H': 'D', + 'D': 'H', + 'B': 'V' + } + return "".join(complement[base] for base in reversed(sequence)) + + +def createKmerDict_reads(list_of_strings, kmer): + kmer_table = {} + for string in list_of_strings: + sequence = string.strip('\n') + for i in range(len(sequence) - kmer + 1): + new_mer = sequence[i:i + kmer].upper() + new_mer_rc = reverse_complement(new_mer) + if new_mer in kmer_table: + kmer_table[new_mer.upper()] += 1 + else: + kmer_table[new_mer.upper()] = 1 + if new_mer_rc in kmer_table: + kmer_table[new_mer_rc.upper()] += 1 + else: + kmer_table[new_mer_rc.upper()] = 1 + return kmer_table + + +def multifasta_dict(multifasta): + multifasta_list = [ + line.strip() for line in open(multifasta, 'r') if len(line.strip()) > 0 + ] + headers = [i for i in multifasta_list if i[0] == '>'] + multifasta_dict = {} + for h in headers: + start = multifasta_list.index(h) + for element in multifasta_list[start + 1:]: + if element[0] == '>': + break + else: + if h[1:] in multifasta_dict: + multifasta_dict[h[1:]] += element + else: + multifasta_dict[h[1:]] = element + return multifasta_dict + + +def multifasta_single_string(multifasta): + multifasta_list = [ + line.strip() for line in open(multifasta, 'r') + if (len(line.strip()) > 0) and (line.strip()[0] != '>') + ] + return ''.join(multifasta_list) + + +def chunk_a_long_sequence(long_sequence, chunk_size=60): + chunk_list = [] + steps = len(long_sequence) // 60 #how many chunks + for i in range(steps): + chunk_list.append(long_sequence[i * chunk_size:(i + 1) * chunk_size]) + chunk_list.append(long_sequence[steps * chunk_size:len(long_sequence)]) + return chunk_list + + +def target_multifasta_kmerizer(multifasta, k, kmerDict): + forward_length = 300 #if find the target, put forward 300 bases + reverse_length = 2200 #if find the target, put backward 2200 bases + chunk_size = 60 #it will firstly chunk the single long sequence to multiple smaller sequences, it controls the size of those smaller sequences + target_mers = [] + long_single_string = multifasta_single_string(multifasta) + multifasta_list = chunk_a_long_sequence(long_single_string, chunk_size) + unit_length = len(multifasta_list[0]) + forward_lines = int(forward_length / unit_length) + 1 + reverse_lines = int(forward_length / unit_length) + 1 + start_num = 0 + end_num = 0 + for i in range(len(multifasta_list)): + if i not in range(start_num, end_num): #avoid computational repetition + line = multifasta_list[i] + start = int((len(line) - k) // 2) + s1 = line[start:k + start] + if s1 in kmerDict: #detect it is a potential read or not (use the middle part) + if i - forward_lines >= 0: + start_num = i - forward_lines + else: + start_num = 0 + if i + reverse_lines <= len(multifasta_list) - 1: + end_num = i + reverse_lines + else: + end_num = len(multifasta_list) - 1 + target_list = [ + x.strip() for x in multifasta_list[start_num:end_num] + ] + target_line = "".join(target_list) + target_mers += [ + k1 for k1 in createKmerDict_reads([str(target_line)], k) + ] ##changed k to k1, just want to avoid the mixes of this "k" (kmer) to the "k" above (kmer length) + else: + pass + return set(target_mers) + + +def target_read_kmerizer(file, k, kmerDict): + i = 1 + n_reads = 0 + total_coverage = 0 + target_mers = [] + if file.endswith(".gz"): + file_content = io.BufferedReader(gzip.open(file)) + else: + file_content = open(file, "r").readlines() + for line in file_content: + start = int((len(line) - k) // 2) + if i % 4 == 2: + if file.endswith(".gz"): + s1 = line[start:k + start].decode() + line = line.decode() + else: + s1 = line[start:k + start] + if s1 in kmerDict: #detect it is a potential read or not (use the middle part) + n_reads += 1 + total_coverage += len(line) + target_mers += [ + k1 for k1 in createKmerDict_reads([str(line)], k) + ] #changed k to k1, just want to avoid the mixes of this "k" (kmer) to the "k" above (kmer length) + i += 1 + if total_coverage >= 4000000: + break + return set(target_mers) + + +def minion_fasta_kmerizer(file, k, kmerDict): + i = 1 + n_reads = 0 + total_coverage = 0 + target_mers = {} + for line in open(file): + if i % 2 == 0: + for kmer, rc_kmer in kmers(line.strip().upper(), k): + if (kmer in kmerDict) or (rc_kmer in kmerDict): + if kmer in target_mers: + target_mers[kmer] += 1 + else: + target_mers[kmer] = 1 + if rc_kmer in target_mers: + target_mers[rc_kmer] += 1 + else: + target_mers[rc_kmer] = 1 + i += 1 + return set([h for h in target_mers]) + + +def minion_fastq_kmerizer(file, k, kmerDict): + i = 1 + n_reads = 0 + total_coverage = 0 + target_mers = {} + for line in open(file): + if i % 4 == 2: + for kmer, rc_kmer in kmers(line.strip().upper(), k): + if (kmer in kmerDict) or (rc_kmer in kmerDict): + if kmer in target_mers: + target_mers[kmer] += 1 + else: + target_mers[kmer] = 1 + if rc_kmer in target_mers: + target_mers[rc_kmer] += 1 + else: + target_mers[rc_kmer] = 1 + i += 1 + return set([h for h in target_mers]) + + +def multifasta_single_string2(multifasta): + single_string = '' + with open(multifasta, 'r') as f: + for line in f: + if line.strip()[0] == '>': + pass + else: + single_string += line.strip() + return single_string + + +def kmers(seq, k): + rev_comp = reverse_complement(seq) + for start in range(1, len(seq) - k + 1): + yield seq[start:start + k], rev_comp[-(start + k):-start] + + +def multifasta_to_kmers_dict(multifasta,k_size):#used to create database kmer set + multi_seq_dict = multifasta_dict(multifasta) + lib_dict = {} + for h in multi_seq_dict: + lib_dict[h] = set( + [k for k in createKmerDict_reads([multi_seq_dict[h]], k_size)]) + return lib_dict + + +def Combine(b, c): + fliC_combinations = [] + fliC_combinations.append(",".join(c)) + temp_combinations = [] + for i in range(len(b)): + for x in itertools.combinations(b, i + 1): + temp_combinations.append(",".join(x)) + for x in temp_combinations: + temp = [] + for y in c: + temp.append(y) + temp.append(x) + temp = ",".join(temp) + temp = temp.split(",") + temp.sort() + temp = ",".join(temp) + fliC_combinations.append(temp) + return fliC_combinations + + +def seqsero_from_formula_to_serotypes(Otype, fliC, fljB, special_gene_list,subspecies): + #like test_output_06012017.txt + #can add more varialbles like sdf-type, sub-species-type in future (we can conclude it into a special-gene-list) + from Initial_Conditions import phase1,phase2,phaseO,sero,subs,remove_list,rename_dict + rename_dict_not_anymore=[rename_dict[x] for x in rename_dict] + rename_dict_all=rename_dict_not_anymore+list(rename_dict) #used for decide whether to + seronames = [] + seronames_none_subspecies=[] + for i in range(len(phase1)): + fliC_combine = [] + fljB_combine = [] + if phaseO[i] == Otype: # no VII in KW, but it's there + ### for fliC, detect every possible combinations to avoid the effect of "[" + if phase1[i].count("[") == 0: + fliC_combine.append(phase1[i]) + elif phase1[i].count("[") >= 1: + c = [] + b = [] + if phase1[i][0] == "[" and phase1[i][-1] == "]" and phase1[i].count( + "[") == 1: + content = phase1[i].replace("[", "").replace("]", "") + fliC_combine.append(content) + fliC_combine.append("-") + else: + for x in phase1[i].split(","): + if "[" in x: + b.append(x.replace("[", "").replace("]", "")) + else: + c.append(x) + fliC_combine = Combine( + b, c + ) #Combine will offer every possible combinations of the formula, like f,[g],t: f,t f,g,t + ### end of fliC "[" detect + ### for fljB, detect every possible combinations to avoid the effect of "[" + if phase2[i].count("[") == 0: + fljB_combine.append(phase2[i]) + elif phase2[i].count("[") >= 1: + d = [] + e = [] + if phase2[i][0] == "[" and phase2[i][-1] == "]" and phase2[i].count( + "[") == 1: + content = phase2[i].replace("[", "").replace("]", "") + fljB_combine.append(content) + fljB_combine.append("-") + else: + for x in phase2[i].split(","): + if "[" in x: + d.append(x.replace("[", "").replace("]", "")) + else: + e.append(x) + fljB_combine = Combine(d, e) + ### end of fljB "[" detect + new_fliC = fliC.split( + "," + ) #because some antigen like r,[i] not follow alphabetical order, so use this one to judge and can avoid missings + new_fliC.sort() + new_fliC = ",".join(new_fliC) + new_fljB = fljB.split(",") + new_fljB.sort() + new_fljB = ",".join(new_fljB) + if (new_fliC in fliC_combine + or fliC in fliC_combine) and (new_fljB in fljB_combine + or fljB in fljB_combine): + ######start, remove_list,rename_dict, added on 11/11/2018 + if sero[i] not in remove_list: + temp_sero=sero[i] + if temp_sero in rename_dict: + temp_sero=rename_dict[temp_sero] #rename if in the rename list + if temp_sero not in seronames:#the new sero may already included, if yes, then not consider + if subs[i] == subspecies: + seronames.append(temp_sero) + seronames_none_subspecies.append(temp_sero) + else: + pass + else: + pass + ######end, added on 11/11/2018 + #analyze seronames + subspecies_pointer="" + if len(seronames) == 0 and len(seronames_none_subspecies)!=0: + seronames=seronames_none_subspecies + subspecies_pointer="1" + if len(seronames) == 0: + seronames = [ + "N/A (The predicted antigenic profile does not exist in the White-Kauffmann-Le Minor scheme)" + ] + star = "" + star_line = "" + if len(seronames) > 1: #there are two possible predictions for serotypes + star = "*" + #changed 04072019 + #star_line = "The predicted serotypes share the same general formula:\t" + Otype + ":" + fliC + ":" + fljB + "\n" + if subspecies_pointer=="1" and len(seronames_none_subspecies)!=0: + star="*" + star_line=" The predicted O and H antigens correspond to serotype '"+(" or ").join(seronames)+"' in the Kauffmann-White scheme. The predicted subspecies by SalmID (github.com/hcdenbakker/SalmID) may not be consistent with subspecies designation in the Kauffmann-White scheme." + star_line + #star_line="The formula with this subspieces prediction can't get a serotype in KW manual, and the serotyping prediction was made without considering it."+star_line + if Otype=="": + Otype="-" + predict_form = Otype + ":" + fliC + ":" + fljB + predict_sero = (" or ").join(seronames) + ###special test for Enteritidis + if predict_form == "9:g,m:-": + sdf = "-" + for x in special_gene_list: + if x.startswith("sdf"): + sdf = "+" + #star_line="Detected sdf gene, a marker to differentiate Gallinarum and Enteritidis" + star_line=" sdf gene detected." # ed_SL_04152019: new output format + #predict_form = predict_form + " Sdf prediction:" + sdf + predict_form = predict_form #changed 04072019 + if sdf == "-": + star = "*" + #star_line="Didn't detected sdf gene, a marker to differentiate Gallinarum and Enteritidis" + star_line=" sdf gene not detected." # ed_SL_04152019: new output format + #changed in 04072019, for new output + #star_line = "Additional characterization is necessary to assign a serotype to this strain. Commonly circulating strains of serotype Enteritidis are sdf+, although sdf- strains of serotype Enteritidis are known to exist. Serotype Gallinarum is typically sdf- but should be quite rare. Sdf- strains of serotype Enteritidis and serotype Gallinarum can be differentiated by phenotypic profile or genetic criteria.\n" + #predict_sero = "Gallinarum/Enteritidis" #04132019, for new output requirement + predict_sero = "Gallinarum or Enteritidis" # ed_SL_04152019: new output format + ###end of special test for Enteritidis + elif predict_form == "4:i:-": + predict_sero = "I 4,[5],12:i:-" # ed_SL_09242019: change serotype name + elif predict_form == "4:r:-": + predict_sero = "4:r:-" + elif predict_form == "4:b:-": # ed_SL_09272019: change for new output format + predict_sero = "N/A (4:b:-)" + #elif predict_form == "8:e,h:1,2": #removed after official merge of newport and bardo + #predict_sero = "Newport" + #star = "*" + #star_line = "Serotype Bardo shares the same antigenic profile with Newport, but Bardo is exceedingly rare." + claim = " The serotype(s) is/are the only serotype(s) with the indicated antigenic profile currently recognized in the Kauffmann White Scheme. New serotypes can emerge and the possibility exists that this antigenic profile may emerge in a different subspecies. Identification of strains to the subspecies level should accompany serotype determination; the same antigenic profile in different subspecies is considered different serotypes.\n" + if "N/A" in predict_sero: + claim = "" + #special test for Typhimurium + if "Typhimurium" in predict_sero or predict_form == "4:i:-": + normal = 0 + mutation = 0 + for x in special_gene_list: + if "oafA-O-4_full" in x: + normal = float(special_gene_list[x]) + elif "oafA-O-4_5-" in x: + mutation = float(special_gene_list[x]) + if normal > mutation: + pass + elif normal < mutation: + #predict_sero = predict_sero.strip() + "(O5-)" + predict_sero = predict_sero.strip() #diable special sero for new output requirement, 04132019 + star = "*" + #star_line = "Detected the deletion of O5-." + star_line = " Detected a deletion that causes O5- variant of Typhimurium." # ed_SL_04152019: new output format + else: + pass + #special test for Paratyphi B + if "Paratyphi B" in predict_sero or predict_form == "4:b:-": + normal = 0 + mutation = 0 + for x in special_gene_list: + if "gntR-family-regulatory-protein_dt-positive" in x: + normal = float(special_gene_list[x]) + elif "gntR-family-regulatory-protein_dt-negative" in x: + mutation = float(special_gene_list[x]) + #print(normal,mutation) + if normal > mutation: + #predict_sero = predict_sero.strip() + "(dt+)" #diable special sero for new output requirement, 04132019 + predict_sero = predict_sero.strip()+' var. L(+) tartrate+' if "Paratyphi B" in predict_sero else predict_sero.strip() # ed_SL_04152019: new output format + star = "*" + #star_line = "Didn't detect the SNP for dt- which means this isolate is a Paratyphi B variant L(+) tartrate(+)." + star_line = " The SNP that causes d-Tartrate nonfermentating phenotype of Paratyphi B was not detected. " # ed_SL_04152019: new output format + elif normal < mutation: + #predict_sero = predict_sero.strip() + "(dt-)" #diable special sero for new output requirement, 04132019 + predict_sero = predict_sero.strip() + star = "*" + #star_line = "Detected the SNP for dt- which means this isolate is a systemic pathovar of Paratyphi B." + star_line = " Detected the SNP for d-Tartrate nonfermenting phenotype of Paratyphi B." # ed_SL_04152019: new output format + else: + star = "*" + #star_line = " Failed to detect the SNP for dt-, can't decide it's a Paratyphi B variant L(+) tartrate(+) or not." + star_line = " " ## ed_SL_05152019: do not report this situation. + #special test for O13,22 and O13,23 + if Otype=="13": + #ex_dir = os.path.dirname(os.path.realpath(__file__)) + ex_dir = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)),'seqsero2_db')) # ed_SL_09152019 + f = open(ex_dir + '/special.pickle', 'rb') + special = pickle.load(f) + O22_O23=special['O22_O23'] + if predict_sero.split(" or ")[0] in O22_O23[-1] and predict_sero.split(" or ")[0] not in rename_dict_all:#if in rename_dict_all, then it means already merged, no need to analyze + O22_score=0 + O23_score=0 + for x in special_gene_list: + if "O:22" in x: + O22_score = O22_score+float(special_gene_list[x]) + elif "O:23" in x: + O23_score = O23_score+float(special_gene_list[x]) + #print(O22_score,O23_score) + for z in O22_O23[0]: + if predict_sero.split(" or ")[0] in z: + if O22_score > O23_score: + star = "*" + #star_line = "Detected O22 specific genes to further differenciate '"+predict_sero+"'." #diabled for new output requirement, 04132019 + predict_sero = z[0] + elif O22_score < O23_score: + star = "*" + #star_line = "Detected O23 specific genes to further differenciate '"+predict_sero+"'." #diabled for new output requirement, 04132019 + predict_sero = z[1] + else: + star = "*" + #star_line = "Fail to detect O22 and O23 differences." #diabled for new output requirement, 04132019 + if " or " in predict_sero: + star_line = star_line + " The predicted serotypes share the same general formula:\t" + Otype + ":" + fliC + ":" + fljB + "\n" + #special test for O6,8 + #merge_O68_list=["Blockley","Bovismorbificans","Hadar","Litchfield","Manhattan","Muenchen"] #remove 11/11/2018, because already in merge list + #for x in merge_O68_list: + # if x in predict_sero: + # predict_sero=x + # star="" + # star_line="" + #special test for Montevideo; most of them are monophasic + #if "Montevideo" in predict_sero and "1,2,7" in predict_form: #remove 11/11/2018, because already in merge list + #star="*" + #star_line="Montevideo is almost always monophasic, having an antigen called for the fljB position may be a result of Salmonella-Salmonella contamination." + return predict_form, predict_sero, star, star_line, claim +### End of SeqSero Kmer part + +### Begin of SeqSero2 allele prediction and output +def xml_parse_score_comparision_seqsero(xmlfile): + #used to do seqsero xml analysis + from Bio.Blast import NCBIXML + handle=open(xmlfile) + handle=NCBIXML.parse(handle) + handle=list(handle) + List=[] + List_score=[] + List_ids=[] + List_query_region=[] + for i in range(len(handle)): + if len(handle[i].alignments)>0: + for j in range(len(handle[i].alignments)): + score=0 + ids=0 + cover_region=set() #fixed problem that repeated calculation leading percentage > 1 + List.append(handle[i].query.strip()+"___"+handle[i].alignments[j].hit_def) + for z in range(len(handle[i].alignments[j].hsps)): + hsp=handle[i].alignments[j].hsps[z] + temp=set(range(hsp.query_start,hsp.query_end)) + est_bit=(handle[i].ka_params[0]*hsp.score-math.log(handle[i].ka_params[1]))/(math.log(2)) + if len(cover_region)==0: + cover_region=cover_region|temp + fraction=1 + else: + fraction=1-len(cover_region&temp)/float(len(temp)) + cover_region=cover_region|temp + if "last" in handle[i].query or "first" in handle[i].query: + #score+=hsp.bits*fraction + score+=est_bit*fraction + ids+=float(hsp.identities)/handle[i].query_length*fraction + else: + #score+=hsp.bits*fraction + score+=est_bit*fraction + ids+=float(hsp.identities)/handle[i].query_length*fraction + List_score.append(score) + List_ids.append(ids) + List_query_region.append(cover_region) + temp=zip(List,List_score,List_ids,List_query_region) + Final_list=sorted(temp, key=lambda d:d[1], reverse = True) + return Final_list + + +def Uniq(L,sort_on_fre="none"): #return the uniq list and the count number + Old=L + L.sort() + L = [L[i] for i in range(len(L)) if L[i] not in L[:i]] + count=[] + for j in range(len(L)): + y=0 + for x in Old: + if L[j]==x: + y+=1 + count.append(y) + if sort_on_fre!="none": + d=zip(*sorted(zip(count, L))) + L=d[1] + count=d[0] + return (L,count) + +def judge_fliC_or_fljB_from_head_tail_for_one_contig(nodes_vs_score_list): + #used to predict it's fliC or fljB for one contig, based on tail and head score, but output the score difference,if it is very small, then not reliable, use blast score for whole contig to test + #this is mainly used for + a=nodes_vs_score_list + fliC_score=0 + fljB_score=0 + for z in a: + if "fliC" in z[0]: + fliC_score+=z[1] + elif "fljB" in z[0]: + fljB_score+=z[1] + if fliC_score>=fljB_score: + role="fliC" + else: + role="fljB" + return (role,abs(fliC_score-fljB_score)) + +def judge_fliC_or_fljB_from_whole_contig_blast_score_ranking(node_name,Final_list,Final_list_passed): + #used to predict contig is fliC or fljB, if the differnce score value on above head_and_tail is less than 10 (quite small) + #also used when no head or tail got blasted score for the contig + role="" + for z in Final_list_passed: + if node_name in z[0]: + role=z[0].split("_")[0] + break + return role + +def fliC_or_fljB_judge_from_head_tail_sequence(nodes_list,tail_head_list,Final_list,Final_list_passed): + #nodes_list is the c created by c,d=Uniq(nodes) in below function + first_target="" + role_list=[] + for x in nodes_list: + a=[] + role="" + for y in tail_head_list: + if x in y[0]: + a.append(y) + if len(a)==4: + role,diff=judge_fliC_or_fljB_from_head_tail_for_one_contig(a) + if diff<20: + role=judge_fliC_or_fljB_from_whole_contig_blast_score_ranking(x,Final_list,Final_list_passed) + elif len(a)==3: + ###however, if the one with highest score is the fewer one, compare their accumulation score + role,diff=judge_fliC_or_fljB_from_head_tail_for_one_contig(a) + if diff<20: + role=judge_fliC_or_fljB_from_whole_contig_blast_score_ranking(x,Final_list,Final_list_passed) + ###end of above score comparison + elif len(a)==2: + #must on same node, if not, then decide with unit blast score, blast-score/length_of_special_sequence(30 or 37) + temp=[] + for z in a: + temp.append(z[0].split("_")[0]) + m,n=Uniq(temp)#should only have one choice, but weird situation might occur too + if len(m)==1: + pass + else: + pass + role,diff=judge_fliC_or_fljB_from_head_tail_for_one_contig(a) + if diff<20: + role=judge_fliC_or_fljB_from_whole_contig_blast_score_ranking(x,Final_list,Final_list_passed) + ###need to desgin a algorithm to guess most possible situation for nodes_list, See the situations of test evaluation + elif len(a)==1: + #that one + role,diff=judge_fliC_or_fljB_from_head_tail_for_one_contig(a) + if diff<20: + role=judge_fliC_or_fljB_from_whole_contig_blast_score_ranking(x,Final_list,Final_list_passed) + #need to evaluate, in future, may set up a cut-off, if not met, then just find Final_list_passed best match,like when "a==0" + else:#a==0 + #use Final_list_passed best match + for z in Final_list_passed: + if x in z[0]: + role=z[0].split("_")[0] + break + #print x,role,len(a) + role_list.append((role,x)) + if len(role_list)==2: + if role_list[0][0]==role_list[1][0]:#this is the most cocmmon error, two antigen were assigned to same phase + #just use score to do a final test + role_list=[] + for x in nodes_list: + role=judge_fliC_or_fljB_from_whole_contig_blast_score_ranking(x,Final_list,Final_list_passed) + role_list.append((role,x)) + return role_list + +def decide_contig_roles_for_H_antigen(Final_list,Final_list_passed): + #used to decide which contig is FliC and which one is fljB + contigs=[] + nodes=[] + for x in Final_list_passed: + if x[0].startswith("fl") and "last" not in x[0] and "first" not in x[0]: + nodes.append(x[0].split("___")[1].strip()) + c,d=Uniq(nodes)#c is node_list + #print c + tail_head_list=[x for x in Final_list if ("last" in x[0] or "first" in x[0])] + roles=fliC_or_fljB_judge_from_head_tail_sequence(c,tail_head_list,Final_list,Final_list_passed) + return roles + +def decide_O_type_and_get_special_genes(Final_list,Final_list_passed): + #decide O based on Final_list + O_choice="?" + O_list=[] + special_genes={} + nodes=[] + for x in Final_list_passed: + if x[0].startswith("O-"): + nodes.append(x[0].split("___")[1].strip()) + elif not x[0].startswith("fl"): + special_genes[x[0]]=x[2]#08172018, x[2] changed from x[-1] + #print "special_genes:",special_genes + c,d=Uniq(nodes) + #print "potential O antigen contig",c + final_O=[] + O_nodes_list=[] + for x in c:#c is the list for contigs + temp=0 + for y in Final_list_passed: + if x in y[0] and y[0].startswith("O-"): + final_O.append(y) + break + ### O contig has the problem of two genes on same contig, so do additional test + potenial_new_gene="" + for x in final_O: + pointer=0 #for genes merged or not + #not consider O-1,3,19_not_in_3,10, too short compared with others + if "O-1,3,19_not_in_3,10" not in x[0] and int(x[0].split("__")[1].split("___")[0])*x[2]+850 <= int(x[0].split("length_")[1].split("_")[0]):#gene length << contig length; for now give 300*2 (for secureity can use 400*2) as flank region + pointer=x[0].split("___")[1].strip()#store the contig name + print(pointer) + if pointer!=0:#it has potential merge event + for y in Final_list: + if pointer in y[0] and y not in final_O and (y[1]>=int(y[0].split("__")[1].split("___")[0])*1.5 or (y[1]>=int(y[0].split("__")[1].split("___")[0])*y[2] and y[1]>=400)):#that's a realtively strict filter now; if passed, it has merge event and add one more to final_O + potenial_new_gene=y + #print(potenial_new_gene) + break + if potenial_new_gene!="": + print("two differnt genes in same contig, fix it for O antigen") + print(potenial_new_gene[:3]) + pointer=0 + for y in final_O: + if y[0].split("___")[-1]==potenial_new_gene[0].split("___")[-1]: + pointer=1 + if pointer!=0: #changed to consider two genes in same contig + final_O.append(potenial_new_gene) + ### end of the two genes on same contig test + final_O=sorted(final_O,key=lambda x: x[2], reverse=True)#sorted + if len(final_O)==0 or (len(final_O)==1 and "O-1,3,19_not_in_3,10" in final_O[0][0]): + #print "$$$No Otype, due to no hit"#may need to be changed + O_choice="-" + else: + highest_O_coverage=max([float(x[0].split("_cov_")[-1].split("_")[0]) for x in final_O if "O-1,3,19_not_in_3,10" not in x[0]]) + O_list=[] + O_list_less_contamination=[] + for x in final_O: + if not "O-1,3,19_not_in_3,10__130" in x[0]:#O-1,3,19_not_in_3,10 is too small, which may affect further analysis; to avoid contamination affect, use 0.15 of highest coverage as cut-off + O_list.append(x[0].split("__")[0]) + O_nodes_list.append(x[0].split("___")[1]) + if float(x[0].split("_cov_")[-1].split("_")[0])>highest_O_coverage*0.15: + O_list_less_contamination.append(x[0].split("__")[0]) + ### special test for O9,46 and O3,10 family + if ("O-9,46_wbaV" in O_list or "O-9,46_wbaV-from-II-9,12:z29:1,5-SRR1346254" in O_list) and O_list_less_contamination[0].startswith("O-9,"):#not sure should use and float(O9_wbaV)/float(num_1) > 0.1 + if "O-9,46_wzy" in O_list:#and float(O946_wzy)/float(num_1) > 0.1 + O_choice="O-9,46" + #print "$$$Most possilble Otype: O-9,46" + elif "O-9,46,27_partial_wzy" in O_list:#and float(O94627)/float(num_1) > 0.1 + O_choice="O-9,46,27" + #print "$$$Most possilble Otype: O-9,46,27" + else: + O_choice="O-9"#next, detect O9 vs O2? + O2=0 + O9=0 + for z in special_genes: + if "tyr-O-9" in z: + O9=special_genes[z] + elif "tyr-O-2" in z: + O2=special_genes[z] + if O2>O9: + O_choice="O-2" + elif O2 0.1 and float(O946_wzy)/float(num_1) > 0.1 + if "O-3,10_not_in_1,3,19" in O_list:#and float(O310_no_1319)/float(num_1) > 0.1 + O_choice="O-3,10" + #print "$$$Most possilble Otype: O-3,10 (contain O-3,10_not_in_1,3,19)" + else: + O_choice="O-1,3,19" + #print "$$$Most possilble Otype: O-1,3,19 (not contain O-3,10_not_in_1,3,19)" + ### end of special test for O9,46 and O3,10 family + else: + try: + max_score=0 + for x in final_O: + if x[2]>=max_score and float(x[0].split("_cov_")[-1].split("_")[0])>highest_O_coverage*0.15:#use x[2],08172018, the "coverage identity = cover_length * identity"; also meet coverage threshold + max_score=x[2]#change from x[-1] to x[2],08172018 + O_choice=x[0].split("_")[0] + if O_choice=="O-1,3,19": + O_choice=final_O[1][0].split("_")[0] + #print "$$$Most possilble Otype: ",O_choice + except: + pass + #print "$$$No suitable Otype, or failure of mapping (please check the quality of raw reads)" + #print "O:",O_choice,O_nodes_list + Otypes=[] + for x in O_list: + if x!="O-1,3,19_not_in_3,10": + if "O-9,46_" not in x: + Otypes.append(x.split("_")[0]) + else: + Otypes.append(x.split("-from")[0])#O-9,46_wbaV-from-II-9,12:z29:1,5-SRR1346254 + #Otypes=[x.split("_")[0] for x in O_list if x!="O-1,3,19_not_in_3,10"] + Otypes_uniq,Otypes_fre=Uniq(Otypes) + contamination_O="" + if O_choice=="O-9,46,27" or O_choice=="O-3,10" or O_choice=="O-1,3,19": + if len(Otypes_uniq)>2: + contamination_O="potential contamination from O antigen signals" + else: + if len(Otypes_uniq)>1: + if O_choice=="O-4" and len(Otypes_uniq)==2 and "O-9,46,27" in Otypes_uniq: #for special 4,12,27 case such as Bredeney and Schwarzengrund + contamination_O="" + elif O_choice=="O-9,46" and len(Otypes_uniq)==2 and "O-9,46_wbaV" in Otypes_uniq and "O-9,46_wzy" in Otypes_uniq: #for special 4,12,27 case such as Bredeney and Schwarzengrund + contamination_O="" + else: + contamination_O="potential contamination from O antigen signals" + return O_choice,O_nodes_list,special_genes,final_O,contamination_O,Otypes_uniq +### End of SeqSero2 allele prediction and output + +def get_input_files(make_dir,input_file,data_type,dirpath): + #tell input files from datatype + #": '1'(pair-end reads, interleaved),'2'(pair-end reads, seperated),'3'(single-end reads), '4'(assembly),'5'(nanopore fasta),'6'(nanopore fastq)" + for_fq="" + rev_fq="" + os.chdir(make_dir) + if data_type=="1": + input_file=input_file[0].split("/")[-1] + if input_file.endswith(".sra"): + subprocess.check_call("fastq-dump --split-files "+input_file,shell=True) + for_fq=input_file.replace(".sra","_1.fastq") + rev_fq=input_file.replace(".sra","_2.fastq") + else: + core_id=input_file.split(".fastq")[0].split(".fq")[0] + for_fq=core_id+"_1.fastq" + rev_fq=core_id+"_2.fastq" + if input_file.endswith(".gz"): + subprocess.check_call("gzip -dc "+input_file+" | "+dirpath+"/deinterleave_fastq.sh "+for_fq+" "+rev_fq,shell=True) + else: + subprocess.check_call("cat "+input_file+" | "+dirpath+"/deinterleave_fastq.sh "+for_fq+" "+rev_fq,shell=True) + elif data_type=="2": + for_fq=input_file[0].split("/")[-1] + rev_fq=input_file[1].split("/")[-1] + elif data_type=="3": + input_file=input_file[0].split("/")[-1] + if input_file.endswith(".sra"): + subprocess.check_call("fastq-dump --split-files "+input_file,shell=True) + for_fq=input_file.replace(".sra","_1.fastq") + else: + for_fq=input_file + elif data_type in ["4","5","6"]: + for_fq=input_file[0].split("/")[-1] + os.chdir("..") + return for_fq,rev_fq + +def predict_O_and_H_types(Final_list,Final_list_passed,new_fasta): + #get O and H types from Final_list from blast parsing; allele mode + from Bio import SeqIO + fliC_choice="-" + fljB_choice="-" + fliC_contig="NA" + fljB_contig="NA" + fliC_region=set([0]) + fljB_region=set([0,]) + fliC_length=0 #can be changed to coverage in future; in 03292019, changed to ailgned length + fljB_length=0 #can be changed to coverage in future; in 03292019, changed to ailgned length + O_choice="-"#no need to decide O contig for now, should be only one + O_choice,O_nodes,special_gene_list,O_nodes_roles,contamination_O,Otypes_uniq=decide_O_type_and_get_special_genes(Final_list,Final_list_passed)#decide the O antigen type and also return special-gene-list for further identification + O_choice=O_choice.split("-")[-1].strip() + if (O_choice=="1,3,19" and len(O_nodes_roles)==1 and "1,3,19" in O_nodes_roles[0][0]) or O_choice=="": + O_choice="-" + H_contig_roles=decide_contig_roles_for_H_antigen(Final_list,Final_list_passed)#decide the H antigen contig is fliC or fljB + #add alignment locations, used for further selection, 03312019 + for i in range(len(H_contig_roles)): + x=H_contig_roles[i] + for y in Final_list_passed: + if x[1] in y[0] and y[0].startswith(x[0]): + H_contig_roles[i]+=H_contig_roles[i]+(y[-1],) + break + log_file=open("SeqSero_log.txt","a") + extract_file=open("Extracted_antigen_alleles.fasta","a") + handle_fasta=list(SeqIO.parse(new_fasta,"fasta")) + + #print("O_contigs:") + log_file.write("O_contigs:\n") + extract_file.write("#Sequences with antigen signals (if the micro-assembled contig only covers the flanking region, it will not be used for contamination analysis)\n") + extract_file.write("#O_contigs:\n") + for x in O_nodes_roles: + if "O-1,3,19_not_in_3,10" not in x[0]:#O-1,3,19_not_in_3,10 is just a small size marker + #print(x[0].split("___")[-1],x[0].split("__")[0],"blast score:",x[1],"identity%:",str(round(x[2]*100,2))+"%",str(min(x[-1]))+" to "+str(max(x[-1]))) + log_file.write(x[0].split("___")[-1]+" "+x[0].split("__")[0]+"; "+"blast score: "+str(x[1])+" identity%: "+str(round(x[2]*100,2))+"%; alignment from "+str(min(x[-1]))+" to "+str(max(x[-1]))+" of antigen\n") + title=">"+x[0].split("___")[-1]+" "+x[0].split("__")[0]+"; "+"blast score: "+str(x[1])+" identity%: "+str(round(x[2]*100,2))+"%; alignment from "+str(min(x[-1]))+" to "+str(max(x[-1]))+" of antigen\n" + seqs="" + for z in handle_fasta: + if x[0].split("___")[-1]==z.description: + seqs=str(z.seq) + extract_file.write(title+seqs+"\n") + if len(H_contig_roles)!=0: + highest_H_coverage=max([float(x[1].split("_cov_")[-1].split("_")[0]) for x in H_contig_roles]) #less than highest*0.1 would be regarded as contamination and noises, they will still be considered in contamination detection and logs, but not used as final serotype output + else: + highest_H_coverage=0 + for x in H_contig_roles: + #if multiple choices, temporately select the one with longest length for now, will revise in further change + if "fliC" == x[0] and len(x[-1])>=fliC_length and x[1] not in O_nodes and float(x[1].split("_cov_")[-1].split("_")[0])>highest_H_coverage*0.13:#remember to avoid the effect of O-type contig, so should not in O_node list + fliC_contig=x[1] + fliC_length=len(x[-1]) + elif "fljB" == x[0] and len(x[-1])>=fljB_length and x[1] not in O_nodes and float(x[1].split("_cov_")[-1].split("_")[0])>highest_H_coverage*0.13: + fljB_contig=x[1] + fljB_length=len(x[-1]) + for x in Final_list_passed: + if fliC_choice=="-" and "fliC_" in x[0] and fliC_contig in x[0]: + fliC_choice=x[0].split("_")[1] + elif fljB_choice=="-" and "fljB_" in x[0] and fljB_contig in x[0]: + fljB_choice=x[0].split("_")[1] + elif fliC_choice!="-" and fljB_choice!="-": + break + #now remove contigs not in middle core part + first_allele="NA" + first_allele_percentage=0 + for x in Final_list: + if x[0].startswith("fliC") or x[0].startswith("fljB"): + first_allele=x[0].split("__")[0] #used to filter those un-middle contigs + first_allele_percentage=x[2] + break + additional_contigs=[] + for x in Final_list: + if first_allele in x[0]: + if (fliC_contig == x[0].split("___")[-1]): + fliC_region=x[3] + elif fljB_contig!="NA" and (fljB_contig == x[0].split("___")[-1]): + fljB_region=x[3] + else: + if x[1]*1.1>int(x[0].split("___")[1].split("_")[3]):#loose threshold by multiplying 1.1 + additional_contigs.append(x) + #else: + #print x[:3] + #we can just use the fljB region (or fliC depends on size), no matter set() or contain a large locations (without middle part); however, if none of them is fully assembled, use 500 and 1200 as conservative cut-off + if first_allele_percentage>0.9: + if len(fliC_region)>len(fljB_region) and (max(fljB_region)-min(fljB_region))>1000: + target_region=fljB_region|(fliC_region-set(range(min(fljB_region),max(fljB_region)))) #fljB_region|(fliC_region-set(range(min(fljB_region),max(fljB_region)))) + elif len(fliC_region)1000: + target_region=fliC_region|(fljB_region-set(range(min(fliC_region),max(fliC_region)))) #fljB_region|(fliC_region-set(range(min(fljB_region),max(fljB_region)))) + else: + target_region=set()#doesn't do anything + else: + target_region=set()#doesn't do anything + #print(target_region) + #print(additional_contigs) + target_region2=set(list(range(0,525))+list(range(1200,1700)))#I found to use 500 to 1200 as special region would be best + target_region=target_region2|target_region + for x in additional_contigs: + removal=0 + contig_length=int(x[0].split("___")[1].split("length_")[-1].split("_")[0]) + if fljB_contig not in x[0] and fliC_contig not in x[0] and len(target_region&x[3])/float(len(x[3]))>0.65 and contig_length*0.5 0.9 and float(x[0].split("__")[1].split("___")[0])*x[2]/len(x[-1])>0.96:#if high similiarity with middle part of first allele (first allele >0.9, already cover middle part) + removal=1 + else: + pass + if removal==1: + for y in H_contig_roles: + if y[1] in x[0]: + H_contig_roles.remove(y) + else: + pass + #print(x[:3],contig_length,len(target_region&x[3])/float(len(x[3])),contig_length*0.5,len(x[3]),contig_length*1.5) + #end of removing none-middle contigs + #print("H_contigs:") + log_file.write("H_contigs:\n") + extract_file.write("#H_contigs:\n") + H_contig_stat=[] + H1_cont_stat={} + H2_cont_stat={} + for i in range(len(H_contig_roles)): + x=H_contig_roles[i] + a=0 + for y in Final_list_passed: + if x[1] in y[0] and y[0].startswith(x[0]): + if "first" in y[0] or "last" in y[0]: #this is the final filter to decide it's fliC or fljB, if can't pass, then can't decide + for y in Final_list_passed: #it's impossible to has the "first" and "last" allele as prediction, so re-do it + if x[1] in y[0]:#it's very possible to be third phase allele, so no need to make it must be fliC or fljB + #print(x[1],"can't_decide_fliC_or_fljB",y[0].split("_")[1],"blast_score:",y[1],"identity%:",str(round(y[2]*100,2))+"%",str(min(y[-1]))+" to "+str(max(y[-1]))) + log_file.write(x[1]+" "+x[0]+" "+y[0].split("_")[1]+"; "+"blast score: "+str(y[1])+" identity%: "+str(round(y[2]*100,2))+"%; alignment from "+str(min(y[-1]))+" to "+str(max(y[-1]))+" of antigen\n") + H_contig_roles[i]="can't decide fliC or fljB, may be third phase" + title=">"+x[1]+" "+x[0]+" "+y[0].split("_")[1]+"; "+"blast score: "+str(y[1])+" identity%: "+str(round(y[2]*100,2))+"%; alignment from "+str(min(y[-1]))+" to "+str(max(y[-1]))+" of antiten\n" + seqs="" + for z in handle_fasta: + if x[1]==z.description: + seqs=str(z.seq) + extract_file.write(title+seqs+"\n") + break + else: + #print(x[1],x[0],y[0].split("_")[1],"blast_score:",y[1],"identity%:",str(round(y[2]*100,2))+"%",str(min(y[-1]))+" to "+str(max(y[-1]))) + log_file.write(x[1]+" "+x[0]+" "+y[0].split("_")[1]+"; "+"blast score: "+str(y[1])+" identity%: "+str(round(y[2]*100,2))+"%; alignment from "+str(min(y[-1]))+" to "+str(max(y[-1]))+" of antigen\n") + title=">"+x[1]+" "+x[0]+" "+y[0].split("_")[1]+"; "+"blast score: "+str(y[1])+" identity%: "+str(round(y[2]*100,2))+"%; alignment from "+str(min(y[-1]))+" to "+str(max(y[-1]))+" of antigen\n" + seqs="" + for z in handle_fasta: + if x[1]==z.description: + seqs=str(z.seq) + extract_file.write(title+seqs+"\n") + if x[0]=="fliC": + if y[0].split("_")[1] not in H1_cont_stat: + H1_cont_stat[y[0].split("_")[1]]=y[2] + else: + H1_cont_stat[y[0].split("_")[1]]+=y[2] + if x[0]=="fljB": + if y[0].split("_")[1] not in H2_cont_stat: + H2_cont_stat[y[0].split("_")[1]]=y[2] + else: + H2_cont_stat[y[0].split("_")[1]]+=y[2] + break + #detect contaminations + #print(H1_cont_stat) + #print(H2_cont_stat) + H1_cont_stat_list=[x for x in H1_cont_stat if H1_cont_stat[x]>0.2] + H2_cont_stat_list=[x for x in H2_cont_stat if H2_cont_stat[x]>0.2] + contamination_H="" + if len(H1_cont_stat_list)>1 or len(H2_cont_stat_list)>1: + contamination_H="potential contamination from H antigen signals" + elif len(H2_cont_stat_list)==1 and fljB_contig=="NA": + contamination_H="potential contamination from H antigen signals, uncommon weak fljB signals detected" + #get additional antigens + """ + if ("O-9,46_wbaV" in O_list or "O-9,46_wbaV-from-II-9,12:z29:1,5-SRR1346254" in O_list) and O_list_less_contamination[0].startswith("O-9,"):#not sure should use and float(O9_wbaV)/float(num_1) > 0.1 + if "O-9,46_wzy" in O_list:#and float(O946_wzy)/float(num_1) > 0.1 + O_choice="O-9,46" + #print "$$$Most possilble Otype: O-9,46" + elif "O-9,46,27_partial_wzy" in O_list:#and float(O94627)/float(num_1) > 0.1 + O_choice="O-9,46,27" + #print "$$$Most possilble Otype: O-9,46,27" + elif ("O-3,10_wzx" in O_list) and ("O-9,46_wzy" in O_list) and (O_list[0].startswith("O-3,10") or O_list_less_contamination[0].startswith("O-9,46_wzy")):#and float(O310_wzx)/float(num_1) > 0.1 and float(O946_wzy)/float(num_1) > 0.1 + if "O-3,10_not_in_1,3,19" in O_list:#and float(O310_no_1319)/float(num_1) > 0.1 + O_choice="O-3,10" + #print "$$$Most possilble Otype: O-3,10 (contain O-3,10_not_in_1,3,19)" + else: + O_choice="O-1,3,19" + #print "$$$Most possilble Otype: O-1,3,19 (not contain O-3,10_not_in_1,3,19)" + ### end of special test for O9,46 and O3,10 family + + if O_choice=="O-9,46,27" or O_choice=="O-3,10" or O_choice=="O-1,3,19": + if len(Otypes_uniq)>2: + contamination_O="potential contamination from O antigen signals" + else: + if len(Otypes_uniq)>1: + if O_choice=="O-4" and len(Otypes_uniq)==2 and "O-9,46,27" in Otypes_uniq: #for special 4,12,27 case such as Bredeney and Schwarzengrund + contamination_O="" + elif O_choice=="O-9,46" and len(Otypes_uniq)==2 and "O-9,46_wbaV" in Otypes_uniq and "O-9,46_wzy" in Otypes_uniq: #for special 4,12,27 case such as Bredeney and Schwarzengrund + contamination_O="" + """ + additonal_antigents=[] + #print(contamination_O) + #print(contamination_H) + log_file.write(contamination_O+"\n") + log_file.write(contamination_H+"\n") + log_file.close() + return O_choice,fliC_choice,fljB_choice,special_gene_list,contamination_O,contamination_H,Otypes_uniq,H1_cont_stat_list,H2_cont_stat_list + +def get_input_K(input_file,lib_dict,data_type,k_size): + #kmer mode; get input_Ks from dict and data_type + kmers = [] + for h in lib_dict: + kmers += lib_dict[h] + if data_type == '4': + input_Ks = target_multifasta_kmerizer(input_file, k_size, set(kmers)) + elif data_type == '1' or data_type == '2' or data_type == '3':#set it for now, will change later + input_Ks = target_read_kmerizer(input_file, k_size, set(kmers)) + elif data_type == '5':#minion_2d_fasta + input_Ks = minion_fasta_kmerizer(input_file, k_size, set(kmers)) + if data_type == '6':#minion_2d_fastq + input_Ks = minion_fastq_kmerizer(input_file, k_size, set(kmers)) + return input_Ks + +def get_kmer_dict(lib_dict,input_Ks): + #kmer mode; get predicted types + O_dict = {} + H_dict = {} + Special_dict = {} + for h in lib_dict: + score = (len(lib_dict[h] & input_Ks) / len(lib_dict[h])) * 100 + if score > 1: # Arbitrary cut-off for similarity score very low but seems necessary to detect O-3,10 in some cases + if h.startswith('O-') and score > 25: + O_dict[h] = score + if h.startswith('fl') and score > 40: + H_dict[h] = score + if (h[:2] != 'fl') and (h[:2] != 'O-'): + Special_dict[h] = score + return O_dict,H_dict,Special_dict + +def call_O_and_H_type(O_dict,H_dict,Special_dict,make_dir): + log_file=open("SeqSero_log.txt","a") + log_file.write("O_scores:\n") + #call O: + highest_O = '-' + if len(O_dict) == 0: + pass + else: + for x in O_dict: + log_file.write(x+"\t"+str(O_dict[x])+"\n") + if ('O-9,46_wbaV__1002' in O_dict and O_dict['O-9,46_wbaV__1002']>70) or ("O-9,46_wbaV-from-II-9,12:z29:1,5-SRR1346254__1002" in O_dict and O_dict['O-9,46_wbaV-from-II-9,12:z29:1,5-SRR1346254__1002']>70): # not sure should use and float(O9_wbaV)/float(num_1) > 0.1 + if 'O-9,46_wzy__1191' in O_dict: # and float(O946_wzy)/float(num_1) > 0.1 + highest_O = "O-9,46" + elif "O-9,46,27_partial_wzy__1019" in O_dict: # and float(O94627)/float(num_1) > 0.1 + highest_O = "O-9,46,27" + else: + highest_O = "O-9" # next, detect O9 vs O2? + O2 = 0 + O9 = 0 + for z in Special_dict: + if "tyr-O-9" in z: + O9 = float(Special_dict[z]) + if "tyr-O-2" in z: + O2 = float(Special_dict[z]) + if O2 > O9: + highest_O = "O-2" + elif ("O-3,10_wzx__1539" in O_dict) and ( + "O-9,46_wzy__1191" in O_dict + ): # and float(O310_wzx)/float(num_1) > 0.1 and float(O946_wzy)/float(num_1) > 0.1 + if "O-3,10_not_in_1,3,19__1519" in O_dict: # and float(O310_no_1319)/float(num_1) > 0.1 + highest_O = "O-3,10" + else: + highest_O = "O-1,3,19" + ### end of special test for O9,46 and O3,10 family + else: + try: + max_score = 0 + for x in O_dict: + if float(O_dict[x]) >= max_score: + max_score = float(O_dict[x]) + highest_O = x.split("_")[0] + if highest_O == "O-1,3,19": + highest_O = '-' + max_score = 0 + for x in O_dict: + if x == 'O-1,3,19_not_in_3,10__130': + pass + else: + if float(O_dict[x]) >= max_score: + max_score = float(O_dict[x]) + highest_O = x.split("_")[0] + except: + pass + #call_fliC: + if len(H_dict)!=0: + highest_H_score_both_BC=H_dict[max(H_dict.keys(), key=(lambda k: H_dict[k]))] #used to detect whether fljB existed or not + else: + highest_H_score_both_BC=0 + highest_fliC = '-' + highest_fliC_raw = '-' + highest_Score = 0 + log_file.write("\nH_scores:\n") + for s in H_dict: + log_file.write(s+"\t"+str(H_dict[s])+"\n") + if s.startswith('fliC'): + if float(H_dict[s]) > highest_Score: + highest_fliC = s.split('_')[1] + highest_fliC_raw = s + highest_Score = float(H_dict[s]) + #call_fljB + highest_fljB = '-' + highest_fljB_raw = '-' + highest_Score = 0 + for s in H_dict: + if s.startswith('fljB'): + if float(H_dict[s]) > highest_Score and float(H_dict[s]) > highest_H_score_both_BC * 0.65: #fljB is special, so use highest_H_score_both_BC to give a general estimate of coverage, currently 0.65 seems pretty good; the reason use a high (0.65) is some fliC and fljB shared with each other + highest_fljB = s.split('_')[1] + highest_fljB_raw = s + highest_Score = float(H_dict[s]) + log_file.write("\nSpecial_scores:\n") + for s in Special_dict: + log_file.write(s+"\t"+str(Special_dict[s])+"\n") + log_file.close() + return highest_O,highest_fliC,highest_fljB + +def get_temp_file_names(for_fq,rev_fq): + #seqsero2 -a; get temp file names + sam=for_fq+".sam" + bam=for_fq+".bam" + sorted_bam=for_fq+"_sorted.bam" + mapped_fq1=for_fq+"_mapped.fq" + mapped_fq2=rev_fq+"_mapped.fq" + combined_fq=for_fq+"_combined.fq" + for_sai=for_fq+".sai" + rev_sai=rev_fq+".sai" + return sam,bam,sorted_bam,mapped_fq1,mapped_fq2,combined_fq,for_sai,rev_sai + +def map_and_sort(threads,database,fnameA,fnameB,sam,bam,for_sai,rev_sai,sorted_bam,mapping_mode): + #seqsero2 -a; do mapping and sort + print("building database...") + subprocess.check_call("bwa index "+database+ " 2>> data_log.txt",shell=True) + print("mapping...") + if mapping_mode=="mem": + subprocess.check_call("bwa mem -k 17 -t "+threads+" "+database+" "+fnameA+" "+fnameB+" > "+sam+ " 2>> data_log.txt",shell=True) + elif mapping_mode=="sam": + if fnameB!="": + subprocess.check_call("bwa aln -t "+threads+" "+database+" "+fnameA+" > "+for_sai+ " 2>> data_log.txt",shell=True) + subprocess.check_call("bwa aln -t "+threads+" "+database+" "+fnameB+" > "+rev_sai+ " 2>> data_log.txt",shell=True) + subprocess.check_call("bwa sampe "+database+" "+for_sai+" "+ rev_sai+" "+fnameA+" "+fnameB+" > "+sam+ " 2>> data_log.txt",shell=True) + else: + subprocess.check_call("bwa aln -t "+threads+" "+database+" "+fnameA+" > "+for_sai+ " 2>> data_log.txt",shell=True) + subprocess.check_call("bwa samse "+database+" "+for_sai+" "+for_fq+" > "+sam) + subprocess.check_call("samtools view -@ "+threads+" -F 4 -Sh "+sam+" > "+bam,shell=True) + ### check the version of samtools then use differnt commands + samtools_version=subprocess.Popen(["samtools"],stdout=subprocess.PIPE,stderr=subprocess.PIPE) + out, err = samtools_version.communicate() + version = str(err).split("ersion:")[1].strip().split(" ")[0].strip() + print("check samtools version:",version) + ### end of samtools version check and its analysis + if LooseVersion(version)<=LooseVersion("1.2"): + subprocess.check_call("samtools sort -@ "+threads+" -n "+bam+" "+fnameA+"_sorted",shell=True) + else: + subprocess.check_call("samtools sort -@ "+threads+" -n "+bam+" >"+sorted_bam,shell=True) + +def extract_mapped_reads_and_do_assembly_and_blast(current_time,sorted_bam,combined_fq,mapped_fq1,mapped_fq2,threads,fnameA,fnameB,database,mapping_mode): + #seqsero2 -a; extract, assembly and blast + subprocess.check_call("bamToFastq -i "+sorted_bam+" -fq "+combined_fq,shell=True) + #print("fnameA:",fnameA) + #print("fnameB:",fnameB) + if fnameB!="": + subprocess.check_call("bamToFastq -i "+sorted_bam+" -fq "+mapped_fq1+" -fq2 "+mapped_fq2 + " 2>> data_log.txt",shell=True)#2> /dev/null if want no output + else: + pass + outdir=current_time+"_temp" + print("assembling...") + if int(threads)>4: + t="4" + else: + t=threads + if os.path.getsize(combined_fq)>100 and (fnameB=="" or os.path.getsize(mapped_fq1)>100):#if not, then it's "-:-:-" + if fnameB!="": + subprocess.check_call("spades.py --careful --pe1-s "+combined_fq+" --pe1-1 "+mapped_fq1+" --pe1-2 "+mapped_fq2+" -t "+t+" -o "+outdir+ " >> data_log.txt 2>&1",shell=True) + else: + subprocess.check_call("spades.py --careful --pe1-s "+combined_fq+" -t "+t+" -o "+outdir+ " >> data_log.txt 2>&1",shell=True) + #new_fasta=fnameA+"_"+database+"_"+mapping_mode+".fasta" + new_fasta=fnameA+"_"+database.split('/')[-1]+"_"+mapping_mode+".fasta" # ed_SL_09152019: change path to databse for packaging + subprocess.check_call("mv "+outdir+"/contigs.fasta "+new_fasta+ " 2> /dev/null",shell=True) + #os.system("mv "+outdir+"/scaffolds.fasta "+new_fasta+ " 2> /dev/null") contigs.fasta + subprocess.check_call("rm -rf "+outdir+ " 2> /dev/null",shell=True) + print("blasting...","\n") + xmlfile="blasted_output.xml"#fnameA+"-extracted_vs_"+database+"_"+mapping_mode+".xml" + subprocess.check_call('makeblastdb -in '+new_fasta+' -out '+new_fasta+'_db '+'-dbtype nucl >> data_log.txt 2>&1',shell=True) #temp.txt is to forbid the blast result interrupt the output of our program###1/27/2015 + subprocess.check_call("blastn -query "+database+" -db "+new_fasta+"_db -out "+xmlfile+" -outfmt 5 >> data_log.txt 2>&1",shell=True)###1/27/2015; 08272018, remove "-word_size 10" + else: + xmlfile="NA" + return xmlfile,new_fasta + +def judge_subspecies(fnameA,dirpath): + #seqsero2 -a; judge subspecies on just forward raw reads fastq + salmID_output=subprocess.Popen("python " + dirpath + "/SalmID.py -i "+fnameA,shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE) + out, err = salmID_output.communicate() + out=out.decode("utf-8") + file=open("data_log.txt","a") + file.write(out) + file.close() + salm_species_scores=out.split("\n")[1].split("\t")[6:] + salm_species_results=out.split("\n")[0].split("\t")[6:] + max_score=0 + max_score_index=1 #default is 1, means "I" + for i in range(len(salm_species_scores)): + if max_score float(out.split("\n")[1].split("\t")[5]): #bongori and enterica compare + prediction="bongori" #if not, the prediction would always be enterica, since they are located in the later part + if max_score<10: + prediction="-" + return prediction + +def judge_subspecies_Kmer(Special_dict): + #seqsero2 -k; + max_score=0 + prediction="-" #default should be I + for x in Special_dict: + if "mer" in x: + if max_score95:#if bongori already, then no need to test enterica + prediction="bongori" + break + return prediction + +def main(): + #combine SeqSeroK and SeqSero2, also with SalmID + args = parse_args() + input_file = args.i + data_type = args.t + analysis_mode = args.m + mapping_mode=args.b + threads=args.p + make_dir=args.d + clean_mode=args.c + k_size=27 #will change for bug fixing + #database="H_and_O_and_specific_genes.fasta" + dirpath = os.path.abspath(os.path.dirname(os.path.realpath(__file__))) + ex_dir = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)),'seqsero2_db')) # ed_SL_09152019: add ex_dir for packaging + database=ex_dir+"/H_and_O_and_specific_genes.fasta" # ed_SL_09152019: change path to database for packaging + note="Note:" + NA_note=" This predicted serotype is not in the Kauffman-White scheme." # ed_SL_09272019: add for new output format + if len(sys.argv)==1: + subprocess.check_call(dirpath+"/SeqSero2_package.py -h",shell=True)#change name of python file + else: + request_id = time.strftime("%m_%d_%Y_%H_%M_%S", time.localtime()) + request_id += str(random.randint(1, 10000000)) + if make_dir is None: + make_dir="SeqSero_result_"+request_id + if os.path.isdir(make_dir): + pass + else: + subprocess.check_call(["mkdir",make_dir]) + #subprocess.check_call("cp "+dirpath+"/"+database+" "+" ".join(input_file)+" "+make_dir,shell=True) + #subprocess.check_call("ln -sr "+dirpath+"/"+database+" "+" ".join(input_file)+" "+make_dir,shell=True) + subprocess.check_call("ln -f -s "+database+" "+" ".join(input_file)+" "+make_dir,shell=True) # ed_SL_09152019: change path to database for packaging + #subprocess.check_call("ln -f -s "+dirpath+"/"+database+" "+" ".join(input_file)+" "+make_dir,shell=True) ### ed_SL_05282019: use -f option to force the replacement of links, remove -r and use absolute path instead to avoid link issue (use 'type=os.path.abspath' in -i argument). + ############################begin the real analysis + if analysis_mode=="a": + if data_type in ["1","2","3"]:#use allele mode + for_fq,rev_fq=get_input_files(make_dir,input_file,data_type,dirpath) + os.chdir(make_dir) + ###add a function to tell input files + fnameA=for_fq.split("/")[-1] + fnameB=rev_fq.split("/")[-1] + current_time=time.strftime("%Y_%m_%d_%H_%M_%S", time.localtime()) + sam,bam,sorted_bam,mapped_fq1,mapped_fq2,combined_fq,for_sai,rev_sai=get_temp_file_names(fnameA,fnameB) #get temp files id + map_and_sort(threads,database,fnameA,fnameB,sam,bam,for_sai,rev_sai,sorted_bam,mapping_mode) #do mapping and sort + xmlfile,new_fasta=extract_mapped_reads_and_do_assembly_and_blast(current_time,sorted_bam,combined_fq,mapped_fq1,mapped_fq2,threads,fnameA,fnameB,database,mapping_mode) #extract the mapped reads and do micro assembly and blast + if xmlfile=="NA": + O_choice,fliC_choice,fljB_choice,special_gene_list,contamination_O,contamination_H=("-","-","-",[],"","") + else: + Final_list=xml_parse_score_comparision_seqsero(xmlfile) #analyze xml and get parsed results + file=open("data_log.txt","a") + for x in Final_list: + file.write("\t".join(str(y) for y in x)+"\n") + file.close() + Final_list_passed=[x for x in Final_list if float(x[0].split("_cov_")[1].split("_")[0])>=0.9 and (x[1]>=int(x[0].split("__")[1]) or x[1]>=int(x[0].split("___")[1].split("_")[3]) or x[1]>1000)] + O_choice,fliC_choice,fljB_choice,special_gene_list,contamination_O,contamination_H,Otypes_uniq,H1_cont_stat_list,H2_cont_stat_list=predict_O_and_H_types(Final_list,Final_list_passed,new_fasta) #predict O, fliC and fljB + subspecies=judge_subspecies(fnameA,dirpath) #predict subspecies + ###output + predict_form,predict_sero,star,star_line,claim=seqsero_from_formula_to_serotypes(O_choice,fliC_choice,fljB_choice,special_gene_list,subspecies) + claim="" #04132019, disable claim for new report requirement + contamination_report="" + H_list=["fliC_"+x for x in H1_cont_stat_list if len(x)>0]+["fljB_"+x for x in H2_cont_stat_list if len(x)>0] + if contamination_O!="" and contamination_H=="": + contamination_report="#Potential inter-serotype contamination detected from O antigen signals. All O-antigens detected:"+"\t".join(Otypes_uniq)+"." + elif contamination_O=="" and contamination_H!="": + contamination_report="#Potential inter-serotype contamination detected or potential thrid H phase from H antigen signals. All H-antigens detected:"+"\t".join(H_list)+"." + elif contamination_O!="" and contamination_H!="": + contamination_report="#Potential inter-serotype contamination detected from both O and H antigen signals.All O-antigens detected:"+"\t".join(Otypes_uniq)+". All H-antigens detected:"+"\t".join(H_list)+"." + if contamination_report!="": + #contamination_report="potential inter-serotype contamination detected (please refer below antigen signal report for details)." #above contamination_reports are for back-up and bug fixing #web-based mode need to be re-used, 04132019 + contamination_report=" Co-existence of multiple serotypes detected, indicating potential inter-serotype contamination. See 'Extracted_antigen_alleles.fasta' for detected serotype determinant alleles." + #claim="\n"+open("Extracted_antigen_alleles.fasta","r").read()#used to store H and O antigen sequeences #04132019, need to change if using web-version + ## ed_SL_09272019: change for new output format + #if contamination_report+star_line+claim=="": #0413, new output style + # note="" + #else: + # note="Note:" + if clean_mode: + subprocess.check_call("rm -rf ../"+make_dir,shell=True) + make_dir="none-output-directory due to '-c' flag" + else: + new_file=open("SeqSero_result.txt","w") + if O_choice=="": + O_choice="-" + if "N/A" not in predict_sero: + new_file.write("Output_directory:\t"+make_dir+"\n"+ + "Input files:\t"+"\t".join(input_file)+"\n"+ + "O antigen prediction:\t"+O_choice+"\n"+ + "H1 antigen prediction(fliC):\t"+fliC_choice+"\n"+ + "H2 antigen prediction(fljB):\t"+fljB_choice+"\n"+ + "Predicted subspecies:\t"+subspecies+"\n"+ + "Predicted antigenic profile:\t"+predict_form+"\n"+ + "Predicted serotype:\t"+predict_sero+"\n"+ # ed_SL_04152019: change serotype(s) to serotype + note+contamination_report+star_line+claim+"\n")#+## + else: + #star_line=star_line.strip()+"\tNone such antigenic formula in KW.\n" + star_line="" #04132019, for new output requirement, diable star_line if "NA" in output + new_file.write("Output_directory:\t"+make_dir+"\n"+ + "Input files:\t"+"\t".join(input_file)+"\n"+ + "O antigen prediction:\t"+O_choice+"\n"+ + "H1 antigen prediction(fliC):\t"+fliC_choice+"\n"+ + "H2 antigen prediction(fljB):\t"+fljB_choice+"\n"+ + "Predicted subspecies:\t"+subspecies+"\n"+ + "Predicted antigenic profile:\t"+predict_form+"\n"+ + "Predicted serotype:\t"+predict_form+"\n"+ # ed_SL_09242019: add serotype output for "N/A" prediction + note+NA_note+contamination_report+star_line+claim+"\n")#+## + new_file.close() + print("\n") + #subprocess.check_call("cat Seqsero_result.txt",shell=True) + #subprocess.call("rm H_and_O_and_specific_genes.fasta* *.sra *.bam *.sam *.fastq *.gz *.fq temp.txt *.xml "+fnameA+"*_db* 2> /dev/null",shell=True) + subprocess.call("rm H_and_O_and_specific_genes.fasta* *.sra *.bam *.sam *.fastq *.gz *.fq temp.txt "+fnameA+"*_db* 2> /dev/null",shell=True) + if "N/A" not in predict_sero: + #print("Output_directory:"+make_dir+"\nInput files:\t"+for_fq+" "+rev_fq+"\n"+"O antigen prediction:\t"+O_choice+"\n"+"H1 antigen prediction(fliC):\t"+fliC_choice+"\n"+"H2 antigen prediction(fljB):\t"+fljB_choice+"\n"+"Predicted antigenic profile:\t"+predict_form+"\n"+"Predicted subspecies:\t"+subspecies+"\n"+"Predicted serotype(s):\t"+predict_sero+star+"\nNote:"+contamination_report+star+star_line+claim+"\n")#+## + print("Output_directory:\t"+make_dir+"\n"+ + "Input files:\t"+"\t".join(input_file)+"\n"+ + "O antigen prediction:\t"+O_choice+"\n"+ + "H1 antigen prediction(fliC):\t"+fliC_choice+"\n"+ + "H2 antigen prediction(fljB):\t"+fljB_choice+"\n"+ + "Predicted subspecies:\t"+subspecies+"\n"+ + "Predicted antigenic profile:\t"+predict_form+"\n"+ + "Predicted serotype:\t"+predict_sero+"\n"+ # ed_SL_04152019: change serotype(s) to serotype + note+contamination_report+star_line+claim+"\n")#+## + else: + print("Output_directory:\t"+make_dir+"\n"+ + "Input files:\t"+"\t".join(input_file)+"\n"+ + "O antigen prediction:\t"+O_choice+"\n"+ + "H1 antigen prediction(fliC):\t"+fliC_choice+"\n"+ + "H2 antigen prediction(fljB):\t"+fljB_choice+"\n"+ + "Predicted subspecies:\t"+subspecies+"\n"+ + "Predicted antigenic profile:\t"+predict_form+"\n"+ + "Predicted serotype:\t"+predict_form+"\n"+ # ed_SL_09242019: add serotype output for "N/A" prediction + note+NA_note+contamination_report+star_line+claim+"\n") + else: + print("Allele modes only support raw reads datatype, i.e. '-t 1 or 2 or 3'; please use '-m k'") + elif analysis_mode=="k": + #ex_dir = os.path.dirname(os.path.realpath(__file__)) + ex_dir = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)),'seqsero2_db')) # ed_SL_09152019: change ex_dir for packaging + #output_mode = args.mode + for_fq,rev_fq=get_input_files(make_dir,input_file,data_type,dirpath) + input_file = for_fq #-k will just use forward because not all reads were used + os.chdir(make_dir) + f = open(ex_dir + '/antigens.pickle', 'rb') + lib_dict = pickle.load(f) + f.close + input_Ks=get_input_K(input_file,lib_dict,data_type,k_size) + O_dict,H_dict,Special_dict=get_kmer_dict(lib_dict,input_Ks) + highest_O,highest_fliC,highest_fljB=call_O_and_H_type(O_dict,H_dict,Special_dict,make_dir) + subspecies=judge_subspecies_Kmer(Special_dict) + if subspecies=="IIb" or subspecies=="IIa": + subspecies="II" + predict_form,predict_sero,star,star_line,claim = seqsero_from_formula_to_serotypes( + highest_O.split('-')[1], highest_fliC, highest_fljB, Special_dict,subspecies) + claim="" #no claim any more based on new output requirement + ## ed_SL_09272019: change for new output format + #if star_line+claim=="": #0413, new output style + # note="" + #else: + # note="Note:" + if clean_mode: + subprocess.check_call("rm -rf ../"+make_dir,shell=True) + make_dir="none-output-directory due to '-c' flag" + ### ed_SL_05282019, fix the assignment issue of variable 'O_choice' using "-m k -c" + if highest_O.split('-')[-1]=="": + O_choice="-" + else: + O_choice=highest_O.split('-')[-1] + ### + else: + if highest_O.split('-')[-1]=="": + O_choice="-" + else: + O_choice=highest_O.split('-')[-1] + #print("Output_directory:"+make_dir+"\tInput_file:"+input_file+"\tPredicted subpecies:"+subspecies + '\tPredicted antigenic profile:' + predict_form + '\tPredicted serotype(s):' + predict_sero) + new_file=open("SeqSero_result.txt","w") + #new_file.write("Output_directory:"+make_dir+"\nInput files:\t"+input_file+"\n"+"O antigen prediction:\t"+O_choice+"\n"+"H1 antigen prediction(fliC):\t"+highest_fliC+"\n"+"H2 antigen prediction(fljB):\t"+highest_fljB+"\n"+"Predicted antigenic profile:\t"+predict_form+"\n"+"Predicted subspecies:\t"+subspecies+"\n"+"Predicted serotype(s):\t"+predict_sero+star+"\n"+star+star_line+claim+"\n")#+## + if "N/A" not in predict_sero: + new_file.write("Output_directory:\t"+make_dir+"\n"+ + "Input files:\t"+input_file+"\n"+ + "O antigen prediction:\t"+O_choice+"\n"+ + "H1 antigen prediction(fliC):\t"+highest_fliC+"\n"+ + "H2 antigen prediction(fljB):\t"+highest_fljB+"\n"+ + "Predicted subspecies:\t"+subspecies+"\n"+ + "Predicted antigenic profile:\t"+predict_form+"\n"+ + "Predicted serotype:\t"+predict_sero+"\n"+ # ed_SL_04152019: change serotype(s) to serotype + note+star_line+claim+"\n")#+## + else: + #star_line=star_line.strip()+"\tNone such antigenic formula in KW.\n" + star_line = "" #changed for new output requirement, 04132019 + new_file.write("Output_directory:\t"+make_dir+"\n"+ + "Input files:\t"+input_file+"\n"+ + "O antigen prediction:\t"+O_choice+"\n"+ + "H1 antigen prediction(fliC):\t"+highest_fliC+"\n"+ + "H2 antigen prediction(fljB):\t"+highest_fljB+"\n"+ + "Predicted subspecies:\t"+subspecies+"\n"+ + "Predicted antigenic profile:\t"+predict_form+"\n"+ + "Predicted serotype:\t"+predict_form+"\n"+ # ed_SL_09242019: add serotype output for "N/A" prediction + note+NA_note+star_line+claim+"\n")#+## + new_file.close() + subprocess.call("rm *.fasta* *.fastq *.gz *.fq temp.txt *.sra 2> /dev/null",shell=True) + if "N/A" not in predict_sero: + print("Output_directory:\t"+make_dir+"\n"+ + "Input files:\t"+input_file+"\n"+ + "O antigen prediction:\t"+O_choice+"\n"+ + "H1 antigen prediction(fliC):\t"+highest_fliC+"\n"+ + "H2 antigen prediction(fljB):\t"+highest_fljB+"\n"+ + "Predicted subspecies:\t"+subspecies+"\n"+ + "Predicted antigenic profile:\t"+predict_form+"\n"+ + "Predicted serotype:\t"+predict_sero+"\n"+ # ed_SL_04152019: change serotype(s) to serotype + note+star_line+claim+"\n")#+## + else: + print("Output_directory:\t"+make_dir+"\n"+ + "Input files:\t"+input_file+"\n"+ + "O antigen prediction:\t"+O_choice+"\n"+ + "H1 antigen prediction(fliC):\t"+highest_fliC+"\n"+ + "H2 antigen prediction(fljB):\t"+highest_fljB+"\n"+ + "Predicted subspecies:\t"+subspecies+"\n"+ + "Predicted antigenic profile:\t"+predict_form+"\n"+ + "Predicted serotype:\t"+predict_form+"\n"+ # ed_SL_09242019: add serotype output for "N/A" prediction + note+NA_note+star_line+claim+"\n")#+## + +if __name__ == '__main__': + main() diff -r 613775dc3491 -r a51d3bce2612 SeqSero2_update_kmer_database.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SeqSero2_update_kmer_database.py Wed Oct 02 20:37:03 2019 -0400 @@ -0,0 +1,113 @@ +#!/usr/bin/env python3 + +import argparse +import os,subprocess +import pickle + +### SeqSero Kmer +def parse_args(): + "Parse the input arguments, use '-h' for help." + parser = argparse.ArgumentParser(usage='Just type "SeqSero2_update_kmer_database.py", it will update kmer database automatically') + return parser.parse_args() + +def reverse_complement(sequence): + complement = { + 'A': 'T', + 'C': 'G', + 'G': 'C', + 'T': 'A', + 'N': 'N', + 'M': 'K', + 'R': 'Y', + 'W': 'W', + 'S': 'S', + 'Y': 'R', + 'K': 'M', + 'V': 'B', + 'H': 'D', + 'D': 'H', + 'B': 'V' + } + return "".join(complement[base] for base in reversed(sequence)) + +def multifasta_dict(multifasta): + multifasta_list = [ + line.strip() for line in open(multifasta, 'r') if len(line.strip()) > 0 + ] + headers = [i for i in multifasta_list if i[0] == '>'] + multifasta_dict = {} + for h in headers: + start = multifasta_list.index(h) + for element in multifasta_list[start + 1:]: + if element[0] == '>': + break + else: + if h[1:] in multifasta_dict: + multifasta_dict[h[1:]] += element + else: + multifasta_dict[h[1:]] = element + return multifasta_dict + +def createKmerDict_reads(list_of_strings, kmer): + kmer_table = {} + for string in list_of_strings: + sequence = string.strip('\n') + for i in range(len(sequence) - kmer + 1): + new_mer = sequence[i:i + kmer].upper() + new_mer_rc = reverse_complement(new_mer) + if new_mer in kmer_table: + kmer_table[new_mer.upper()] += 1 + else: + kmer_table[new_mer.upper()] = 1 + if new_mer_rc in kmer_table: + kmer_table[new_mer_rc.upper()] += 1 + else: + kmer_table[new_mer_rc.upper()] = 1 + return kmer_table + +def multifasta_to_kmers_dict(multifasta): + multi_seq_dict = multifasta_dict(multifasta) + lib_dict = {} + for h in multi_seq_dict: + lib_dict[h] = set( + [k for k in createKmerDict_reads([multi_seq_dict[h]], 27)]) + return lib_dict + +def get_salmid_invA_database(ex_dir): + # read invA kmer and return it + a = open(ex_dir + '/invA_mers_dict', 'rb') + invA_dict = pickle.load(a) + try: + del invA_dict['version'] + except: + pass + return invA_dict + +def get_salmid_rpoB_database(ex_dir): + # read invA kmer and return it + a = open(ex_dir + '/rpoB_mers_dict', 'rb') + rpoB_dict = pickle.load(a) + try: + del rpoB_dict['version'] + except: + pass + return rpoB_dict + +def main(): + args = parse_args() + ex_dir = os.path.dirname(os.path.realpath(__file__)) + lib_dict = multifasta_to_kmers_dict(ex_dir + '/H_and_O_and_specific_genes.fasta') + invA_dict=get_salmid_invA_database(ex_dir) + #rpoB_dict=get_salmid_rpoB_database(ex_dir) + lib_dict_new = lib_dict.copy() + #print(len(lib_dict_new)) + lib_dict_new.update(invA_dict) + #print(len(lib_dict_new)) + #lib_dict_new.update(rpoB_dict) + #print(len(lib_dict_new)) + f = open(ex_dir + '/antigens.pickle', "wb") + pickle.dump(lib_dict_new, f) + f.close() + +if __name__ == '__main__': + main() diff -r 613775dc3491 -r a51d3bce2612 __pycache__/Initial_Conditions.cpython-34.pyc Binary file __pycache__/Initial_Conditions.cpython-34.pyc has changed diff -r 613775dc3491 -r a51d3bce2612 __pycache__/version.cpython-34.pyc Binary file __pycache__/version.cpython-34.pyc has changed diff -r 613775dc3491 -r a51d3bce2612 deinterleave_fastq.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/deinterleave_fastq.sh Wed Oct 02 20:37:03 2019 -0400 @@ -0,0 +1,30 @@ +#!/bin/bash +# Usage: deinterleave_fastq.sh < interleaved.fastq f.fastq r.fastq [compress] +# +# Deinterleaves a FASTQ file of paired reads into two FASTQ +# files specified on the command line. Optionally GZip compresses the output +# FASTQ files using pigz if the 3rd command line argument is the word "compress" +# +# Can deinterleave 100 million paired reads (200 million total +# reads; a 43Gbyte file), in memory (/dev/shm), in 4m15s (255s) +# +# Latest code: https://gist.github.com/3521724 +# Also see my interleaving script: https://gist.github.com/4544979 +# +# Inspired by Torsten Seemann's blog post: +# http://thegenomefactory.blogspot.com.au/2012/05/cool-use-of-unix-paste-with-ngs.html + +# Set up some defaults +GZIP_OUTPUT=0 +PIGZ_COMPRESSION_THREADS=10 + +# If the third argument is the word "compress" then we'll compress the output using pigz +if [[ $3 == "compress" ]]; then + GZIP_OUTPUT=1 +fi + +if [[ ${GZIP_OUTPUT} == 0 ]]; then + paste - - - - - - - - | tee >(cut -f 1-4 | tr "\t" "\n" > $1) | cut -f 5-8 | tr "\t" "\n" > $2 +else + paste - - - - - - - - | tee >(cut -f 1-4 | tr "\t" "\n" | pigz --best --processes ${PIGZ_COMPRESSION_THREADS} > $1) | cut -f 5-8 | tr "\t" "\n" | pigz --best --processes ${PIGZ_COMPRESSION_THREADS} > $2 +fi diff -r 613775dc3491 -r a51d3bce2612 rpoB_mers_dict Binary file rpoB_mers_dict has changed diff -r 613775dc3491 -r a51d3bce2612 seqsero2.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/seqsero2.xml Wed Oct 02 20:37:03 2019 -0400 @@ -0,0 +1,196 @@ + + Salmonella serotype prediction + + python + biopython + blast + samtools + sra-tools + bwa + spades + bedtools + + reverse.fastq; + #set $reverse = './reverse.fastq' + gunzip -c $forward > forward.fastq; + #set $forward = './forward.fastq' + #end if + ln -s $forward ${name}_1.fastq; + ln -s $reverse ${name}_2.fastq; + #else if $reads.reads_select == 'collection' + #set $name = $reads.coll.name.replace(' ', '_') + #set $forward = $reads.coll.forward + #set $reverse = $reads.coll.reverse + #set $infile = $name + "_1.fastq " + $name + "_2.fastq" + #set $tval = 2 + #if $reverse.is_of_type('fastq.gz', 'fastqsanger.gz') + gunzip -c $reverse > reverse.fastq; + #set $reverse = './reverse.fastq' + gunzip -c $forward > forward.fastq; + #set $forward = './forward.fastq' + #end if + ln -s $forward ${name}_1.fastq; + ln -s $reverse ${name}_2.fastq; + #else + #set $name = $reads.assembly.name.replace(' ', '_') + #set $ga = $reads.assembly + #set $infile = $name + ".fasta" + ln -s $ga ${name}.fasta; + #set $tval = 4 + #set $mode='k' + #end if + echo $name ; + echo "-=-=-=-=-" ; + touch output/SeqSero_log.txt ; + python $__tool_directory__/SeqSero2_package.py + -p \${GALAXY_SLOTS:-4} + -t $tval + -m $mode + -d ./output + #if $mode == 'a': + -b $maptype + #end if + -i $infile && + echo "-=-=-=-=-" && + cat output/SeqSero_log.txt && + echo "-=-=-=-=-" && + ls -lah ./output + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @misc{zhang_yin_jones_zhang_deathrage_dinsmore_fitzgeral_fields_deng_2015, + title={Salmonella serotype determination utilizing high-throughput genome sequencing data.}, + journal={J Clin Microbiol}, publisher={ASM}, + author={Zhang S, Yin Y, Jones MB, Zhang Z, Deatherage Kaiser BL, Dinsmore BA, Fitzgerald C, Fields PI, Deng X.}, + year={2015}, month={Max}, + url={http://http://jcm.asm.org/content/early/2015/03/05/JCM.00323-15}}, + } + + @misc{cfsan_biostatistics_group_2017, + title={CFSAN Biostatistics Group fork of SeqSero2}, + url={https://github.com/CFSAN-Biostatistics/SeqSero2.git}}, + + + + diff -r 613775dc3491 -r a51d3bce2612 setup.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/setup.py Wed Oct 02 20:37:03 2019 -0400 @@ -0,0 +1,30 @@ +import os, sys +from distutils.core import setup +from setuptools import find_packages + +def readme(): + with open('README.md') as f: + return f.read() + +setup(name='SeqSero2', + version=open("version.py").readlines()[-1].split()[-1].strip("\"'"), + description='Salmonella serotyping', + long_description=readme(), + classifiers=[ + 'Development Status :: 3 - Alpha', + 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)', + 'Programming Language :: Python :: 3', + 'Topic :: Text Processing :: Linguistic', + ], + keywords='Salmonella serotyping bioinformatics WGS', + url='https://github.com/denglab/SeqSero2/', + author='Shaokang Zhang, Hendrik C Den-Bakker and Xiangyu Deng', + author_email='zskzsk@uga.edu, Hendrik.DenBakker@uga.edu, xdeng@uga.edu', + license='GPLv2', + scripts=["bin/deinterleave_fastq.sh","bin/Initial_Conditions.py","bin/SeqSero2_package.py","bin/SeqSero2_update_kmer_database.py"], + packages=[""], + include_package_data = True, + install_requires=['biopython==1.73'], + data_files=[("seqsero2_db",["seqsero2_db/antigens.pickle","seqsero2_db/H_and_O_and_specific_genes.fasta","seqsero2_db/invA_mers_dict","seqsero2_db/special.pickle"])], + zip_safe=False, +) diff -r 613775dc3491 -r a51d3bce2612 version.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/version.py Wed Oct 02 20:37:03 2019 -0400 @@ -0,0 +1,1 @@ +SeqSero2_version = '1.0.2'