Read lines from input file – print lines that match a regular expression
#!/usr/bin/perl use strict; use warnings; my $line; #read the line-by-line for each line ask if it matches the regex print it if it matches while($line = ){...2880 days ago
Parse a genbank file using regular expressions
#! /usr/local/bin/perl -w $genbank = "genbank_file.txt"; open (GENBANK, $genbank) || die "cannot open $gb_report for reading: $!"; # Flag for multiline translati...2880 days ago
Perl script to find coding regions in DNA sequences
#!/usr/bin/perl -w use strict; # if the number of input arguments is lower than...{ # extract the two values or columns with a regular expression # A group of let...it the sequence in segments of length # three, a regular exp...2118 days ago
2062 days ago
Perl script to break the contigs by 'N'
...push(@bases,"E"); #This extra position marks the end of the contig my $n=0; #Sorry for this loop, but its less memory expensive than regular expressions for (my $i=0;$i=$minNlen) {...2026 days ago
1981 days ago