WP_034790625. 1 LysR family transcriptional regulator [Ensifer adhaerens]
MDLLSAMRSFRRVIELQSFNKAAEELGQSNASISKQVRQLEERLGAVLIVRTTRRMSLSENGRAYFSECCRLLDELDHLE
RTTSGEAGEINGRLRLNAPLSFGLTVLAPMLARFMTLHPQLKVDMTLDDHVLNVVSEGFDVSIRVRAALTDSSLIARRLG
WP_034791832. 1 hypothetical protein [Ensifer adhaerens]
MPNTGGNNESLANRLTAHGREPTDFPDDSPLGKGDLREPREPVPEFDEPDDQDDLDETEEIELESIFDPDRYDPDDDFPP
PG
WP_034796082. 1 crotonase [Ensifer adhaerens]
MSVTFVVEDRVASVTLNRPERMNAVDAATERELDAIWEEIEARDDISCVVLTGAGERAFCAGADLKGAEKTGLDYWTESR
EGVRAFQEKRAPVWRGR
WP_034796116. 1 hypothetical protein [Ensifer adhaerens]
MSGQSETKLKQLLQAVPPGFLVDTAWMARHAISRQSVSGYVKRGWLEPALTGLYRRPFSPDTNPDAVTGWKIPLLSAIWL
DMSAIDLGTGDRALTPGGRLHPAYRITIPDELMPNETPRGA
WP_034796134. 1 glycosyl hydrolase [Ensifer adhaerens]
MDPEEIARSMNGLLQTVSPERMEALLPSPMIQNHAAFLHLLSDGALACAWFGGTLEGKSDISIFASVLPKGATQWGPPQR
MADHLLEVRDLSVEFHTAVGVVKAVRNISYHLDRGETLAILGESGSGKSVSSSAIMNLIDMPPGRISSGEILLDGVDLLP
CLSQDGGKTFPVRLLIEDGPG
WP_034796142. 1 peptide ABC from the substrate - binding protein [Ensifer adhaerens]
MKKLFVLSALMLSSALSPAFAGSGPIKIVLAEEADLLEPCMATRSNIGRVIMQNVSETLTELDVRSDKGVMPRLAEKWEQ
MADHLLEVRDLSVEFHTAVGVVKAVRNISYHLDRGETLAILGESGSGKSVSSSAIMNLIDMPPGRISSGEILLDGVDLLP
FKPTMATNGTLQLSEIKIK
WP_034796160. 1 ABC from ATP binding protein [Ensifer adhaerens]
MADHLLEVRDLSVEFHTAVGVVKAVRNISYHLDRGETLAILGESGSGKSVSSSAIMNLIDMPPGRISSGEILLDGVDLLP
DFADHVMVMQKGNIVELGTVREVFDAPQQDYTRALLAAGLDPDPDVQAAHRAARLQRAS
WP_034796309. 1 hypothetical protein [Ensifer adhaerens]
MNTSLIADSFVSLAALGGLLVLIGVIRSFDAKSPLNRRFLFGLQVLAALMASRVLAWWTDLFIFKAATIITAGLVPLSTV
LLAEGLLRRHAPRNTKWIAAGGAATFFVLAFLPVSLAEPWRVALLFLYQLVTFALAGHMTVTRDRTSLSKAENQAVDRIA
WP_034796322. 1 hypothetical protein [Ensifer adhaerens]
MDNDPFHAGEQQLQSLFAVREQLAGSRAIQASLPPGFAGFLAELHYVVLAVPDREGRIWVTMVFGRPGFLSAPDAMRVRV
GTGEMVVMTGHAVLDGFDGRLRRSHEGMPMNGLVRFKPDLLMSRTALARP
CodePudding user response:
See you as if is 3 lines, each can be used:Sed -i '/hypothetical protein/, + 3 d' file. TXT delete matching to the hypothetical protein line, and then two lines (3), d is the sed command delete the match to the line, the -i is to modify the original file, do not add the -i, print only, do not change the
Or you're not sure each paragraph is three lines, you is a blank line between each paragraph, so direct matching hypothetical protein to a blank line between lines:
Sed -i '/hypothetical protein/,/^ $/d' file. TXT
CodePudding user response: