I have duplicates records in a file, but they are not consecutive. I want to remove the duplicates , using script.
Can some one help me in writing a ksh script to implement this task.
Ex file is like below.
1234
5689
4556
1234
4444 (7 Replies)
Hello,
I am starting up an Xnest window and trying to place a program inside of it. I have the window inside of it now but it always spawns with the top left corner at (0, 0). I need to find a way to set the x and y coordinates to something other than (0, 0). I tried using the -geometry option... (1 Reply)
hi,
i have a pair of latitude and longitude and i want to calculate the distance between these two points. In vbscript i achieved in the following way...Now i want to implement this in unix shell scripting....
<%
Dim lat1, lon1, lat2, lon2
const pi = 3.14159265358979323846
... (8 Replies)
Hi
I have a file whose sample contents are shown here,
1.2.3.4->2.4.2.4 a(10) b(20) c(30)
1.2.3.4->2.9.2.4 a(10) c(20)
2.3.4.3->3.6.3.2 b(40) d(50) c(20)
2.3.4.3->3.9.0.2 a(40) e(50) c(20)
1.2.3.4->3.4.2.4 a(10) c(30)
6.2.3.4->2.4.2.5 c(10)
.
.
.
.
Here I need to search... (5 Replies)
Hi,
I have this problem on how to place the cursor in a text editor (for example: pico).
I made this script that would attach comments to a script file then open the script file,
I would like to know how to place the cursor in a specific place,
for example at the end of the comments,
... (1 Reply)
Hi guys. Can anyone tell me how to determine points between two coardinates. For example: Which type of command line gives me
50 points between (8, -5, 7) and (2, 6, 9) points
Thanks (5 Replies)
Hello all, this might be better suited for a bioinformatics forum, but I thought I'd try my luck here as well.
I have several tabular text files of DNA sequence reads that appear as such:
File_1.txt
>H01BA45XW GATTACAGATTCGACATCCAACTGAGGCATT
>H02BG78WR CCTTACAGACTGGGCATGAATATTGCATACC... (3 Replies)
Hi,
I would like to have the length of a segment based on coordinates of its parts.
Example input file:
chr11 genes_good3.gtf aggregate_gene 1 100 gene1
chr11 genes_good3.gtf exonic_part 1 60
chr11 genes_good3.gtf exonic_part 70 100
chr11 genes_good3.gtf aggregate_gene 200 1000 gene2... (2 Replies)
Hi,
I would like to know how can I get the ID of a feature if its genomic coordinates overlap the coordinates of another file. Example:
Get the 4th column (ID) of this file1:
chr1 10 100 gene1
chr2 3000 5000 gene2
chr3 200 1500 gene3
if it overlaps with a feature in this file2:
chr2... (1 Reply)
I have a variation table (variation.txt) which is a very big file. The first column in the chromosome number and the second column is the position of the variation. I have a second file annotation.txt which has a list of 37,000 genes (1st column), their chromosome number(2nd column), their start... (1 Reply)
Discussion started by: Sanchari
1 Replies
LEARN ABOUT DEBIAN
geo::coordinates::itm
Geo::Coordinates::ITM(3pm) User Contributed Perl Documentation Geo::Coordinates::ITM(3pm)NAME
Geo::Coordinates::ITM - Convert coordinates between lat/lon and Irish Transverse Mercator
VERSION
This document describes Geo::Coordinates::ITM version 0.02
SYNOPSIS
use Geo::Coordinates::ITM qw( ll_to_grid grid_to_ll );
my ( $lat, $lon ) = grid_to_ll( $east, $north );
my ( $east, $north ) = ll_to_grid( $lat, $lon );
DESCRIPTION
Convert back and forth between Irish Transverse Mercator grid and WGS84. The conversion code was stolen wholesale from
<http://bit.ly/ZqpUA>.
http://svn.geograph.org.uk/svn/branches/british-isles/libs/geograph
/conversionslatlong.class.php
Nothing is exported by default. The exportable functions are "ll_to_grid" and "grid_to_ll".
INTERFACE
"ll_to_grid"
Convert a latitude, longitude (WGS84) coordinate pair into an ITM easting and northing.
my ( $east, $north ) = ll_to_grid( $lat, $lon );
"grid_to_ll"
Convert an ITM easting, northing pair to a WGS84 latitude, longitude.
my ( $lat, $lon ) = grid_to_ll( $east, $north );
BUGS
Please report any bugs or feature requests to "bug-geo-coordinates-itm@rt.cpan.org", or through the web interface at <http://rt.cpan.org>.
AUTHOR
Andy Armstrong "<andy@hexten.net>"
Code gratefully stolen from <http://bit.ly/ZqpUA>
http://svn.geograph.org.uk/svn/branches/british-isles/libs/geograph
/conversionslatlong.class.php
LICENCE AND COPYRIGHT
Copyright (c) 2009, Andy Armstrong "<andy@hexten.net>".
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
perl v5.14.2 2012-03-31 Geo::Coordinates::ITM(3pm)