Read lines from a file, grep in a second file, and output a file for each $line
问题 I have the following two files: sequences.txt 158333741 Acaryochloris_marina_MBIC11017_uid58167 158333741 432 1 432 COG0001 0 158339504 Acaryochloris_marina_MBIC11017_uid58167 158339504 491 1 491 COG0002 0 379012832 Acetobacterium_woodii_DSM_1030_uid88073 379012832 430 1 430 COG0001 0 302391336 Acetohalobium_arabaticum_DSM_5501_uid51423 302391336 441 1 441 COG0003 0 311103820 Achromobacter_xylosoxidans_A8_uid59899 311103820 425 1 425 COG0004 0 332795879 Acidianus_hospitalis_W1_uid66875