Am un tabel (.tsv) ca următorul:
s__Methanobrevibacter_smithii k__Archaea p__Euryarchaeota c__Methanobacteria o__Methanobacteriales f__Methanobacteriaceae g__Methanobrevibacter s__Methanobrevibacter_smithii
s__Methanosphaera_stadtmanae k__Archaea p__Euryarchaeota c__Methanobacteria o__Methanobacteriales f__Methanobacteriaceae g__Methanosphaera s__Methanosphaera_stadtmanae
s__Candidatus_Methanomassiliicoccus_intestinalis k__Archaea p__Euryarchaeota c__Thermoplasmata o__Methanomassiliicoccales f__Methanomassiliicoccaceae g__Methanomassiliicoccus s__Candidatus_Methanomassiliicoccus_
s__Actinobaculum_sp_oral_taxon_183 k__Bacterii p__Actinobacteria c__Actinobacteria o__Actinomycetales f__Actinomycetaceae g__Actinobaculum s__Actinobaculum_sp_oral_taxon_183
s__Actinomyces_graevenitzii k__Bacterii p__Actinobacteria c__Actinobacteria o__Actinomycetales f__Actinomycetaceae g__Actinomyces s__Actinomyces_graevenitzii
Vreau să păstrez doar cuvântul după a treia liniuță și să elimin totul din acea coloană. În plus, doriți să eliminați a 4-a liniuță de subliniere și totul după aceea din prima coloană, păstrând celelalte coloane așa cum sunt. Vreau să obțin o ieșire ca următoarea:
s__Methanobrevibacter_smithii k__Archaea p__Euryarchaeota c__Methanobacteria o__Methanobacteriales f__Methanobacteriaceae g__Methanobrevibacter s__smithii
s__Methanosphaera_stadtmanae k__Archaea p__Euryarchaeota c__Methanobacteria o__Methanobacteriales f__Methanobacteriaceae g__Methanosphaera s__stadtmanae
s__Candidatus_Methanomassiliicoccus k__Archaea p__Euryarchaeota c__Thermoplasmata o__Methanomassiliicoccales f__Methanomassiliicoccaceae g__Methanomassiliicoccus s__intestinalis
s__Actinobaculum_sp k__Bacterii p__Actinobacteria c__Actinobacteria o__Actinomycetales f__Actinomycetaceae g__Actinobaculum s__sp
s__Actinomyces_graevenitzii k__Bacterii p__Actinobacteria c__Actinobacteria o__Actinomycetales f__Actinomycetaceae g__Actinomyces s__graevenitzii
Ma poate ajuta cineva va rog sa fac asta?
Mulţumesc mult