Search Results

Search: Posts Made By: Egy
793
Posted By Scrutinizer
You are welcome. Yes, you can simply redirect the...
You are welcome. Yes, you can simply redirect the output to a new file
}
' file.pdb file.pdb > new_file.pdb

Otherwise, I am not sure if I understand what you mean. The awk script itself was...
793
Posted By Scrutinizer
Hi, try: awk ' NR==FNR { if($3=="CA")...
Hi, try:
awk '
NR==FNR {
if($3=="CA")
A[$6]=substr($0,61,6)
next
}
{
print substr($0,1,66) A[$6] substr($0,73)
}
' file.pdb file.pdb

--
Note: the file needs...
1,430
Posted By Scrutinizer
Try: sed '/^ATOM /s/./A/22' file
Try:
sed '/^ATOM /s/./A/22' file
1,264
Posted By vgersh99
a little bit verbose with some assumptions based...
a little bit verbose with some assumptions based on a sample, but....
awk -f egy.awk Mymulti-mol2File where egy.awk is:

BEGIN {
if (!grid) grid=-30.0000
}
/Name:/ {flag=0;block=$0;next}...
Showing results 1 to 4 of 4

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