首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >查找包含精确字符串的行

查找包含精确字符串的行
EN

Unix & Linux用户
提问于 2019-09-16 00:19:44
回答 1查看 70关注 0票数 -1

我有一个csv文件,我试图只提取带有"Ann_Pet.Fal“的行。通过输入grep -w "Ann_Pet.Fal" my.file,这应该非常简单。不幸的是,它不能工作,我得到任何与"Ann_Pet*“行。我想知道我是否应该尝试另一种代码!谢谢

代码语言:javascript
运行
复制
homolog gene_name   gene    condition   pvalue  Comparison  Test    homology_p  Gene.Model.Name Gene.Model.Description  Gene.Model.Type Primary.Gene.Symbol All.Gene.Symbols
AT1G01040   Ha412HOChr01g0047951    gene4796    longitude_e 2.83E-07    Ann_Pet.Fal Spearman    0   AT1G01040.1 Encodes a Dicer homolog. Dicer is a RNA helicase involved in microRNA processing. Mutations in this locus can result in embryo lethality. Embryo shape at seed maturity is globular-elongate. Other mutants convert the floral meristems to an indeterminate state, others yet show defects in ovule development. mRNA is expressed in all shoot tissues. DCL1 is able to produce miRNAs and siRNAs. The mRNA is cell-to-cell mobile.   protein_coding  DICER-LIKE 1 (DCL1) DICER-LIKE 1 (DCL1);CARPEL FACTORY (CAF);SUSPENSOR 1 (SUS1);SHORT INTEGUMENTS 1 (SIN1);ABNORMAL SUSPENSOR 1 (ASU1);EMBRYO DEFECTIVE 76 (EMB76);EMBRYO DEFECTIVE 60 (EMB60);DICER-LIKE 1 (ATDCL1)
AT1G01040   Ha412HOChr01g0047951    gene4796    longitude_e 4.05E-05    Ann_Pet.Pet Spearman    0   AT1G01040.1 Encodes a Dicer homolog. Dicer is a RNA helicase involved in microRNA processing. Mutations in this locus can result in embryo lethality. Embryo shape at seed maturity is globular-elongate. Other mutants convert the floral meristems to an indeterminate state, others yet show defects in ovule development. mRNA is expressed in all shoot tissues. DCL1 is able to produce miRNAs and siRNAs. The mRNA is cell-to-cell mobile.   protein_coding  DICER-LIKE 1 (DCL1) DICER-LIKE 1 (DCL1);CARPEL FACTORY (CAF);SUSPENSOR 1 (SUS1);SHORT INTEGUMENTS 1 (SIN1);ABNORMAL SUSPENSOR 1 (ASU1);EMBRYO DEFECTIVE 76 (EMB76);EMBRYO DEFECTIVE 60 (EMB60);DICER-LIKE 1 (ATDCL1)
AT1G01140   Ha412HOChr17g0848051    gene84806   CMD_e   9.29E-06    Ann_Pet.Pet Spearman    0   AT1G01140.3 Encodes a CBL-interacting protein kinase with similarity to SOS2    protein_coding  CBL-INTERACTING PROTEIN KINASE 9 (CIPK9)    PROTEIN KINASE 6 (PKS6);CBL-INTERACTING PROTEIN KINASE 9 (CIPK9)
AT1G01140   Ha412HOChr17g0848051    gene84806   MAP_e   0.002926603 Ann_Pet.Pet Baypass 0   AT1G01140.3 Encodes a CBL-interacting protein kinase with similarity to SOS2    protein_coding  CBL-INTERACTING PROTEIN KINASE 9 (CIPK9)    PROTEIN KINASE 6 (PKS6);CBL-INTERACTING PROTEIN KINASE 9 (CIPK9)
AT1G01140   Ha412HOChr17g0848051    gene84806   longitude_e 1.89E-05    Ann_Pet Baypass 0   AT1G01140.3 Encodes a CBL-interacting protein kinase with similarity to SOS2    protein_coding  CBL-INTERACTING PROTEIN KINASE 9 (CIPK9)    PROTEIN KINASE 6 (PKS6);CBL-INTERACTING PROTEIN KINASE 9 (CIPK9)
AT1G01140   Ha412HOChr17g0848051    gene84806   MAP_e   0.002063857 Ann_Pet.Pet Spearman    0   AT1G01140.3 Encodes a CBL-interacting protein kinase with similarity to SOS2    protein_coding  CBL-INTERACTING PROTEIN KINASE 9 (CIPK9)    PROTEIN KINASE 6 (PKS6);CBL-INTERACTING PROTEIN KINASE 9 (CIPK9)
AT1G01140   Ha412HOChr17g0848051    gene84806   MSP_e   1.77E-05    Ann_Pet Baypass 0   AT1G01140.3 Encodes a CBL-interacting protein kinase with similarity to SOS2    protein_coding  CBL-INTERACTING PROTEIN KINASE 9 (CIPK9)    PROTEIN KINASE 6 (PKS6);CBL-INTERACTING PROTEIN KINASE 9 (CIPK9)
AT1G01140   Ha412HOChr17g0848051    gene84806   longitude_e 1.82E-05    Ann_Pet.Pet Baypass 0   AT1G01140.3 Encodes a CBL-interacting protein kinase with similarity to SOS2    protein_coding  CBL-INTERACTING PROTEIN KINASE 9 (CIPK9)    PROTEIN KINASE 6 (PKS6);CBL-INTERACTING PROTEIN KINASE 9 (CIPK9)
AT1G01140   Ha412HOChr17g0848051    gene84806   MSP_e   2.37E-05    Ann_Pet.Pet Baypass 0   AT1G01140.3 Encodes a CBL-interacting protein kinase with similarity to SOS2    protein_coding  CBL-INTERACTING PROTEIN KINASE 9 (CIPK9)    PROTEIN KINASE 6 (PKS6);CBL-INTERACTING PROTEIN KINASE 9 (CIPK9)
AT1G01140   Ha412HOChr17g0848051    gene84806   TD_e    0.000193093 Ann_Pet.Pet Spearman    0   AT1G01140.3 Encodes a CBL-interacting protein kinase with similarity to SOS2    protein_coding  CBL-INTERACTING PROTEIN KINASE 9 (CIPK9)    PROTEIN KINASE 6 (PKS6);CBL-INTERACTING PROTEIN KINASE 9 (CIPK9)
AT1G01170   Ha412HOChr10g0446241    gene44625   AHM_e   0.000202829 Ann_Pet Spearman    8.30E-36    AT1G01170.1 ozone-responsive stress-like protein (DUF1138);(source:Araport11)   protein_coding      
EN

回答 1

Unix & Linux用户

发布于 2019-09-16 10:14:21

您可以尝试使用下面提到的awk命令

代码语言:javascript
运行
复制
awk '/Ann_Pet\.Fal/' filename
票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/541937

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档