a python script used to find difference or same pos between two pos file,you can see inputfile formate at inputfile.format
Fast, but takes up a lot of memory. Suitable for small data volumes, not suitable for whole genomes.
usage: python difference_a2b_posfile a.file b.file uniqa.file uniqa.file same.file
a.file : is your input file
b.file : is also your input file
uniqa.file : is some pos just in a.file not in b.file
uniqb.file : is some pos just in b.file bot in a.file
same.file : is same pos in a.file and b.file
good luck