Setting up falconUnzip conda environments for genome assembly !
➜ Analysis_Results conda create -n denovo_asm Solving environmen...622 KB conda-forge avro-python2-1.8.2 |...964 KB conda-forge python-edlib-1.2.3.post1 | py27h...conda-forge avro-python2: 1.8.2-py_1...1983 days ago
Backward Elimination with Python
#Backward Elimination with p-values only: import statsmodels.formula.api as sm def backwardElimination(x, sl): numVars = len(x[0]) for i in range(0, numVa...1948 days ago
Bash commandline to install Anaconda !
#The line begins with $ are the commands $ mkdir tmp $ cd tmp/...shop/wsu29/anaconda3 installing: python-3.7.3-h0371630_0 ... Python 3.7.3 installing: conda-env-...ze-1.1.0-py37_0 ... installing: ipython_genutils-0.2.0-py37_0 ... in...1-py37h7b6447c_0 ... installing: python-...1549 days ago
Bash command to install Miniconda !
(base) [wsu29@bladeamd-2 tmp]$ wget https://repo.anaconda.com/miniconda/Miniconda3-late...=19.0.0=py37_0 - pysocks==1.7.1=py37_0 - python==3.7.4=h265db76_1 - read...pkgs/main/linux-64::pysocks-1.7.1-py37_0 python...1549 days ago
Bash command to install GATK, Bedtools and SnpEff !
(my_GATK) [wsu29@bladeamd-2 tmp]$ conda install gatk Collecting package m...py38_1 1.9 MB python-3.8.1 | h...s/main/linux-64::pip-20.0.2-py38_1 python pkgs/main/linux-6...############################ | 100% python-...1549 days ago
Install python pip and numpy on Linux / Ubuntu
jit@jit-HP-Pro-3335-MT:~/Downloads/MitoHunter$ sudo apt install python-pip Reading package lists......python-gdata python-keyczar python-secretstorage-doc python-setu...bionic-updates/main amd64 libpython2.7-dev amd64 2.7.17-1~18.04 [....com/ubuntu bionic/main amd64 python-keyrings.alt all 3.0-1 [16.7...1543 days ago
Install python-numpy python-scipy python-matplotlib on Ubuntu !
$MT:~/Downloads/chaos$ sudo apt-get install python-numpy python-scipy python-matplotlib Read...atplotlib-data python-olefile python-pil python-subprocess32 pytho...live-latex-extra ttf-staypuft python-numpy-dbg python-numpy-doc py.../ubuntu bionic/universe amd64 python-backports.functools-lru-cache...1534 days ago
1533 days ago
Commands to install conda in Ubuntu !
jit@jit-HP-Pro-3335-MT:~/Downloads$ mkdir jittmp jit@jit-HP-Pro-3335-MT:~...amal, etc.). pyopenssl A thin Python wrapper around (a subset of)...cryptography. cryptography A Python library which exposes cryptog...14.11-py37h7b6447c_0 ... installing: python-...1505 days ago
Python script to check sequence length in multifasta file
#!/usr/bin/python from Bio import SeqIO import sys cmdargs = str(sys.argv) for seq_record in SeqIO.parse(str(sys.argv[1]), "fasta"): output_line = '%s\t%i' % \ (seq_record.id, len(seq_record)) print(output_line)1209 days ago