i am using perl in win2000advanced server...
---------------------------
perl -version:
---------------------------
This is perl, v5.6.1 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2001, Larry Wall
Binary build 638 provided by... (1 Reply)
How to change a directory on windows via perl script.
I wanna mount a share on windows via perl script.
I have used:-
system("dir");
gives the list of directories in the drive i am.This command works well.
Now i want to move from c drive to z drive via perl script.I am using:-
... (2 Replies)
Hi guys I want to print the values by using this script but its giving the no of rows and columns as input instead of values
Would you plz help me on this
FILE- chr1.txt
1981 1
1971 1
1961 1
1941 1
perl script
#!/usr/bin/perl -w
$infile1 = 'chr1.txt';
$outfile3 = 'out3.txt';
... (3 Replies)
Let say in a file I have lines of data like this :
13;2073;461496;15075341;3;001f7d3a;2042063674;
13;2074;461446;15080241;6;001ed33a;2042020154;
13;2075;461401;15085270;6;001f593b;2042054459;
13;2076;461381;15087160;6;001f7483;2042061443;
13;2077;461419;15083419;6;001eca1a;2042017818;
I... (3 Replies)
Hi,
I am new to UNIX and shell scripting.
I have to create a shell script(ksh) which parses log4j.xml file for a given webservice name and change the corresponding value from INFO to DEBUG or vice-versa.
My log4j.xml looks like:-
<!-- Appender WEBSERVICENAME-->
<appender... (3 Replies)
Hello,
I am working on a script to get values from 2 files, and write to a new result file.
File 1: 8-columned file separated by space:
SerialNumber-Abc123 ID-1234:0 Name-xxx Class-yyy Object-zzz Source-aaa Value-bbb Comments-ccc
SerialNumber-Abc124 ID-1234:1 Name-xxx Class-yyy... (1 Reply)
Greetings all,
If I have a SH script that calls a PERL script in the following way:
perl $HOME/scripts/config.properties
And in the config.properties PERL file, this Perl script only sets a number of environmental parameters in the following way:
#!/usr/bin/perl
$VAR1 = (
... (3 Replies)
hi,
I have a local.conf file which has the first line
TOPDIR = "/home/mvdev/workspace/boxer". I want to replace the value to
"/home/common/workspace/mirror". I tried the following perl command that is
perl -p -i -e 's/Path/path1/g' myfile.txt then
sed... (7 Replies)
Hi ,
I have file FSN.log which contains number 100. i have other Perl script when i run it , it ll increment this FSN.log value.
now my requirement is
when the count in FSN.log becomes 999, it should make the value to 100 again and Perl script to change the date or it should make the date... (2 Replies)
This is my first time posting here...so be gentle.
Suppose I have a test.conf file that contains a value such as a IP. I would like to be able to use the Dialog Utility in Linux to allow me to enter the new IP in a Dialog form...and the results get saved into the test.conf file in the place... (4 Replies)
Discussion started by: calahanp
4 Replies
LEARN ABOUT DEBIAN
mipe2dbsts
MIPE2DBSTS(1) User Contributed Perl Documentation MIPE2DBSTS(1)NAME
mipe2dbSTS.pl - Generates input file for submission to dbSTS
included in output: STS section of dbSTS submission
based on MIPE version v1.1
arguments: * mipe_file
* config file
* (optional) list of PCR IDs
The config file consists of lines containing a key and a value, separated by an equal sign ('=').
The key consists of the lowercase name of the NCBI submission file (see website dbSTS), followed by
an underscore and the lowercase name of the field in that file.
The following fields should be defined in the config file:
pub_title=
pub_authors=
source_name=
source_organism=
cont_name=
cont_fax=
cont_tel=
cont_email=
cont_lab=
cont_inst=
cont_addr=
protocol_name=
protocol_protocol=
buffer_name=
buffer_buffer=
sts_pcr_profile=
For protocol_protocol, buffer_buffer and sts_pcr_profile, more lines are necessary (see example).
An example of a config file look like this:
pub_title=Genetic mapping of chicken SNPs
pub_authors=Aerts,J.A.; Veenendaal,T.; Crooijmans,R.P.M.A; Groenen,M.A.M
source_name=Chicken genomic DNA
source_organism=Gallus gallus
cont_name=Jan Aerts
cont_fax=+31 317 483929
cont_tel=+31 317 483397
cont_email=jan.aerts@wur.nl
cont_lab=Animal Breeding and Genomics Group
cont_inst=Wageningen University
cont_addr=PO Box 338, 6700 AH Wageningen, The Netherlands
protocol_name=Protocol_Aerts
protocol_protocol=Template: 30-60 ng
protocol_protocol=Primer: each 4 uM
protocol_protocol=dNTPs: each 200 uM
protocol_protocol=Taq: 0.3 units
protocol_protocol=Volume: 12 ul
buffer_name=Buffer_Aerts
buffer_buffer=MgCl2: 1.5 mM
buffer_buffer=(NH4)2SO4: 20 mM
buffer_buffer=Tris-HCl: 75 mM
buffer_buffer=Tween 20: 0.01% (w/v)
buffer_buffer=pH: 8.8
BUGS
Unknown. If you encounter one, please let me know (jan.aerts@wur.nl).
SYNOPSIS
mipe2dbSTS.pl your_file.mipe dbSTS.config <pcr_id1> <pcr_id2>
ADDITIONAL INFO
See http://mipe.sourceforge.net
AUTHOR
Jan Aerts (jan.aerts@bbsrc.ac.uk)
perl v5.14.2 2005-07-20 MIPE2DBSTS(1)