How to extract specific lines from a MCL dump file
0
0
Entering edit mode
7.6 years ago
nancydong20 ▴ 130

Hello everyone!

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!

mcl dump file • 1.5k views
ADD COMMENT

Login before adding your answer.

Traffic: 1845 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6