정확한 문자열을 포함하는 줄 찾기

정확한 문자열을 포함하는 줄 찾기

csv 파일이 있고 "Ann_Pet.Fal"이 포함된 행만 추출하려고 합니다. 를 입력하면 꽤 간단해집니다 grep -w "Ann_Pet.Fal" my.file. 안타깝게도 작동하지 않습니다. "Ann_Pet*"이 포함된 행이 표시됩니다. 다른 코드를 시도해 봐야 할지 궁금합니다! 감사해요

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      

답변1

아래 언급된 awk명령을 사용해 볼 수 있습니다.

awk '/Ann_Pet\.Fal/' filename

관련 정보