Results for "oneliner"

Tags

  • rename all *.txt as *.bak: find . -name "*.txt" | sed "s/\.txt$//" | xargs -i echo mv {}.txt {}.bak | sh #Linux #Rename #Oneliner

    Tags: Linux, Rename, Oneliner

    3585 days ago

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

    Tags: Delete, Space, Fasta, Perl, Oneliner

    3584 days ago

  • zcat input_file.fastq.gz | awk 'NR%4==1{printf ">%s\n", substr($0,2)}NR%4==2{print}' > output_file.fa #fastaQ2fasta #fastaq #fasta #Oneliner

    Tags: fastaQ2fasta, fastaq, fasta, Oneliner

    3609 days ago

  • FastaQ 2 Fasta Oneliner: paste - - - -< totalRNA_placental_1.fastq | perl -pale'$_="@F[0..1]"'|tr "\^@" "\>" | perl -pale 's/\s/\n/g' #Oneliner #NGS #FastaQ #Fasta

    Tags: Oneliner, NGS, FastaQ, Fasta

    3598 days ago

  • Linux one-liner. https://wikis.utexas.edu/display/bioiteam/Scott%27s+list+of+linux+one-liners #Linux #Oneliner #NGS

    Tags: Linux, Oneliner, NGS

    3548 days ago

  • Extract sequences by their ID from a fasta file. perl -ne 'if(/^>(\S+)/){$c=$i{$1}}$c?print:chomp;$i{$_}=1 if @ARGV' ids.txt sample1.fa #Extract #Sequences #IDs #Fasta #Perl #Trick #Oneliner

    Tags: Extract, Sequences, IDs, Fasta, Perl, Trick, Oneliner

    3124 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

    3124 days ago

  • Count the number of sequences in fastaq file. grep -c '^@' sample1.fq #Fastaq #Count #Number #Grep #Dirty #Oneliner #NGS

    Tags: Fastaq, Count, Number, Grep, Dirty, Oneliner, NGS

    3124 days ago

  • Perl OneLiner http://userweb.eng.gla.ac.uk/umer.ijaz/bioinformatics/oneliners.html #Perl #Oneliner #NGS #Script

    Tags: Perl, Oneliner, NGS, Script

    2523 days ago

  • Unmasking the lower case values in genome. $ perl -pe '/^[^>]/ and $_=uc' genomic.fna > genomic.unmasked.fna #Genome #Unmask #Perl #Oneliner

    Tags: Genome, Unmask, Perl, Oneliner

    2486 days ago