Skip to content

Instantly share code, notes, and snippets.

View AswinSSoman's full-sized avatar
🎯
Focusing

Aswin S Soman AswinSSoman

🎯
Focusing
View GitHub Profile
@AswinSSoman
AswinSSoman / Variant Calling Lambda phage.md
Last active September 5, 2019 11:44
BWA allignment of Lambda phage genome

1. Install Samtools

  • Samtools is a suite of programs for interacting with high-throughput sequencing data.

  • Download samtools-1.9, bcftools-1.9, htslib-1.9 from htslib.org

  • First install htslib-1.9

  • Unzip & go inside htslib folder in terminal and type the following.

    ./configure
     make
     sudo make install
    
@AswinSSoman
AswinSSoman / Mapping Lambda phage.md
Last active September 5, 2019 11:44
Calling Variants from Nanopore sequencing of Lambda phage, alligned with BWA/GraphMap.

1. Install BWA From Github

  • git clone bwa repository from github/lh3
  • Go inside downloaded bwa folder: cd bwa
  • Recompile the pieces of the program using command: make

2. Download Lambda phage reference genome from ncbi

  • 2.1 Manual downloading
    • Search lambda phage in Genome database.
    • Click on Genome Assembly and Annotation report.
  • Click on NC_001416.1 on segments.

Basics of Linux

This guide is designed to help new users understand the more important aspects of Linux. It is not meant to be an exhaustive tutorial, but rather a primer.


Introduction

Linux (or GNU/Linux) isn't one singular operating system as many people believe it to be, but rather a broader term for a large number of operating systems built using the Linux kernel. These different operating systems are referred to as distributions or "distros". Different Linux distributions use the same mostly the same software but are packaged and setup differently. Many, if not most, distros are based of off other more popular distros. The major differences that the average user notices are in what desktop environment the distro uses, and how/where software is managed and installed from.

@AswinSSoman
AswinSSoman / terminal.md
Last active September 6, 2019 06:23
Linux terminal commands #terminal #linux

FILES

mkdir - create directory

touch 1.txt - create file

touch {1,2,3}.txt - create 1.txt 2.txt and 3.txt

rm - remove file or dir

@AswinSSoman
AswinSSoman / How to use images in Markdown file.md
Last active May 29, 2023 13:19
Scripts of how to add, align, resize, and modify images in agithub markdown file.

1. To put an image from internet link.

1.1 To just place an image (with native resolution).

Use this command :

![Infinity War](https://i.redd.it/4y4m7jl5yfbz.jpg)

Infinity Wars

 

- Headers

# This is an <h1> tag         
## This is an <h2> tag        
###### This is an <h6> tag     

- Emphasis

Objective - To analyze how the detection of relaxed selection of CYP8B1 gene by RELAX is affected by the following :

  • number of gaps
  • length of gaps
  • number of species

Steps - MSA's and Tree Building

  • 1. Select the order and number of species to be used.
@AswinSSoman
AswinSSoman / synteny_to_psl.pl
Created July 15, 2021 22:05 — forked from andrewyatz/synteny_to_psl.pl
A script for extracting synteny regions from Ensembl & Ensembl Genomes databases into PSL (UCSC/Blat alignment report format).
#!/bin/env perl
use strict;
use warnings;
use Getopt::Long;
use Pod::Usage;
use Bio::EnsEMBL::Registry;
use Bio::EnsEMBL::Utils::Scalar qw(wrap_array);
use IO::String;
@AswinSSoman
AswinSSoman / install-samtools-bcftools-and-htslib.md
Created October 15, 2021 12:06 — forked from adefelicibus/install-samtools-bcftools-and-htslib.md
Install samtools, bcftools and htslib on linux

Install Samtools, BCFTools and htslib on linux

Install some build dependencies

sudo apt-get install autoconf automake make gcc perl zlib1g-dev libbz2-dev liblzma-dev libcurl4-gnutls-dev libssl-dev libncurses5-dev

[samtools]