API: added method for randomly getting up to N seqs per sample

Randomly get up to N sequences per sample from a sequence file
isn't that an invalid sample ID?