PAIRSAM_SEP = '\t'
PAIRSAM_SEP_ESCAPE = r'\t'
SAM_SEP = '\031'
SAM_SEP_ESCAPE = r'\031'
INTER_SAM_SEP = '\031NEXT_SAM\031'

COL_READID = 0
COL_C1 = 1
COL_P1 = 2
COL_C2 = 3
COL_P2 = 4
COL_S1 = 5
COL_S2 = 6
COL_PTYPE = 7
COL_SAM1 = 8
COL_SAM2 = 9

COLUMNS = ['readID', 'chrom1', 'pos1', 'chrom2', 'pos2', 
           'strand1', 'strand2', 'pair_type', 'sam1', 'sam2']

@@ -1,16 +1,50 @@
+PAIRSAM_FORMAT_VERSION = '1.0.0'%0A%0A
 PAIRSAM_SEP = '%5C

add PAIRSAM_FORMAT_VERSION to pairsam_format