in reply to Using a regexp to extract sequence fields
For example:
In this case, you said you wanted the 3rd "field", so you would just access it as $fields[2]my $foo = ">blabla1|anyting1|blabla2|anyting2|blabla3| "; my @fields = split /\|/, $foo;
Hope this helps,
Darren :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using a regexp to extract sequence fields
by tamaguchi (Pilgrim) on Feb 13, 2006 at 10:09 UTC |