Search Results

Search: Posts Made By: kanikasharma
2,925
Posted By kanikasharma
copy content of file to another
I have a file called part1.pdb...contents are:

ATOM 1 N SER 1 -10.295 -8.909 10.913 1.00 0.00
ATOM 2 H1 SER 1 -10.230 -8.214 10.183 1.00 0.00
ATOM 3 ...
2,586
Posted By kanikasharma
thanks 4 so much help ---------- Post...
thanks 4 so much help

---------- Post updated at 11:39 PM ---------- Previous update was at 12:01 AM ----------

I did something like this...
for i in *.pdb; do sed -n '1,/TER/q;p' $i >...
2,335
Posted By kanikasharma
rename file by adding a name in beginning
about 200 files with names as
11_0.pdb
11_60.pdb
12_12.pdb
14_180.pdb

are there in my library...I need to rename all of them by addinf File in front of them as:

File11_0.pdb
File11_60.pdb...
2,586
Posted By kanikasharma
i know that a pattern can be matched by...
i know that a pattern can be matched by grep...like grep "pattern" file...but i dont know how to get next lines after matching pattern
2,586
Posted By kanikasharma
collect data from files
there are 200 files named file1_0.pdb,file1_60.pdb etc....it looks like:

ATOM 1 N VAL 1 8.897 -21.545 -7.276 1.00 0.00
ATOM 2 H1 VAL 1 9.692 -22.015 -6.868 ...
2,332
Posted By kanikasharma
@Skrynesaver, i used the code. It removes only...
@Skrynesaver, i used the code. It removes only TER and not line before it (ATOM 2518 OXT VAL 160 7.646 12.461 -0.386) and not even3 lines after the immediate line after TER i.e
(ATOM 2520 H1 VAL...
2,332
Posted By kanikasharma
script in perl for removing strings between a file
I have file that looks like:
ATOM 2517 O VAL 160 8.337 12.679 -2.487
ATOM 2518 OXT VAL 160 7.646 12.461 -0.386
TER
ATOM 2519 N VAL 161 -14.431 5.789 -25.371
ATOM 2520 H1 VAL 161...
1,987
Posted By kanikasharma
This doesnot work...Space is still there
This doesnot work...Space is still there
1,987
Posted By kanikasharma
remove spaces in between file
hey,
I have this file:

ATOM 2510 HG12 VAL 160 8.462 15.861 1.637
ATOM 2511 HG13 VAL 160 9.152 14.510 0.725
ATOM 2512 CG2 VAL 160 6.506 16.579 -0.088
ATOM...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 04:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy