10-05-2004
Hi ZB
That works fine, many thanks for your help.
Cheers
Helen
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Does anybody have an explanation for the following:
The following scripts runs fine on IRIX64 6.5 but has bugs on Solaris 8.
#! /bin/sh
echo run only on an SGI machine
echo type in linenumber
read j
echo value
read value
awk -f rmspass2 level=$value $j'step1.mlf'
When the script is... (5 Replies)
Discussion started by: AreaMan
5 Replies
2. Shell Programming and Scripting
I am trying to pass the results from a variable gathered from awk, however when I echo the 'PARSE' and 'SUB', the response is blank. This is my command.
awk -F= '/Unit/''{ PARSE=substr($2,1,5) ; SUB=substr($2,1,1) }' inputfile.lst
Is this a kind of valid attempt or am I obligated to declare... (3 Replies)
Discussion started by: gozer13
3 Replies
3. Shell Programming and Scripting
Hi,
How to pass space seprated variables in awk. (HP-UX, sh shell)
I have the problem like below:
var="Hello"
var2="Manu Batham"
echo $var2 | awk -v variable=${var} '{ printf "%s %s", variable, $1}'
and its output is:
Hello Manu
while output should be:
Hello Manu Batham
Please... (4 Replies)
Discussion started by: manubatham20
4 Replies
4. Shell Programming and Scripting
Hi.
I need to parse file and assign some values to variables, right now i do like below
MYHOMEDIR=`awk '/Home/ {print $NF}' output.txt`
MYSHELL=`awk '/Shell/ {print $NF}' output.txt`
PRGRP=`awk '/Primary/ {print $NF}' output.txt`
SECGRP=`awk '/Second/ {print $NF}' output.txt`
In this... (10 Replies)
Discussion started by: urello
10 Replies
5. Shell Programming and Scripting
Using ksh to call a function which has awk script embedded.
It parses a long two element list file, filled with text numbers (I want column 2, beginning no sooner than line 45, that's the only known thing) . It's unknown where to start or end the data collection, dynamic variables will be used. ... (1 Reply)
Discussion started by: highnthemnts
1 Replies
6. Shell Programming and Scripting
I'm trying to use awk to write new entries to a hosts file if they don't exist. I need to do so depending on the type of system I have. Below is what I have, but it isn't working.
awk -v myip1=$IP1 myip2=$IP2 myhost1=$HOST1 myhost2=$HOST2' BEGIN { mqhost1=0; mqhost2=0; stap1=0; stap2=0; }
... (4 Replies)
Discussion started by: Boomn4x4
4 Replies
7. Shell Programming and Scripting
Hi all,
I am wanting to pass variables from a file to an awk arithmetic formula.
When I use the formula with the value it works well. As soon as I make these variables I get an inf (infinity) response. I can certainly echo the variables back and they look correct. My googling for answers has... (3 Replies)
Discussion started by: gafoleyo73
3 Replies
8. Shell Programming and Scripting
Hi guys,
I need to fetch data from logfile between two given dates,i got the below code from our forum.It works perfect,but i need to enter the value dynamically to awk while running.
awk '/2012 Jun/{p=1}!/2012 Jul/ && prev~/2012 Jul/ && p{p=0}{prev=$0}p' file
i tried the below code,but... (4 Replies)
Discussion started by: mohanalakshmi
4 Replies
9. Shell Programming and Scripting
Trying to do so
echo "111:222:333" |awk -F: '{system("export TESTO=" $2)}'But it doesn't work (2 Replies)
Discussion started by: urello
2 Replies
10. Shell Programming and Scripting
Am looking to pass some Linux environment variables into AWK , can I simply use the -v option ?
awk -F: -v AHOME=$HOME '{ if
{rm AHOME/file.txt
a=2 } }'
config.txt
... (4 Replies)
Discussion started by: alldbest
4 Replies
LEARN ABOUT DEBIAN
oligotm
OLIGOTM(1) Primer3 User Manuals OLIGOTM(1)
NAME
oligotm - Prints oligo's melting temperature on stdout
SYNOPSIS
oligotm [OPTIONS] {oligo}
where oligo is a DNA sequence of between 2 and 36 bases
DESCRIPTION
oligotm prints the melting temperature of a given desoxyribooligonucleotide on the standard output. It is part of the oligotm library.
OPTIONS
-mv monovalent_conc
Concentration of monovalent cations in mM, by default 50 mM.
-dv divalent_conc
Concentration of divalent cations in mM, by default 0 mM.
-n dNTP_conc
Concentration of deoxynycleotide triphosphate in mM, by default 0 mM.
-d dna_conc
Concentration of DNA strands in nM, by default 50 nM.
-tp [0|1]
Specifies the table of thermodynamic parameters and the method of melting temperature calculation:
o 0 Breslauer et al., 1986 and Rychlik et al., 1990 (used by primer3 up to and including release 1.1.0). This is the default, but not
the recommended value.
o 1 Use nearest neighbor parameter from SantaLucia 1998. This is the recommended value.
-sc [0..2]
Specifies salt correction formula for the melting temperature calculation:
o 0 Schildkraut and Lifson 1965, used by primer3 up to and including release 1.1.0. This is the default, but not the recommended
value.
o 1 SantaLucia 1998. This is the recommended value.
o 1 Owczarzy et al., 2004.
-i
prints references to publications which were used for thermodynamic calculations.
REFERENCE
Please cite Rozen, S., Skaletsky, H. "Primer3 on the WWW for general users and for biologist programmers." In S. Krawetz and S. Misener,
eds. Bioinformatics Methods and Protocols in the series Methods in Molecular Biology. Humana Press, Totowa, NJ, 2000, pages 365-386.
SEE ALSO
primer3_core(1) ntdpal(1)
COPYRIGHT
Copyright (C) 1996,1997,1998,1999,2000,2001,2004,2006,2007,2008 Whitehead Institute for Biomedical Research, Steve Rozen
(http://jura.wi.mit.edu/rozen), Helen Skaletsky
All rights reserved. On Debian-based systems, please consult /usr/share/doc/primer3/copyright to read the licence of oligotm.
This manual page was written by Charles Plessy <plessy@debian.org> for the Debian(TM) system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under the same terms as oligotm itself.
oligotm 1.1.4 05/09/2008 OLIGOTM(1)