Search Results

Search: Posts Made By: smriti_shridhar
2,380
Posted By smriti_shridhar
Thanks
I tried the code but its giving an error saying -
Illegal variable name. :(
2,380
Posted By smriti_shridhar
remove lines based on score criteria
Hi guys,

Please guide for Solution.

PART-I

INPUT FILE (has 2 columns ID and score)
TC5584_1 93.9
DV161411_2 79.5
BP132435_5 46.8
EB682112_1 34.7
BP132435_4 29.5
TC13860_2 ...
7,147
Posted By smriti_shridhar
Please help!
Hi Jean,
Sorry im troubling u again but Im stuck in the same script as the Keys of file2 are of variable length this time and im not able to get the desired output as some records are missed in the...
2,391
Posted By smriti_shridhar
extracting substrings
Hi guys,
I am stuck in this problem. Please help.

I have two files.
FILE1 (with records starting from '>' )
>TC1723_3 similar to Scific_A7Q9Q3 ...
3,490
Posted By smriti_shridhar
Thanks!
Thanks radoulov. :)

and

Thanks summer_cherry. :)
3,490
Posted By smriti_shridhar
problem with a different output
Hi,

There is a problem as im getting same header (line begining with >) for two records in file2.

But this time the order of IDs ( eg - TC200232 ) will remain same in both the files. So I just...
4,326
Posted By smriti_shridhar
Thanks
Thanks ranjithpr! Its working fine.

Hi zaxxon,

row two is spared out because its column2<column3.
4,326
Posted By smriti_shridhar
how to flip values of two columns and add an extra column
Hi guys,

Couldn't find the solution of this problem. Please Help!

I have a file-

Input_File

TC200232 92 30
TC215306 2 74
TC210135 42 14

I want an output file...
10,025
Posted By smriti_shridhar
Thanks!
Thanks summer_cherry. :)
10,025
Posted By smriti_shridhar
Thanks!
Thanks a lot Otheus.
10,025
Posted By smriti_shridhar
Thanks!
Thanks Otheus!

It is working perfect. I'll be grateful if u can explan the code a bit.

Thanks again. :)
10,025
Posted By smriti_shridhar
merge rows based on a common column
Hi guys,

Please guide me if you have a solution to this problem. I have tried paste -s but it's not giving the desired output.

I have a file with the following content-

A123 box1
B345 bat2...
3,035
Posted By smriti_shridhar
print a file with one column having fixed character length
Hi guys,
I have tried to find a solution for this problem but couln't. If anyone of you have an Idea do help me.

INPUT_FILE
with three columns shown to be separated by - sign
A5BNK723NVI - 1 -...
3,490
Posted By smriti_shridhar
Thanks
Thanks for making a tough effort. It has really helped me. :)
3,490
Posted By smriti_shridhar
Thanks a lot !
I must say it was brilliant.. :) Thanks..

I'll be happy if u can explain the code a little bit.

Thanks in advance.
3,490
Posted By smriti_shridhar
To get an output by combining fields from two different files
Hi guys,
I couldn't find solution to this problem. If anyone knows please help me out.
your guidance is highly appretiated.

I have two files -

FILE1 has the following 7 columns ( - has been...
2,258
Posted By smriti_shridhar
Thanks summer_cherry :)
The code is working fine but If you could explain what's happening in the code I can understand it better.

Thanks,
smriti
2,258
Posted By smriti_shridhar
Thanks! Yogesh
There is no space between column1 and 2 of the output

abc-23Gal Glu house-2-be
cde-42cat mouse
dge-91sirf surf-2-beta
gre-45cat mouse
fgr-76Gal Glu house-2-be

I need a tab between column1...
2,258
Posted By smriti_shridhar
Fetch lines from a file matching column2 of another file
Hi guys,
Please help me out in this problem. I have two files

FILE1
abc-23 : 4529675
cde-42 : 9824532
dge-91 : 1245367
gre-45 : 9824532
fgr-76 : 4529675

FILE2
4529675 : Gal Glu...
7,147
Posted By smriti_shridhar
Thanks! its working
Thanks Jean..

Code is working perfect :)
7,147
Posted By smriti_shridhar
Thanks.. I want to add one more thing..
Thanks Jean It solved the issue but I want to add one more thing in the output..

I want the output to be

>bi|2138271|geb|AAC15885.1|precursor [Sambucus nigra] ( Region from 92-110 of x)...
7,147
Posted By smriti_shridhar
I have a problem with the code
Hey!

There is a small problem with the code. The substring fetched by the code miss the last character i.e. if FILE2 has the following line -
bi|19526601|geb|AAL8700 74 92

The substring...
7,147
Posted By smriti_shridhar
Thanks i'll try this
Ya Keys can be of fixed length.. that is not a problem.
So I'll try this out and will ask you if I'll have any doubts.

Thanks Jean,
-smriti
7,147
Posted By smriti_shridhar
ok I got it..
Ya I got your point but can we do it other way round also like-

For each record in file 2

Proceed extractions in file 1 relative to this record

If we can match first column of FILE2 as...
7,147
Posted By smriti_shridhar
I tried many other combinations
after trying many other combinations I realised that it is related to length of COLUMN ONE of FILE2 , if it varies the output varies.

and sometimes it gives a blank line at the end in the output...
Showing results 1 to 25 of 47

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