Results for "Remove"

Tags

  • The syntax to remove last character from line or word is as follows: x="foo bar" echo "${x%?}" #Remove #Last #Bash #Linux

    Tags: Remove, Last, Bash, Linux

    1257 days ago

  • Remove the fasta description and just keep the identifier. perl -p -i -e 's/>(.+?) .+/>$1/g' sample1.fa #Perl #Oneliner #Trick #Tips #Fasta #Identifier #Remove

    Tags: Perl, Oneliner, Trick, Tips, Fasta, Identifier, Remove

    866 days ago

  • #Remove all line that start with # file: $ sed '/^#/ d' filename #line #sed #linux

    Tags: Remove, line, sed, linux

    315 days ago

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

    Tags: Remove, Sed, Text

    211 days ago

  • Remove unwanted character from fasta file. $ sed -e '/^[^>]/s/[^ATGCatgc]/N/g' file.fa #IUPAC #Special #Character #Remove

    Tags: IUPAC, Special, Character, Remove

    176 days ago

  • #Remove a #sequence by id from multifasta: cat vaga.fa | awk '{if (substr($0,1) == ">scaffold_1 1087316 bp") censor=1; else if (substr($0,1,1) == ">") censor=0; if (censor==0) print $0}' > fixed.fasta

    Tags: Remove, sequence

    40 days ago

  • Remove duplicated lines from text file. $ awk '!seen[$0]++' allIds #duplicate #lines #remove #awk

    Tags: duplicate, lines, remove, awk

    166 days ago

  • Remove the fasta with zero size: awk 'BEGIN {RS = ">" ; FS = "\n" ; ORS = ""} $2 {print ">"$0}' input.fas > output.fas #fasta #remove

    Tags: fasta, remove

    50 days ago

  • Remove the unwanted characters from Fasta file: sed -e '/^[^>]/s/[^ATGCatgc]/N/g' infile.fa #sed #unwanted #illegal #remove #correct #fasta #linux

    Tags: sed, unwanted, illegal, remove, correct, fasta, linux

    50 days ago

  • awk 'BEGIN {RS = ">" ; FS = "\n" ; ORS = ""} {if ($2) print ">"$0}' all_p_ctg.fa > all_p_ctg_CORRECTED.fa #remove #empty #clean #fasta

    Tags: remove, empty, clean, fasta

    40 days ago