Results for "delete"

Wire posts

  • Remove the blank space from a fasta file. perl -nlwe 'tr/ //d; print if length' fileName #Delete #Space #Fasta #Perl #Oneliner

    3623 days ago

  • #Delete all files (*.bak) in a #folder with find . -type f -name "*.bak" -exec rm -f {} \;

    2980 days ago

  • Delete space from FASTA header: perl -pe 's/>\S+\K.+//' < file.fasta > new_file.fasta #PerlOneLiner #Trick #Perl #Space #Fasta

    2980 days ago

  • Find a file with certain size and delete them: $ find . -name "see-D-d-ALN_*" -size -10k -delete #Delete #Size #Linux #Tricks

    2800 days ago

  • Delete size zero files from a folder: find . -size 0 -delete #Linux #Trick

    2665 days ago

  • Remove the sequence by fasta ids. awk 'BEGIN{while((getline<"ids.txt")>0)l[">"$1]=1}/^>/{f=!l[$1]}f' seq.fa #Remove #Delete #ids #fasta

    2211 days ago

  • sudo find /tmp -type f -atime +10 -delete #Delete all tmp files created within 10 days #Linux

    1970 days ago

  • Delete all the executables in current directory. $ find . -maxdepth 1 -type f -executable -exec rm {} + #Delete #CurrrentDir

    1212 days ago

  • Delete all the headers from multifasta file $ awk 'BEGIN {print ">"ARGV[1]};!/^>/{print}' test.fa #fasta #delete #header #multifasta

    105 days ago