Results for "spaces"

Top-level pages

  • Perl one-liner for bioinformatician !!!

    ...l lines with length less than 20.perl -00 -pe '' #If there are multiple spaces, delete all leaving one(make...ne 'printf "%-5d %s", $., $_ if /regex/' #Left align lines with 5 white spaces if matches a pattern (perl -n...

    3643 days ago

  • Source Code and Pseudo Code !!

    ...s implementation in a programming language. Try to indent at least four spaces. As noted above, the pseudoc...it returns. All of these listed items are to be on separate lines with spaces in between each explanatory i...

    2674 days ago

  • PerlOneLiner for Bioinformatician

    ...seperl -ple 'y/A-Za-z/a-zA-Z/' # Camel case each lineperl -ple 's/(\w+)/\u$1/g'perl -ple 's/(?<!['])(\w+)/\u\1/g' # Strip leading whitespace (spaces, tabs) from the beginning of...

    2317 days ago

  • Bioinformatics OneLiner

    ...to all headers of your fasta files: sed 's/>.*/&YOURSTRING/' filename.fasta > new_filename.fasta To replace/squeeze multiple adjacent spaces by only one space:  tr...

    2232 days ago