Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" | |
" Installation: | |
" 1. Set up vundle for vim (https://github.com/VundleVim/Vundle.vim): | |
" $ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim | |
" 2. Download this `.vimrc` file and save it in your home folder. | |
" 3. Launch vim in your console and run :PluginInstall. | |
" | |
set nocompatible | |
syntax on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create fasta file from gff with fasta blocks using bedtools | |
# see rationale at the end | |
gffFile=$1; | |
tmpid=tmp_${$} | |
# make tmp dir | |
mkdir $tmpid | |
echo entering to tempdir: >&2 | |
cd $tmpid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
=head1 [progam_name] | |
description: | |
- converts tped files to hapmap files. | |
=head2 usage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Bio::EnsEMBL::Registry; | |
Bio::EnsEMBL::Registry->load_registry_from_db( | |
-HOST => 'ensembldb.ensembl.org', | |
-PORT => 5306, | |
-USER => 'anonymous', | |
-VERBOSE => 0, | |
-DB_VERSION => 64 | |
); | |
my $dba = Bio::EnsEMBL::Registry->get_DBAdaptor('human', 'core'); |