1224 days ago
Set up WGD environment using conda !
#Wgd cannot be installed directly with bioconda at present, so it is slightly troublesome to install, because it #depends on a lot of software. wgd depends on the following...1224 days ago
Command to create conda environment !
# using pip pip install -r requirements.txt # using Conda conda create --name --file requirements.txt #Using yaml conda env create -f environment.yml #Listing env conda env list #Create env with python36 conda create -n myenv python=3.61220 days ago
Install grabseqs using conda !
vik@vik-Lenovo-ideapad-320-15ISK:~/Downloads/setu/setu$ conda install grabseqs -c louiejtaylor -c bioconda -c conda-forge Collecting package metadata (current_repodata.json): done Solving environment: done ==> WARNING: A newer version of conda exists.1075 days ago
Print in terminal with python !
#!/usr/bin/env python import time import curses def pbar(window): height, width = window.getmaxyx() for i in range(10): window.addstr(height -1, 0, "[" + ("=" * i) + ">" + (" " * (10 - i )) + "]") window.refresh() time.sleep(0.5) curses.wrapper(pbar)999 days ago
Python script to read FASTA and FASTQ file !
# !/usr/bin/env python3 # -*- coding: utf-8 -*- from pysam import FastxFile def read_fasta_q_file(fasta_q_file): """Parse FASTA/Q file using `pysam.Fastx...997 days ago
982 days ago
Installing Covid19 Environment !
(base) vikas@vikas-Lenovo-ideapad-320-15ISK:~/vinodLab/Genepi$ conda env create -f covid19-environment.yml Collecting package metadata (repodata.json): done Solving enviro...944 days ago
845 days ago
Python script to convert Multi-line Fasta to Single-line Fasta
def multi_to_single_line_fasta(input_filename, output_filename): try: with open(input_filename, 'r') as input_file: with open(output_filename, 'w'...116 days ago