Results for "FASTA"

Tags

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

    Tags: Add, Fasta

    2564 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

    Tags: Sed, Clean, Header, Fasta

    2564 days ago

  • Append the string to fasta header. $ sed 's/>.*/&_Bacteria/' foo.in > out.fasta #Sed #Fasta #String #Append

    Tags: Sed, Fasta, String, Append

    2506 days ago

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

    Tags: Fasta, Count, Bases

    2502 days ago

  • Reformat you fasta sequence with size. $ seqkit seq -w 50 allGenomeContacted.fa > allGenomeContacted_final.fa #Reformat #Fasta #Size

    Tags: Reformat, Fasta, Size

    2462 days ago

  • #GFA to #Fasta file conversion. $ grep '^S' example.gfa |awk '{print ">"$2; print $3}' > example.fa

    Tags: GFA, Fasta

    2268 days ago

  • Convert lowercase letter to N:$ sed -e '/^>/! s/[[:lower:]]/N/g' in.fasta > out.fasta #Convert #Lowercase #Fasta #N

    Tags: Convert, Lowercase, Fasta, N

    2212 days ago

  • Convert fasta to 2bit $ faToTwoBit myAssembly.fa myAssembly.2bit #Fasta #2bit #Convert

    Tags: Fasta, 2bit, Convert

    2175 days ago

  • Count the contigs length in index fasta file with samtools. $ awk '{s+=$2}END{print s}' scaffolds.fasta.fai #Fasta #Index #Length #Count #Size #Samtools

    Tags: Fasta, Index, Length, Count, Size, Samtools

    2138 days ago

  • perl -e '$/="\n>"; while (<>) { s/>//g; my ($id, $seq) = split /\n/; print ">$_" if length $seq; }' < all_p_ctg.fasta > all_p_ctg_corrected.fasta #Convert #Fasta #Zero

    Tags: Convert, Fasta, Zero

    2132 days ago