Skip to content

Instantly share code, notes, and snippets.

View harijay's full-sized avatar

Hari Jayaram harijay

View GitHub Profile
@brantfaircloth
brantfaircloth / fastq_split.py
Last active March 11, 2020 14:54
split (gzipped) fastq files to temp files quickly in python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
(c) 2014 Brant Faircloth || http://faircloth-lab.org/
All rights reserved.
This code is distributed under a 3-clause BSD license. Please see
LICENSE.txt for more information.
@creaktive
creaktive / tinyp2p-annotated.py
Last active February 13, 2019 11:18
tinyp2p.py 1.0 (documentation at http://freedom-to-tinker.com/tinyp2p.html)
# tinyp2p.py 1.0 (documentation at http://freedom-to-tinker.com/tinyp2p.html)
# (C) 2004, E.W. Felten
# license: http://creativecommons.org/licenses/by-nc-sa/2.0
# Annotated by Kochin Chang, Jan. 2005
# Usage:
# Server - python tinyp2p.py password server hostname portnum [otherurl]