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
# icaoberg - this example is fork that uses a bedtools in a Singularity container | |
CONTAINER=../../singularity-bedtools.simg | |
echo "chr1 10 50 10" > a.bed | |
echo "chr1 20 40 20" > b.bed | |
echo "chr1 30 33 30" > c.bed | |
# Find the sub-intervals shared and unique to each file. | |
if [ -f $CONTAINER ]; then | |
singularity run --app bedtools $CONTAINER multiinter -i a.bed b.bed c.bed | column -t |
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
*.txt | |
*.bedg |
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 python | |
import bz2 | |
import datetime | |
import os | |
import sys | |
import time | |
import urllib2 | |
import warnings |