Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for ajay_p5

Hello Everyone I am having some trouble in parsing a XML document with a perl script. I have a file like the attached file(I have just taken a part of the original file as it is too big to be posted overhere and is hard to analyze manually). Now, what …

Member Avatar for richieking
0
307
Member Avatar for ajay_p5

Hi This may seem pity stupid but I am somehow stuck in this: I have got a file containing years like this : 1913 1913 1917 1917 1917 1917 1917 1955 1955 now this is just a part of a file containing almost 50000 years. What I want to do …

Member Avatar for ajay_p5
0
103
Member Avatar for ajay_p5

Dear All I have two files having values like this: File1: 10.1103/PhysRevA.10.2325 1 10.1103/PhysRevLett.32.584 2 10.1103/PhysRevB.13.4845 3 File 2: having comma separated values like this: 10.1103/PhysRevA.10.2325,10.1103/PhysRevLett.32.584 10.1103/PhysRevB.13.4845,10.1103/PhysRevLett.32.584 I want the result two be like this: 1 2 3 2 I am using this code but have not be able to …

Member Avatar for k_manimuthu
0
257
Member Avatar for ajay_p5

Hello Everybody I am facing some problems while processing a file containing a several lines like this : 1 1134177124.U.0 1134177124.+.613 1134177163.+.2234 1134208365.D 1134520916.U.0 I need to arrange it like this: 1 1134177124 U 0 1 1134177124 + 613 1 1134177163 + 2234 1 1134208365 D 1 1134520916 U 0 …

Member Avatar for ajay_p5
0
87
Member Avatar for ajay_p5

Hi well I am facing some problem while trying to concatenate contents of several files, present inside a folder. My code gives an error: ./test.sh: line 17: [: =: unary operator expected and in similar lines Attached is the code: [CODE] #!/bin/bash str1="test_concatenated_RAxML_outputs.txt" str2="r_test_concatenated_RAxML_outputs.txt" str3="m_test_concatenated_RAxML_outputs.txt" str4="n_test_concatenated_RAxML_outputs.txt" str5="h_test_concatenated_RAxML_outputs.txt" for line in …

Member Avatar for griswolf
0
193
Member Avatar for ajay_p5

Hi, I am looking for a conversion tool for converting an svg file into a jpg file. Does anybody know of a perl library which can do it or a tool with as few dependencies as possible and which can be accessed by command line. Thanks, Aj

Member Avatar for scrappedcola
0
91
Member Avatar for ajay_p5

Hi People I need to compare a particular line in a file with a particular string in the other file. I am attaching both the files for your reference. here is my code: [CODE] open (INFILE, "$input") or die "Couldn't open $input for reading: $!\n"; while(<INFILE>) { my $line= $_; …

Member Avatar for d5e5
-1
139
Member Avatar for ajay_p5

Hi everyone, I am using this code to parse data from latex files : [CODE] #!/Applications/xampp/xamppfiles/bin/perl use strict; use File::Copy; use LaTex::Parser; use Text::CSV_XS; use utf8; use Unicode::String; Unicode::String->stringify_as( 'utf8' ); # utf8 already is the default #see Ch 7.1 of Data Munging with Perl my $output = "ID+add.txt"; open …

0
93
Member Avatar for ajay_p5

Hi everyone Well I have been trying to install some modules like Bundle::DBI, DBD ::mysql and latex::Parser on my apple comp running mac OS X operating system. Every time I am trying to install a module I get an error like this : make had returned bad status, install seems …

Member Avatar for ajay_p5
0
154
Member Avatar for ajay_p5

Hello friends , I need to parse some data from a file and arrange it in a certain file..however the file is so confusing and has such minute issues that it has really confused me now..can sumbody help. Thanks Aj I am attaching the main part of the input file …

Member Avatar for d5e5
0
174
Member Avatar for ajay_p5

Helllo all, well I am trying to split a file on the basis of space first and then trying to join it with "-" but i am not able to do it, can sumone please suggest what should I do in order to do it. I am attaching the required …

Member Avatar for ajay_p5
0
124
Member Avatar for ajay_p5

Hi, Well I am getting this warning while running my script which is attached:Use of uninitialized value in concatenation (.) or string at aj.pl in this line : print OUTFILE"$address[$k]|" as when i remove this line I don't get any warnings: Can someone please tell me what is wrong with …

Member Avatar for ajay_p5
0
183
Member Avatar for ajay_p5

Hello people, Well The problem that I am facing is: I have a date in string format like 30 Jun 2009, how can I insert it into MYSQL table as DATE data type? I created the table and declare data type for Date column as DATE, when I insert 30 …

Member Avatar for baki100
0
251
Member Avatar for ajay_p5

Dear people I have been trying to fetch some data from the web. For this I am using the LWP:: Simple module. The problem is that I have been trying to pass a value to the URL in get function. here is my code: use LWP:: Simple; $iq= 'all_proteins.data'; $id= …

Member Avatar for ajay_p5
0
147