11-26-2012
No, but I found it out. I just use pattern detection, takes longer but it's OK.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi! Is there is any way to divide the screen when I use UNIX shells (I have RedHat 7.1)? I have to see the command promt and process some data from very long file at the same time (I work with PThreads). Some "pseudo-windows" in text mode, huh? =) Thanks in advance and don't be angry =) (4 Replies)
Discussion started by: ShockTeam
4 Replies
2. Programming
Hi ..
I have a file which contains a list of numbers like..
1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2027,
2028,2029,2030,2031,2032,2115,2116,2117,2118,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,... (2 Replies)
Discussion started by: jazz
2 Replies
3. Shell Programming and Scripting
Hi,
I have a situation where I need to append specific lines to a series of files only when specific lines are found. I can do this using sed -f, however because of the byte limitation for a sedscr file, I create multiple sedscr files (of 180 lines each due to the length of the strings) and do... (1 Reply)
Discussion started by: anoc
1 Replies
4. Shell Programming and Scripting
Hi All,
I have two variables like below..
ETIMEHR =03 #END TIME HOUR
ETIMEMIN=02 #END TIME MIN
Now I'm converting the min to hour by deviding it by 60
ETIMEMINCONV=`echo "scale=2; $ETIMEMIN/60" | bc`
but when i print ETIMEMINCONV instead of getting... (6 Replies)
Discussion started by: smarty86
6 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I am new to unix and I am trying hard to get this requirement, but no luck.
I am trying to compare two cloumns in two files and if it matches, the last column in file1 must be divided by file2 and the output must be written in a new file. To elaborate the 2nd column in file1 (EUR) must be... (6 Replies)
Discussion started by: smadderla
6 Replies
6. Shell Programming and Scripting
Hi,
I have a file containing 28048 lines and I would like to split it into a a file with 3506 lines and 8 columns?
In column 1, I would like to have the first 3506 lines, in columns 2 the second 3506 lines and so on.
I've been looking around in the forum but I found very specific cases.
Is... (1 Reply)
Discussion started by: f_o_555
1 Replies
7. Shell Programming and Scripting
Hi,
I do have a very simple task to divide 2 variables and display the result.
I CANNOT use bc
when i try
var1=2
var2=4
var3=$(($var1 / $var2))
echo $var3
the output is always 0
What can I change to get a dotted decimal result such as 0.5 ?
Thanks! (5 Replies)
Discussion started by: svetoslav_sj
5 Replies
8. Shell Programming and Scripting
Hi,
I have written this code the division of two numbers and multiply it by hundred (to get the percent)
echo "script running for the 1st time"
cp value_directory_present.txt /home/mysql_cnbc/value_directory_past.txt
rm -f test6.txt value_directory_present.txt
else
y1=`awk '{print $1}'... (5 Replies)
Discussion started by: arijitsaha
5 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have a space de-limited text file with 1000 columns. I want to divide it up into 20 text files each with 50 columns, starting from the first column. How do I go about doing that? Thanks! (2 Replies)
Discussion started by: evelibertine
2 Replies
10. Shell Programming and Scripting
Does anyone know how to include as a script maybe an "echo" warning that explains that if a user uses the second number "zero" when dividing, that the result will BE "zero."
I need, example: 5/0 (second number) = 0, in script form.
current script:
echo "Enter a number"
read num1
echo... (4 Replies)
Discussion started by: jefferj54
4 Replies
LEARN ABOUT DEBIAN
populations
POPULATIONS(1) populations User Manual POPULATIONS(1)
NAME
populations - population genetic software
SYNOPSIS
populations
populations [name_of_input_file] [option]
You can use populations as a command line programm (very useful for batch treatment) to infer phylogenetic trees.
DESCRIPTION
populations is a population genetic software. It computes genetic distances between populations or individuals. It builds phylogenetic
trees (NJ or UPGMA) with bootstrap values.
FEATURES
o haploids, diploids or polyploids genotypes (see input formats)
o structured populations (see input files structured populations
o No limit of populations, loci, alleles per loci (see input formats)
o Distances between individuals (15 different methods)
o Distances between populations (15 methods)
o Bootstraps on loci OR individuals
o Phylogenetic trees (individuals or populations), using Neighbor Joining or UPGMA (PHYLIP tree format)
o Allelic diversity
o Converts data files from Genepop to different formats (Genepop, Genetix, Msat, Populations...)
OPTIONS
-phylogeny ind|pop
(default) for phylogenetic trees based on individuals or populations
dist method
(default: Nei standard, Ds) you can choose among: DAS, Dm, Ds, Dc, Da, dmu2, Fst, Cp, Dr, ASD, Dsw, Dr, Dru, Drw, Drl. see distances
for details.
-construct method
(default: upgma) possibilities upgma or nj (Neighbor Joining)
-bootstrap_ind n
number to indicate the number of bootstraps to perform on individuals
-bootstrap_locus n
number to indicate the number of bootstraps to perform on loci
.RE
-output name_of_treeview_file
to indicate the name of the tree file (phylip tree format)
-level n
number , structured populations allows to choose the structuration factor (in the example: town level is 1, building level is
2...).
EXAMPLE
populations toutc2.txt -phylogeny pop -dist Dm -bootstrap_locus 10000 -output toutc2_10000_Dm.tre
Commands can be write in a .bat file (for DOS) or a script file (for UNIX)
AUTHOR
Georges Khaznadar <georgesk@ofset.org>
Wrote this manpage for the Debian system.
COPYRIGHT
Copyright (C) 2011 Georges Khaznadar
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at
your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
populations 06/19/2011 POPULATIONS(1)