in reply to Re: Removing partially duplicated lines from a file
in thread Removing partially duplicated lines from a file
Thank you. This works well, but I dont understand all your code. For example, why do we need to say
if ($columns[1] and $columns[1] =~ /^HLA-A/)e.g. with the same reference used twice? Also, I would like to send the output to a variable and not print to a file. I know this should seem like a minor change to your great code, but I can't seem to make it work. Could you help please? (My novice level skills are showing)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Removing partially duplicated lines from a file
by perldigious (Priest) on Jul 26, 2016 at 21:28 UTC | |
by AnomalousMonk (Archbishop) on Jul 27, 2016 at 00:55 UTC | |
by perldigious (Priest) on Jul 27, 2016 at 13:03 UTC | |
by AnomalousMonk (Archbishop) on Jul 27, 2016 at 15:36 UTC | |
by perldigious (Priest) on Jul 27, 2016 at 15:50 UTC | |
by Sandy_Bio_Perl (Beadle) on Jul 26, 2016 at 21:35 UTC | |
|
Re^3: Removing partially duplicated lines from a file
by harangzsolt33 (Deacon) on Jul 26, 2016 at 21:44 UTC |