Sponsored Content
Top Forums Shell Programming and Scripting How to find a date which is 7 days past when given current date Post 302231709 by ladtony on Wednesday 3rd of September 2008 02:50:32 AM
Old 09-03-2008
hi
i am getting the output as
US/Arizona
ladtony
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Get date and time for past 1 hour from current date

Hi, I need to get the date and time for past 1 hour from the current date. Anyone know how to do so? Thanks (5 Replies)
Discussion started by: spch2o
5 Replies

2. Shell Programming and Scripting

how to get what date was 28 days ago of the current system date IN UNIX

Hi, Anybody knows how to get what date was 28 days ago of the current system date through UNIX script. Ex : - If today is 28th Mar 2010 then I have to delete the files which arrived on 1st Mar 2010, (15 Replies)
Discussion started by: kandi.reddy
15 Replies

3. Shell Programming and Scripting

Date after 5 days from current date in YYYYMMDD format

Hello Experts, How do i get date after 5 days from current date in YYYYMMDD format? How do you compare date in YYYYMMDD format? Thanks (8 Replies)
Discussion started by: needyourhelp10
8 Replies

4. Shell Programming and Scripting

How to Get 60 days Old date from current date in KSH script

Hi i am writing a cron job. so for it i need the 60 days old date form current date in variable. Like today date is 27 jan 2011 then output value will be stote in variable in formet Nov 27. i am using EST date, and tried lot of solution and see lot of post but it did not helpful for me. so... (3 Replies)
Discussion started by: Himanshu_soni
3 Replies

5. Shell Programming and Scripting

Number of days between the current date and user defined date

I am trying to find out the number of days between the current date and user defined date. I took reference from here for the date2jd() function. Modified the function according to my requirement. But its not working properly. Original code from here is working fine. #!/bin/sh... (1 Reply)
Discussion started by: hiten.r.chauhan
1 Replies

6. Shell Programming and Scripting

How to display a date, 30 days from the current date?

Well guys, I know the right syntax for displaying the current date is $(date). However, I am planning to send emails to some customers which displays their subscription date, and then the expiry. The expiry being 30 days from the current date. What would the right syntax be? (6 Replies)
Discussion started by: xxxx
6 Replies

7. Shell Programming and Scripting

To get 2 days old date from current date

Hi All, how to get 2 days Old date from current date in shell shell scripting not Perl scripting. example-toady's date is 01-April-2013 Expected result will be -30-Mar-2013 please consider Leap year and Feb 28 month also. Thanks, Krupa (7 Replies)
Discussion started by: krupasindhu18
7 Replies

8. Shell Programming and Scripting

Seven days past date from current date

hi all.. i want 2 know how 2 find 7days past date from current date.. when i used set datetime = `date '+%m%d%y'` i got 060613.. i just want to know hw to get 053013.. i tried using date functions but couldnt get it :( i use c shell and there is no chance that i can change that ..... (3 Replies)
Discussion started by: Rahul619
3 Replies

9. UNIX for Beginners Questions & Answers

Subscribers with Date 90 days older than current date

I have to display only those subscribers which are in "unconnected state" and the date is 90 days older than today's date. Below command is used for this purpose: cat vfsubscriber_20170817.csv | sed -e 's/^"//' -e '1d' | nawk -F '",' '{if ( (substr($11,2,4) == 2017) && ( substr($11,2,8) -lt... (1 Reply)
Discussion started by: dia
1 Replies

10. HP-UX

awk command in hp UNIX subtract 30 days automatically from current date without date illegal option

current date command runs well awk -v t="$(date +%Y-%m-%d)" -F "'" '$1 < t' myname.dat subtract 30 days fails awk -v t="$(date --date="-30days" +%Y-%m-%d)" -F "'" '$1 < t' myname.dat awk command in hp unix subtract 30 days automatically from current date without date illegal option error... (20 Replies)
Discussion started by: kmarcus
20 Replies
Bio::Map::FPCMarker(3pm)				User Contributed Perl Documentation				  Bio::Map::FPCMarker(3pm)

NAME
Bio::Map::FPCMarker - An central map object representing a marker SYNOPSIS
# get the marker object of $marker from the Bio::Map::FPCMarker my $markerobj = $physical->get_markerobj($marker); # acquire all the clones that hit this marker foreach my $clone ($markerobj->each_cloneid()) { print " +++$clone "; } # find the position of this marker in $contig print "Position in contig $contig"," = ",$markerobj->position($contig), " "; # find the group of the marker print "Group : ",$markerobj->group(); See Bio::Map::Position and Bio::Map::PositionI for more information. DESCRIPTION
This object handles the notion of a marker. This object is intended to be used by a map parser like fpc.pm. FEEDBACK
Mailing Lists User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated. bioperl-l@bioperl.org - General discussion http://bioperl.org/wiki/Mailing_lists - About the mailing lists Support Please direct usage questions or support issues to the mailing list: bioperl-l@bioperl.org rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible. Reporting Bugs Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the web: https://redmine.open-bio.org/projects/bioperl/ AUTHOR - Gaurav Gupta Email gaurav@genome.arizona.edu CONTRIBUTORS
Sendu Bala bix@sendu.me.uk PROJECT LEADERS
Jamie Hatfield jamie@genome.arizona.edu Dr. Cari Soderlund cari@genome.arizona.edu PROJECT DESCRIPTION
The project was done in Arizona Genomics Computational Laboratory (AGCoL) at University of Arizona. This work was funded by USDA-IFAFS grant #11180 titled "Web Resources for the Computation and Display of Physical Mapping Data". For more information on this project, please refer: http://www.genome.arizona.edu APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ new Title : new Usage : my $clone = Bio::Map::FPCMarker->new ( -name => $marker, -type => $type, -global => $global, -frame => $frame, -group => $group, -subgroup=> $subgroup, -anchor => $anchor, -clones => \%clones, -contigs => \%contigs, -position => \%markerpos, -remark => $remark ); Function: Initialize a new Bio::Map::FPCMarker object Most people will not use this directly but get Markers through L<Bio::MapIO::fpc> Returns : L<Bio::Map::FPCMarker> object Args : -name => marker name string, -type => type string, -global => global position for marker, -frame => boolean if marker is framework or placement, -group => group number for marker, -subgroup => subgroup number of marker, -anchor => boolean if marker is anchored, -clones => all the clone elements in map (hashref), -contigs => all the contig elements (hasref), -position => mapping of marker names to map position (hasref), -remark => remarks, separated by newlines Access Methods These methods let you get and set the member variables name Title : name Usage : my $name = $markerobj->name(); Function: Get/set the name for this marker Returns : scalar representing the current name of this marker Args : none to get, OR string to set type Title : type Usage : my $type = $markerobj->type(); Function: Get/set the type for this marker Returns : scalar representing the current type of this marker Args : none to get, OR string to set global Title : global Usage : my $type = $markerobj->global(); Function: Get/set the global position for this marker Returns : scalar representing the current global position of this marker Args : none to get, OR string to set anchor Title : anchor Usage : my $anchor = $markerobj->anchor(); Function: indicate if the Marker is anchored or not (True | False) Returns : scalar representing the anchor (1 | 0) for this marker Args : none to get, OR 1|0 to set framework Title : framework Usage : $frame = $markerobj->framework(); Function: indicate if the Marker is framework or placement (1 | 0) Returns : scalar representing if the marker is framework (1 if framework, 0 if placement) Args : none to get, OR 1|0 to set group Title : group Usage : $grpno = $markerobj->group(); Function: Get/set the group number for this marker. This is a generic term, used for Linkage-Groups as well as for Chromosomes. Returns : scalar representing the group number of this marker Args : none to get, OR string to set subgroup Title : subgroup Usage : $subgroup = $marker->subgroup(); Function: Get/set the subgroup for this marker. This is a generic term: subgroup here could represent subgroup of a Chromosome or of a Linkage Group. The user must take care of which subgroup he/she is querying for. Returns : scalar representing the subgroup of this marker Args : none to get, OR string to set position Title : position Usage : $markerpos = $markerobj->position($ctg); Function: get the position of the marker in the contig Returns : scalar representing the position of the markernumber of the contig Args : $ctg is necessary to look for the position of the marker in that contig. *** This has nothing to do with an actual Bio::Map::PositionI object *** remark Title : remark Usage : $markerremark = $markerobj->remark(); Function: get the remarks for this marker Returns : scalar of newline-separated markers Args : none each_cloneid Title : each_cloneid Usage : my @clones = $map->each_cloneid(); Function: retrieves all the clone ids in a map unordered Returns : list of strings (ids) Args : none *** This only supplies the ids set with the set_clones method *** *** It has nothing to do with actual Bio::Map::MappableI objects *** each_contigid Title : each_contigid Usage : my @contigs = $map->each_contigid(); Function: retrieves all the contig ids in a map unordered Returns : list of strings (ids) Args : none *** This only supplies the ids set with the set_contigs method *** *** It has nothing to do with actual Bio::Map::MapI objects *** set_clones Title : set_clones Usage : $marker->set_clones(\%clones) Function: Set the clone ids hashref Returns : None Args : Hashref of clone ids *** This only sets a hash of ids *** *** It has nothing to do with actual Bio::Map::MappableI objects *** set_contigs Title : set_contigs Usage : $marker->set_contigs(\%contigs) Function: Set the contig ids hashref Returns : None Args : Hashref of contig ids *** This only sets a hash of ids *** *** It has nothing to do with actual Bio::Map::MapI objects *** set_positions Title : set_positions Usage : $marker->set_positions(\%markerpos) Function: Set the positions hashref Returns : None Args : Hashref of marker positions *** This only sets a hash of numbers *** *** It has nothing to do with actual Bio::Map::PositionI objects *** perl v5.14.2 2012-03-02 Bio::Map::FPCMarker(3pm)
All times are GMT -4. The time now is 01:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy