sam2matrix - This program outputs for each read the ids of references it.