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 / For Mac 4.2.6 unlimited trial.md
Created January 17, 2023 15:26 — forked from rise-worlds/For Mac 4.2.6 unlimited trial.md
Beyond Compare 4 license for Windows, Mac, Linux

for 4.2.4 or higher,4.2.5,4.2.6,4.3.7,it's works , this is the way which makes Always in evaluation mode 。

  1. open Terminal, go to the dir : cd /Applications/Beyond Compare.app/Contents/MacOS
  2. change the name BCompare to BCompare.bak: mv BCompare BCompare.bak
  3. touch a file name BCompare , and chmod a+u BCompare : touch BCompare && chmod a+u BCompare
  4. open BCompare with text editor, insert the script :
#!/bin/bash
rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat"
"`dirname "$0"`"/BCompare.bak $@
#!/usr/bin/env perl
=head1 NAME
bam2circos.pl - Convert BAM file to Circos plot
=head1 SYNOPSIS
bam2circos.pl [optional] -b FILE
@AswinSSoman
AswinSSoman / treefam_gene_losses.pl
Created November 10, 2022 06:42 — forked from avrilcoghlan/treefam_gene_losses.pl
Perl script to identify gene losses in human since divergence from chimp, based on TreeFam trees
#!/usr/local/bin/perl
#
# Perl script treefam_genelosses.pl
# Written by Avril Coghlan (alc@sanger.ac.uk).
# 28-Aug-06.
#
# For the TreeFam project.
#
# This perl script connects to the MYSQL database of
@AswinSSoman
AswinSSoman / OM_blast_mapping.sh
Created October 14, 2022 12:15
Mapping Optical maps to reference taken from other public scripts
# Put all genomes' subset contigs into one map file (combined.cmap below)
# this naively uses results dir for all cmaps
# e.g., results/11029A_initial_genome_check/430_subset_103488556_104544470_final.cmap
# also requires RefAligner in root dir
find ./results/ -name "*_final.cmap" > input
rm -f combined.cmap; rm -f combined.idmap
./RefAligner -merge -if input -o combined
rm -f input
@AswinSSoman
AswinSSoman / igv_test_bat.md
Last active April 13, 2022 14:22 — forked from stevekm/igv_test_bat.md
Sample Batch Script for IGV Snapshots
@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]

@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;

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.

- Headers

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

- Emphasis