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

    1087 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

    1086 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

    1111 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

    1100 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

    1050 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

    626 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

    626 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

    626 days ago

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

    Tags: Perl, Oneliner, NGS, Script

    25 days ago

  • Fancy One-Liner http://userweb.eng.gla.ac.uk/umer.ijaz/bioinformatics/oneliners.html #Perl #OneLiner #Bioinformatics #Quick #Common #Tricks #CommandLine #Terminal

    Tags: Perl, OneLiner, Bioinformatics, Quick, Common, Tricks, CommandLine, Terminal

    695 days ago