Hi
My orginal file is like (100s of lines)
id host ip location remarks
1 host1 ip1 - xxx
2 host2 ip2 - xxx
3 host3 ip3 - xxx
--
--
9 host9 ip9 - xxx
I have a ref file like
host1 location1
host2 location2
host3 location3
--
--... (6 Replies)
using sed to replace a specific string on a specific line number using variables
this is where i am at
grep -v WARNING output | grep -v spawn | grep -v Passphrase | grep -v Authentication | grep -v '/sbin/tfadmin netguard -C'| grep -v 'NETWORK>' >> output.clean
grep -n Destination... (2 Replies)
I am trying to use sed to replace specific characters at a specific position in the file with a different value... can this be done?
Example:
File:
A0199999123
A0199999124
A0199999125
Need to replace 99999 in positions 3-7 with 88888.
Any help is appreciated. (5 Replies)
hello,
i 'd like your help about a bash script which:
1. finds inside the html file (it is attached with my post) the code number of the Latest Stable Kernel,
2.finds the link which leads to the download location of the Latest Stable Kernel version,
(the right link should lead to the file... (3 Replies)
I'm trying to update a text file via sed/awk, after a lot of searching I still can't find a code snippet that I can get to work.
Brief overview:
I have user input a line to a variable, I then find a specific value in this line 10th field in this case. After asking for new input and doing some... (14 Replies)
Hello,
I would like to change my setting in a file to the setting that user input.
For example, by default it is
ONBOOT=ON
When user key in "YES", it would be
ONBOOT=YES
--------------
This code only adds in the entire user input, but didn't replace it.
How do i go about... (5 Replies)
I have the file like this.
cat 123.txt
<p> <table border='1' width='90%' align='center' summary='Script output'> <tr><td>text </td> </tr> </table> </p>
I want to replace some tags and want the output like below. I tried with awk & sed commands. But no luck. Could someone help me on this?
... (4 Replies)
Hi,
I have a file with hundreds of lines. I want to search for particular lines starting with 4000, search and replace the 137-139 position characters; which will be '000', with '036'. Can all of this be done without opening a temp file and then moving that temp file to the original file name.
... (7 Replies)
Hi All,
I need one help to replace particular words in file based on if finds another words in that file .
i.e.
my self is peter@king.
i am staying at north sydney.
we all are peter@king.
How to replace peter to sham if it finds @king in any line of that file.
Please help me... (8 Replies)
Discussion started by: Rajib Podder
8 Replies
LEARN ABOUT DEBIAN
bio::seqfeature::gene::genestructurei
Bio::SeqFeature::Gene::GeneStructureI(3pm) User Contributed Perl Documentation Bio::SeqFeature::Gene::GeneStructureI(3pm)NAME
Bio::SeqFeature::Gene::GeneStructureI - A feature representing an arbitrarily
complex structure of a gene
SYNOPSIS
#documentation needed
DESCRIPTION
A feature representing a gene structure.
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 one
of the Bioperl mailing lists. 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 the bugs and their resolution. Bug reports can be submitted via the
web:
https://redmine.open-bio.org/projects/bioperl/
AUTHOR - Hilmar Lapp
Email hlapp@gmx.net
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
transcripts
Title : transcripts()
Usage : @transcripts = $gene->transcripts();
Function: Get the transcript features/sites of this gene structure.
See Bio::SeqFeature::Gene::TranscriptI for properties of the
returned objects.
Returns : An array of Bio::SeqFeature::Gene::TranscriptI implementing objects
representing the promoter regions or sites.
Args :
promoters
Title : promoters()
Usage : @prom_sites = $gene->promoters();
Function: Get the promoter features/sites of this gene structure.
Note that OO-modeling of regulatory elements is not stable yet.
This means that this method might change or even disappear in a
future release. Be aware of this if you use it.
Returns : An array of Bio::SeqFeatureI implementing objects representing the
promoter regions or sites.
Args :
exons
Title : exons()
Usage : @exons = $gene->exons();
@inital = $gene->exons('Initial');
Function: Get all exon features or all exons of specified type of this gene
structure.
Refer to the documentation of the class that produced this gene
structure object for information about the possible types.
See Bio::SeqFeature::Gene::ExonI for properties of the
returned objects.
Returns : An array of Bio::SeqFeature::Gene::ExonI implementing objects
representing the exon regions.
Args : An optional string specifying the type of the exon.
introns
Title : introns()
Usage : @introns = $gene->introns();
Function: Get all introns of this gene structure.
Returns : An array of Bio::SeqFeatureI implementing objects representing the
introns.
Args :
poly_A_sites
Title : poly_A_sites()
Usage : @polyAsites = $gene->poly_A_sites();
Function: Get the poly-adenylation features/sites of this gene structure.
Returns : An array of Bio::SeqFeatureI implementing objects representing the
poly-adenylation regions or sites.
Args :
utrs
Title : utrs()
Usage : @utr_sites = $gene->utrs();
Function: Get the UTR features/sites of this gene structure.
See Bio::SeqFeature::Gene::ExonI for properties of the
returned objects.
Returns : An array of Bio::SeqFeature::Gene::ExonI implementing objects
representing the UTR regions or sites.
Args :
perl v5.14.2 2012-03-02 Bio::SeqFeature::Gene::GeneStructureI(3pm)