PerlOneLiner for Bioinformatician
...move all blank linesperl -ne 'print unless /^$/'perl -lne 'print if length'perl -ne 'print if...~~grep{/./}<>'perl -le 'print~~grep/./,<>'perl -E 'sa.../ && $t++ } @F; END { print $t }'perl -alne '$t += /regex...tsperl -le '@list = (1,2)x20; print "@list"' # Create an array f...2316 days ago
Awk for Bioinformatician and computational biologist
...input.If the action is not given, print all that lines that matches w...s nothing. It wont perform default printing operation.Each statement i...er of fields in a record. $ awk '{print $1","$2;}' data/test.tsvconti...appear, for example, if we want to print $1 three times (here we are u...2294 days ago
2231 days ago
Parallel Processing with Perl !
...txt”);flock $QUAL, LOCK_EX or die “cant lock file $!”;print $QUAL “$output”;f...le = readdir(DIRECTORY)) { ### read the directoryif($file=~/^\./){next;}print $file,”\n”;######...2094 days ago
2094 days ago