Extract sequences from file using subset of sequence IDs