Sponsored Content
Full Discussion: validate number range
Top Forums Shell Programming and Scripting validate number range Post 63177 by sabina on Wednesday 23rd of February 2005 09:26:27 AM
Old 02-23-2005
hi Zb and bhargav

Thanks a lot for your time. It was really useful.

Sabina
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

PERL: Simple reg expr validate 6 digits number

Hi there! I'm trying to validate a simple 6 digits number with reg expr. I ONLY want 6 digits so when i type 7 digits the script should no validate the number. I've write this code: #!/usr/bin/perl while(<STDIN>){ if($_=~/\d{6}/){ print "Bingo!\n"; ... (2 Replies)
Discussion started by: BufferExploder
2 Replies

2. Shell Programming and Scripting

extract number range from a file

Hi Everyone, a.txt 1272904667;1272904737;1 1272904747;1272904819;1 1272904810;1272904857;1 1272904889;1272904926;1 1272905399;1272905406;1 1272905411;1272905422;1 if i want to get the record, when the a.txt 1st field is between 1272904749 and 1272905399, any simple way by using awk,... (1 Reply)
Discussion started by: jimmy_y
1 Replies

3. Shell Programming and Scripting

Number range for SSNs

Hi All. I have a file that has an ID Number field....some of the ID Numbers are actual SSNs. ...does anyone know the range that SSNs may be...this is what I have found so far poking around SSN info sites.... greater than 001-01-0000 and less than 770-00-0000. Does anyone know this to be... (1 Reply)
Discussion started by: lyoncc
1 Replies

4. Shell Programming and Scripting

Closest Number from a Range of Numbers

out of a range of numbers, how can i pick out the number that is the closest to any arbitrary/random number that a user supplies? say the range of numbers are between 1 - 90000. but that doesn't mean each number exist between 1 - 90000. the range of numbers could be for example: 1, 3, 4, 6,... (6 Replies)
Discussion started by: SkySmart
6 Replies

5. Shell Programming and Scripting

Range of number from 0.1 to 10.0

Is there a way to create a loop that will output number starting from 0.1 to 10.0 0.1 0.2 0.3 0.4 0.5 .. ... 10.0 This is what i tried. for i in {1..50}; do printf -v i '%02d' $i ; echo "$i"; done That will print 01 02 03 .. .. 50 (9 Replies)
Discussion started by: vietrice
9 Replies

6. Shell Programming and Scripting

If statement test against number range [0-9]

Is it possible to test against a varible within a ranges in a if statement. ex. if ];then echo "not in range" else echo "number within range" fi (8 Replies)
Discussion started by: leemalloy
8 Replies

7. Shell Programming and Scripting

Fill data if number range is given

Hi I want to get all numbers if number range is given as input. Eg: INPUT FILE 100-105 107 108-112 OUTPUT REQUIRED: 100 101 102 103 104 105 107 108 109 110 111 112 How can I do it using shell? :confused: Thanks in advance. (11 Replies)
Discussion started by: dashing201
11 Replies

8. Shell Programming and Scripting

Generating Random Number in certain range

Hi there I am trying to generate a random number between 40 and 70 using the shell here is my code so far and it keeps going above 70. all help much appreciated! comp=$(( RANDOM%70+40 )) echo $comp (4 Replies)
Discussion started by: faintingquiche
4 Replies

9. UNIX for Dummies Questions & Answers

Using sed to replace a range of number

Trying to use SED to replace numbers that fall into a range but can't seem to get the logic to work and am wondering if SED will do this. I have a file with the following numbers 3 26 20 5. For the numbers that are greater than zero and less than 25, SED would add the word range after the... (7 Replies)
Discussion started by: jimmyf
7 Replies

10. Shell Programming and Scripting

Detect continuous number as range

I have 100k data like this bellow , i want to group data to range 171 172 173 174 175 176 179 182 183 187 188 189 1900 1901 1903 1904 1905 1906 (10 Replies)
Discussion started by: before4
10 Replies
RNAEFFECTIVE(1) 					      General Commands Manual						   RNAEFFECTIVE(1)

NAME
RNAeffective - calculation of effective numbers of orthologous miRNA targets SYNOPSIS
RNAeffective [-h] [-d frequency_file] [-f from,to] [-k sample_size] [-l mean,std] [-m max_target_length] [-n max_query_length] [-u iloop_upper_limit] [-v bloop_upper_limit] [-s] [-t target_file] [-q query_file] [query] DESCRIPTION
RNAeffective is a tool for determining the effective number of orthologous miRNA targets. This number can be used for the calculation of more accurate joint p-values in multi-species analyses. RNAeffective searches a set of target sequences with random miRNAs that can be given on the command line or otherwise generates random sequences according to given sample size, length distribution parameters and dinu- cleotide frequencies. The empirical distribution of joint p-values is compared to the p-values themselves, and the effective number of independent targets is the one that reduces the deviation between the two distributions. OPTIONS
-h Give a short summary of command line options. -d frequency_file Generate random sequences according to dinucleotide frequencies given in frequency_file. See example directory for example files. -f from,to Forces all structures to have a helix from position from to position to with respect to the query. The first base has position 1. -k sample_size Generate sample_size random sequences. Default value is 5000. -l mean,std Generate random sequences with a normal length distribution of mean mean and standard deviation std. Default values are 22 and 0, respectively. -m max_target_length The maximum allowed length of a target sequence. The default value is 2000. This option only has an effect if a target file is given with the -t option (see below). -n max_query_length The maximum allowed length of a query sequence. The default value is 30. This option only has an effect if a query file is given with the -q option (see below). -u iloop_upper_limit The maximally allowed number of unpaired nucleotides in either side of an internal loop. -v bloop_upper_limit The maximally allowed number of unpaired nucleotides in a bulge loop. -s Generate random sequences according to the dinucleotide distribution of given queries (either with the -q option or on command line. If no -q is given, the last argument to RNAeffective is taken as a query). See -q option. -q query_file Without the -s option, each of the query sequences in query_file is subject to hybridisation with each of the targets (which are from the target_file; see -t below). The sequences in the query_file have to be in FASTA format, ie. one line starting with a > and directly followed by a name, then one or more following lines with the sequence itself. Each individual sequence line must not have more than 1000 characters. With the -s option, the query (or query file) dinucleotide distribution is counted, and random sequences are generated according to this distribution. If no -q is given, random sequences are generated as described above (see -d option). -t target_file See -q option above. REFERENCES
The energy parameters are taken from: Mathews DH, Sabina J, Zuker M, Turner DH. "Expanded sequence dependence of thermodynamic parameters improves prediction of RNA secondary structure" J Mol Biol., 288 (5), pp 911-940, 1999 VERSION
This man page documents version 2.0 of RNAeffective. AUTHORS
Marc Rehmsmeier, Peter Steffen, Matthias Hoechsmann. LIMITATIONS
Character dependent energy values are only defined for [acgtuACGTU]. All other characters lead to values of zero in these cases. SEE ALSO
RNAhybrid, RNAcalibrate RNAEFFECTIVE(1)
All times are GMT -4. The time now is 04:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy