@@ -0,0 +1,312 @@
+#! /usr/bin/env python%0Aimport sys%0Aimport screed, khmer%0A%0AK = 32%0A%0Ainfile = sys.argv%5B1%5D%0A%0Aht = khmer.new_hashbits(K, 1, 1)%0Aht.consume_partitioned_fasta(infile)%0A%0Afor n, record in enumerate(screed.open(infile)):%0A    if n %25 10000 == 0:%0A        print '... checking', n%0A    assert ht.is_single_partition(record.sequence)%0A

use new is_single_partition fn to validate .part files