efoss has asked for the wisdom of the Perl Monks concerning the following question:
if ($line2 =~ /^\@\S+\s+ILLUMINA\S+:(\d+):(\d+):(\d+):(\d+)\s+length=1 +60/) { $x2 = $3; $y2 = $4; } else { die "problem: line is $line\n"; #problem: now line is @SRR254172.1 ILLUMINA-20A1B2_0004_FC6282EAAX +X:6:1:1433:941 length=160 }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: trouble with @ in a regular expression
by choroba (Cardinal) on Mar 29, 2012 at 22:06 UTC | |
by AnomalousMonk (Archbishop) on Mar 29, 2012 at 23:26 UTC | |
|
Re: trouble with @ in a regular expression
by JavaFan (Canon) on Mar 29, 2012 at 23:24 UTC | |
|
Re: trouble with @ in a regular expression
by ww (Archbishop) on Mar 29, 2012 at 23:07 UTC | |
by AnomalousMonk (Archbishop) on Mar 29, 2012 at 23:16 UTC | |
by ww (Archbishop) on Mar 30, 2012 at 12:30 UTC | |
by AnomalousMonk (Archbishop) on Mar 30, 2012 at 12:57 UTC |