Search Results

Search: Posts Made By: bioinfo
3,057
Posted By bioinfo
Thanks a lot. :) I will try them.
Thanks a lot. :)
I will try them.
3,057
Posted By bioinfo
Thanks bartus and Jotne. :) Can you please...
Thanks bartus and Jotne. :)
Can you please explain the code.

Thanks.
3,057
Posted By bioinfo
Thanks :) I would highly appreciate if you can...
Thanks :)
I would highly appreciate if you can explain this script.

I am getting following error while running the above script (1.pl):
3,057
Posted By bioinfo
Search strings and highlight them using Perl or bash/awk/sed
Hi,

I have two files: a.doc and b.txt





I wish to search the strings from file b.txt in a.doc and want to highlight them in a.doc with different colours using Perl or bash./awk/sed?
...
4,124
Posted By bioinfo
Ok thanks. :)
Ok thanks. :)
4,124
Posted By bioinfo
Thanks a lot Don Cragon for such an extensive...
Thanks a lot Don Cragon for such an extensive explanation and hanson44. :)
Does the amount of space between the lines matter or we can write awk program in one line too? Is it for proper readability...
4,124
Posted By bioinfo
Thanks a lot for letting me know the concepts in...
Thanks a lot for letting me know the concepts in detail. :)

I did not understand the following things:

FNR==1{ # This is the first line in a new file...

fn = substr(FILENAME, 5, 3) # Save 3...
4,124
Posted By bioinfo
Thanks :) This script is awesome but somewhat...
Thanks :)
This script is awesome but somewhat tough for me as I am a beginner. Is there any possibililty to add something easy to my previous code (below) to do the same thing.

cat *.txt | awk...
4,124
Posted By bioinfo
Thanks a lot. :) I would highly appreciate if...
Thanks a lot. :)
I would highly appreciate if you explain it.
Thanks again.
4,124
Posted By bioinfo
I used following, I think previous was my typo...
I used following, I think previous was my typo error. Sorry for that.

cat *.txt | awk '{print $2, $4} | sed "/#ainst\|#Time/d" > out.txt

I am getting only two columns from my code but I want to...
4,124
Posted By bioinfo
Adding filename and line number from multiple files to final file
Hi all,
I have 20 files (file001.txt upto file020.txt) and I want to read them from 3rd line upto end of file (line 1002). But in the final file they should appear to start from line 1.
I need...
1,143
Posted By bioinfo
Thanks. st is a program that read a pattern and...
Thanks.
st is a program that read a pattern and produces 2 files n.str (for summary) and n.mol (detail).
I want st to read each pattern from big file, predict the structure and compile all in one...
1,143
Posted By bioinfo
Running a program multiple times to search pattern and assign structure
Hi all,
I have a big file (n.txt) with following pattern:


ATOM 1 N SER A 1 122.392 152.261 138.190 1.00 0.00 N
ATOM 2 CA SER A 1 122.726 151.241 139.183 ...
821
Posted By bioinfo
Retreiving multiple files by changing a parameter with one program
Hi all,
I am using following command:

perl program.pl input.txt output.txt CUTOFF 3 > groups_3.txt

containing program.pl, two files (input.txt, output.txt) and getting output in groups_3.txt:...
1,151
Posted By bioinfo
Grouping
Hi all,
I am using following command:

perl program.pl input.txt output.txt CUTOFF 3 > groups_3.txt

containing program.pl, two files (input.txt, output.txt) and getting output in groups_3.txt:...
842
Posted By bioinfo
Thanks. It working. :)
Thanks. It working. :)
842
Posted By bioinfo
Matching and retreiving numbers
Hi,

I have one file 1.txt with one field consist of following Ids (shortlisted 10 but showing 3 here):

00052
00184
00607


and then second file 2.txt with three fields (very big file):
...
2,285
Posted By bioinfo
@bipinajith: Thanks. Its working but deleting...
@bipinajith: Thanks. Its working but deleting lines starting with TER that I dont want.
@rdrtx1: Thanks its working fine.
2,285
Posted By bioinfo
I have used both the following and they are...
I have used both the following and they are working, but I want to delete both # and The in one command.

egrep -v '^(#|$)'
egrep -v '^(The|$)'
2,285
Posted By bioinfo
Deleting rows starting with a character and word
Hi,

I have multiple files of same format and I want to delete the lines starting with # and The from all of them

I am using
egrep -v '^(#|$)'
for # but unable to do for both # and The
...
2,269
Posted By bioinfo
Thanks Corona688. :)
Thanks Corona688. :)
5,738
Posted By bioinfo
I modified the code in printf statement for first...
I modified the code in printf statement for first output and that helped me in getting second output. yippie :)

Thanks a lot to you.
2,269
Posted By bioinfo
Difficulty in understanding sort command
Hi,

I have used the following command to get result using some program and got desired output but I am unable to understand the last part: sort -k5,5 -rn|head -n 10

grep Centre groups.dat...
5,738
Posted By bioinfo
Thanks. Its working. I modified the way of...
Thanks.
Its working. I modified the way of printing and got the required output. :)
5,738
Posted By bioinfo
Its working :) printf("The following entry...
Its working :)
printf("The following entry from line %d is for Branch %d:\n%s",
FNR, entry, r[entry]) > no

But if I want to print the full line as well as branch. Also, I want...
Showing results 1 to 25 of 50

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