Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: regexp and substitute operator problem

by allolex (Curate)
on Jul 08, 2003 at 10:36 UTC ( [id://272236]=note: print w/replies, xml ) Need Help??


in reply to regexp and substitute operator problem

Well, I tried my own code:

#!/usr/bin/perl use strict; use warnings; my @bands; while (<DATA>) { chomp; my @elements = split(' ',$_); foreach my $element (@elements) { next unless ($element =~ /[pq]/i); next unless ($element =~ /[0-9]/); # put them into an array just in case you # want to do something other than print them push @bands, $element; print $element . "\n"; } } __DATA__ Whole-genome scan studies recently identified a locus on Xq27-q28 Xq11-q12 22q12.1 1q42.2-q43 19q 17p11 1q25 13q12.3 11p11.2 10q25 10q23.31 8p22 8p22 7q11.23 7p22 chromosome segments 19q12-q13.11 linked to prostate tumor aggressiveness by use of the Gleason score as a quantitative trait. We have now completed finer-scale linkage mapping across this region that confirmed and narrowed the candidate region to 2 cM, with a peak between markers D19S875 and D19S433. We also performed allelic imbalance (AI) studies across this region in primary prostate tumors from 52 patients unselected for family history or disease status. A high level of AI was observed, with the highest rates at markers D19S875 (56%) and D19S433 (60%). Furthermore, these two markers defined a smallest common region of AI of 0.8 Mb, with 15 (29%) prostate tumors displaying interstitial AI involving one or both markers. In addition, we noted a positive association between AI at marker D19S875 and extension of tumor beyond the margin (P = 0.02) as well as a higher Gleason score (P = 0.06). These data provide strong evidence that we have mapped a prostate tumor aggressiveness locus to chromosome segments 19q12-q13.11 that may play a role in both familial and non-familial forms of prostate cancer.

And got this output:

Xq27-q28 Xq11-q12 22q12.1 1q42.2-q43 19q 17p11 1q25 13q12.3 11p11.2 10q25 10q23.31 8p22 8p22 7q11.23 7p22 19q12-q13.11 19q12-q13.11

I hope that helps...

--
Allolex

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://272236]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-16 20:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found