Grep 2nd Column
How to grep 2nd column from all of the 61 files which i have into 61 blank files for further analysis.
list in each file look like this
C 00010 Glycolysis / Gluconeogenesis [PATH:hcn00010]
C 00020 Citrate cycle (TCA cycle) [PATH:hcn00020]
C 00030 Pentose phosphate pathway [PATH:hcn00030]
C 00040 Pentose and glucuronate interconversions [PATH:hcn00040]
C 00051 Fructose and mannose metabolism [PATH:hcn00051]
C 00052 Galactose metabolism [PATH:hcn00052]
C 00500 Starch and sucrose metabolism [PATH:hcn00500]
C 00520 Amino sugar and nucleotide sugar metabolism [PATH:hcn00520]
C 00620 Pyruvate metabolism [PATH:hcn00620]
C 00630 Glyoxylate and dicarboxylate metabolism [PATH:hcn00630]
C 00640 Propanoate metabolism [PATH:hcn00640]
C 00650 Butanoate metabolism [PATH:hcn00650]
C 00190 Oxidative phosphorylation [PATH:hcn00190]
C 00680 Methane metabolism [PATH:hcn00680]
• 988 views
•
link
0 answers
No answers yet.
Log in to answer this question.
This type of questions should first be addressed by searching the internet. This is a pure unix question and though it is about biological data, it can be solved using standard unix tools (not
grep- hint 1 or if thecin first column is common you may want to get rid of that - hint 2). This question will likely be closed.If you run into problems show us what you have tried and then we will help.
Hello waqarlodhi93!
We believe that this post does not fit the main topic of this site.
This is a unix question, and you've been helped for a similar question. Please use Google and Stack Overflow.
For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!