I have a MCL file where each line is a gene cluster and contains gene IDs belonging to that family. Gene family #1 is in line 1, gene family #2 is in line 2, etc.
I have identified a number of gene families of interest, and want to extract the gene IDs belonging to these families. I have the line numbers in a separate text file. I have looked online for commands/scripts for extracting lines from a file using line numbers stored in another file, but somehow they all only extract the gene IDs belonging to the gene family in the last line number given in the text file. I'm wondering if this is because a MCL dump file behaves differently?
Any help would be greatly appreciated!