Search Results

Search: Posts Made By: nogu0001
4,458
Posted By nogu0001
Awessssssssssssome Dude I have no words for it...
Awessssssssssssome Dude
I have no words for it u just used the logic I'm just thinking of

what if column1 values are few and column2 values are more and still has comma with it...
4,458
Posted By nogu0001
output must have some algorithm like this but it...
output must have some algorithm like this but it has a bug, the following algorithm has file1 only. I dont know how to create foreach loop for both file1 and file2

foreach my $chrom (sort keys...
4,458
Posted By nogu0001
ouput of file1, IN10-----chrom--count---start ...
ouput of file1, IN10-----chrom--count---start

chr1 10

176716364
24737792
41368822
200251548
28707214
198709839
93419080
52270366
151846111 ...
4,458
Posted By nogu0001
sorry for posting early
I caught with some group meeting crap.
well here I'm trying to recall the column1 ($start) from file1, IN10 and column2, ($middle) from file2, IN11. I think I screwed up some where.:D

note :I'm...
4,458
Posted By nogu0001
#!/usr/bin/perl $infile1 = 'file.txt'; ...
#!/usr/bin/perl
$infile1 = 'file.txt';
$infile2 = 'cpg2.txt';
$outfile7 = 'out10.txt';
open IN10, "< $infile1" or die "Can't open $infile1 : $!";
open IN11, "< $infile2" or die "Can't open...
4,458
Posted By nogu0001
Do u have time to check my original long script
if u donmind i will post to u
4,458
Posted By nogu0001
hi kevin the logic is perfect but instead of...
hi kevin
the logic is perfect
but instead of writing the values in arrays i would like to assign the no.of values from column1 and column2 i.e defing @set as values from column 1 and @val as column...
4,458
Posted By nogu0001
NO but i do agree my question needs more...
NO
but i do agree my question needs more explanation
If i change the values in @set to only one number like 200 it gives the output as 208,closest number of 200
when I tried the script with only...
4,458
Posted By nogu0001
ya u r right but i need the way to claculate it
ya u r right but i need the way to claculate it
2,385
Posted By nogu0001
hi
try to grep numbers and words separately and use paste to print :b:
simple
4,458
Posted By nogu0001
perl script sub routine
hi I have bee trying to print the closest numbers in 2 arrays @set and @vals but the script i'm using giving the output only for 1st no in 1st array i.e 15 with all values in array2. I'm getting...
4,458
Posted By nogu0001
find smallest distance between numbers in arrays
Hi,

do someone know, How we can find the smallest distance between values of different columns?
Like I have column1 & column2.
-73.924598,40.879010
-73.924506,40.878978
-73.924506,40.878978...
4,458
Posted By nogu0001
loop through two files based on a variable
Hi guyz. i have two files. based on keys(chr1, chr2..) it has to loop through the second file of the same keys and has to take the minimum number after substraction. Sorry if I made my question...
1,648
Posted By nogu0001
hey thanx for your suggestions I do agree what...
hey thanx for your suggestions
I do agree what u said. it's working now
1,648
Posted By nogu0001
perl script - data munging
Hi guys
I'm trying to print the keys and values of data by using hashes and so on
I was able to retrieve the key but not values. I'm getting result like this
wrong -output
chr1, 1 ...
9,890
Posted By nogu0001
I got it guys No problems
my $year = (split /\t/)[0];

I for got define the column [0]
9,890
Posted By nogu0001
Question is
I need to create a list of years, together with the number of
CDs released in that year.
9,890
Posted By nogu0001
perl script to print to values in rows and columns
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...
Showing results 1 to 18 of 18

 
All times are GMT -4. The time now is 05:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy