Results for "Remove"

Wire posts

  • Remove unwanted character from fasta file. sed -e '/^[^>]/s/[^ATGCatgc]/N/g' file.fa #fasta #file #header #charater

    2474 days ago

  • Remove "|" from fasta header. $ sed 's,|,_,g' -i file.fa #fasta #header #sed

    2474 days ago

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

    2462 days ago

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

    2452 days ago

  • Example commands to remove lower-case masking: perl -pe '/^[^>]/ and $_=uc' genomic.fna > genomic.unmasked.fna

    2357 days ago

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

    2337 days ago

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

    2337 days ago

  • Remove duplicate fasta ids: awk '/^>/{f=!d[$1];d[$1]=1}f' in.fa > out.fa #duplicate #fasta #ids

    2329 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

    2326 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

    2326 days ago