Results for "r"

Bio-Scripts

  • Bash oneliner to extract all ids from a multifasta file

    #List of ids - one per line in allIds.txt $ awk 'BEGIN{while((getline0)l[">"$1]=1}/^>/{f=!l[$1]}f' seq.fa # You can play with this f=!l[$1 ] if wanted to extract or not extract the ids

    1597 days ago

  • Install Parrot Virtual Machine !

    ...ompile and execute bytecode for dynamic languages jit@jit-HP-Pro-3335-MT:~/Downloads/parrot-8...its configuration. do "lib/Parrot/Config/Generated.pm" faile................yes. auto::backtrace - Does libc have the b...d. auto::neg_0 - Determine whether negative zero can...

    1596 days ago

  • Install vcftools on Ubuntu

    ...nstall vcftools [sudo] password for jit: Reading package lists... Done...installed: vcftools 0 upgraded, 1 newly installed, 0 to...ubuntu.com/ubuntu bionic/universe amd64 vcftools amd64 0.1.15...html # Calculate stats separately for the filter field, qu...

    1584 days ago

  • Install htop on ubuntu

    ...t install htop [sudo] password for jit: Sorry, try again. [sudo] passwor...lding dependency tree Reading state information... Do...B of archives. After this operation, 221 kB of additional di...tting up htop (2.1.0-3) ... Processing triggers for desktop-...

    1584 days ago

  • R script to plot VCF file

    library(vcfR) vcf_file

    1584 days ago

  • Circos with circosJS

    ....append("svg") .attr('id', 'chart') .attr("width", wi...data = [ {"len": 31, "color": "#8dd3c7", "label": "Januar..."june"}, {"len": 31, "color": "#b3de69", "label": "July",...labels: { display: true, position: 'ce...

    1583 days ago

  • Correct bash command to zip your vcf file

    bgzip -c file.vcf > file.vcf.gz tabix -p vcf file.vcf.gz #More at http://www.htslib.org/doc/tabix.html

    1582 days ago

  • Install conda on remote server !

    ...se take a look at the Anaconda repo archive page https://repo.continuum.io/archive/ and select an approp...install. $ wget -c https://repo.continuum.io/archive/Anaco...nda3-5.0.1-Linux-x86_64.sh OR try this # Go to home dire...anaconda/bin:$PATH"' >> ~/.bashrc # Refresh basically sou...

    1579 days ago

  • Exit Bash Script When Any Command Fails

    ...fails #Putting this at the top of a bash script will cause the script to exit if any commands re...it when any command fails set -e # keep track of the last executed comma...# enable !! command completion set -o history -o histexpand...

    1579 days ago

  • Uninstall a perl module !

    # uninstall_perl_module.pl from PerlTricks.com use 5.14....odule name was passed die ("Error: no Module::Name passed as an argument. E.G.\n\t perl $0 Module::Name\n") unless $...ules->files($module)) { print "removing $file\n"; u...))) { print("removing $dir\n"); rmdir $dir or warn...

    1573 days ago