finished sam2junc.py