Results for "file"

Wire posts

  • use File::Basename; use lib dirname (__FILE__); # To search lib in local folder #Perl #Modules

    2587 days ago

  • To add something to end of all header lines: $ sed 's/>.*/&WHATEVERYOUWANT/' file.fa > outfile.fa #Add #Fasta

    2586 days ago

  • To clean up a fasta file so only first column of the header is outputted:$ awk '{print $1}' file.fa > output.fa #Sed #Clean #Header #Fasta

    2586 days ago

  • Convert MAF file format http://last.cbrc.jp/doc/maf-convert.html #MAF #Convert #Format

    2567 days ago

  • Rename/number the multi-fasta file in ascending order. $ awk '/^>/{print ">" ++i; next}{print}' < Mix_assembly.fasta > Mix_assembly2.fasta #awk #oneliner

    2554 days ago

  • Filter #blank #lines from a #fasta file using sed. $ sed '/^$/d' finalSample.fa > finalSample_filtered.fa #Linux #Filter #FASTA #SED

    2547 days ago

  • Handling #CSV file with #Perl http://perlmeme.org/tutorials/parsing_csv.html

    2540 days ago

  • Git large file storage https://git-lfs.github.com/ #Git #Large #File #Storage

    2530 days ago

  • Count the number of bases in fasta file. grep -v ">" file.fasta | wc | awk '{print $3-$1}' #Fasta #Count #Bases

    2523 days ago

  • Remove four beginning characters from each line of the file. $ sed 's/^....//' genbank.txt #Remove #Sed #Text

    2520 days ago