#!/bin/bash

# for the weigthed set only
rm main.weight.selected.txt 
while read seed; do
    echo ">${seed}<";
    cat main.weight.txt | grep -E "${seed}" >> main.weight.selected.txt 
done <seeds.selected.txt
