Skip to content

Instantly share code, notes, and snippets.

View mfcovington's full-sized avatar

Mike Covington mfcovington

View GitHub Profile
@mfcovington
mfcovington / iPlantDataStoreTutorial.markdown
Created March 27, 2012 22:27
iPlant Data Store Tutorial

(currently in progress)

#iPlant Data Store Tutorial

There are multiple ways to access files and directories on the iPlant Data Store (aka iRODS[1]). Here we will cover three methods, each with their pros and cons.

  1. Browser-based Access --- User-friendly, but low throughput and 2GB upload limit
  2. iCommands --- High throughput with maximum user control, but must be comfortable with the Command-Line Interface
  3. iDrop --- High throughput and ability to schedule periodic transfers, but iDrop is in beta release and may have bugs
@mfcovington
mfcovington / MasterSNP_format.tsv
Created March 28, 2012 00:35
Master SNP List format
We can make this file beautiful and searchable if this error is corrected: No tabs found in this TSV file in line 0.
chr pos ref_base snp_base genotype insert_position SNP_CLASS
SL2.40ch00 16576 T C PEN NA SNP
SL2.40ch00 16757 A G PEN NA SNP
SL2.40ch00 16759 A C PEN NA SNP
SL2.40ch00 16806 T C PEN NA SNP
SL2.40ch00 17034 C G PEN NA SNP
SL2.40ch00 17136 G A PEN NA SNP
SL2.40ch00 17140 C A PEN NA SNP
SL2.40ch00 17595 A C PEN NA SNP
SL2.40ch00 17622 A G PEN NA SNP

#Bitbucket Tutorial for UCD PlantBio Perl Club

###What is Bitbucket?

Like [github][github], [bitbucket][bitbucket] is a web-based bosting service for git repositories (bitbucket hosts Mercurial repositories, too). As a research group at a university, a very attractive feature of bitbucket is that accounts created with an email address from an educational institution are automagically upgraded to unlimited private respositories and private collaborators. Only paid github accounts have access to privacy.

###Goal of this Tutorial

  • Create an empty git repository on bitbucket
  • Make a local clone of the repository and add some content
#!/usr/bin/env perl
# fasta_flattener.pl
# Mike Covington
# created: 2012-06-14
#
# Description: flatten a FASTA file by removing white space
#
use strict;
use warnings;
use Bio::SeqIO;
@mfcovington
mfcovington / SHOREmap.log.mdown
Created July 27, 2012 21:18
SHORE and SHOREmap
@mfcovington
mfcovington / gist:3966924
Created October 27, 2012 23:57 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@mfcovington
mfcovington / Github-style Markdown for Notesy app
Created October 30, 2012 19:46
Github-style Markdown for Notesy app
<!-- Paste into Settings/Markdown/MarkdownHeader in Notesy for Github-style Markdown -->
<!--
<link rel="stylesheet" type="text/css" href="css/foo.css"/>
-->
<style type="text/css">
<!--
/*
@mfcovington
mfcovington / gist:3983783
Created October 30, 2012 23:28
Testing Markdown on github

##Definitions lists don't work:

Term : Definition

Apple : Pomaceous fruit of plants of the genus Malus. : An american computer company.

Term 1

@mfcovington
mfcovington / filter_blast_rm_chimeras.pl
Created November 27, 2012 21:25
Perl script to filter BLAST results to separate queries that hit multiple distinct regions from those that hit a single region
#!/usr/bin/env perl
# filter_blast_rm_chimeras.pl
# Mike Covington
# created: 2012-11-26
#
# Description: filter BLAST results to separate queries that hit
# multiple distinct regions from those that hit a single region
#
use strict;
use warnings;
@mfcovington
mfcovington / custom.css
Created December 4, 2012 01:40
nvALT settings
html,
body {
color: black;
}
* {
margin: 0;
padding: 0;
}