# HG changeset patch # User lparsons # Date 1383600258 18000 # Node ID 65c91537862c99c484076fb4ed1266670ccb8585 # Parent 1615d0b5b809fcc0a59fe0d952836d00b4755f38 Updated to HTSeq 0.5.4p5, use tool shed repository dependencies diff -r 1615d0b5b809 -r 65c91537862c .hgignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Mon Nov 04 16:24:18 2013 -0500 @@ -0,0 +1,3 @@ +^package$ +syntax: glob +*.pyc diff -r 1615d0b5b809 -r 65c91537862c .hgtags --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgtags Mon Nov 04 16:24:18 2013 -0500 @@ -0,0 +1,3 @@ +142ec9462fa644cd29642ea0ad10e9889ce75619 0.3 +3e7b1e8a69f9d79b8de603f24e466deb7b192100 0.3.release2 +496a7dc0786f8367264520dfff6e8e8e744de3b2 0.3.1 diff -r 1615d0b5b809 -r 65c91537862c fabfile.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fabfile.py Mon Nov 04 16:24:18 2013 -0500 @@ -0,0 +1,26 @@ +from fabric.api import local +from fabric.operations import prompt +import os + + +def package(): + ''' + Pacakge for upload to toolshed + packaging 'test' version (default) uses local directory + otherwise, specify a mercurial tag to package + ''' + package_dir = 'package' + base_filename = os.path.join(package_dir, 'htseq-count') + version = prompt("Enter version number for package [test]:") + revision_option = '' + if version != '': + revision_option = '-r "%s"' % version + else: + version = 'test' + version_filename = '%s_%s.tar.gz' % (base_filename, version) + local('mkdir -p %s' % package_dir) + local('rm -f %s' % version_filename) + if version == 'test': + local('tar czvf %s --exclude "fabfile.*" --exclude "%s" --exclude ".hg*" *' % (version_filename, package_dir)) + else: + local('hg archive -t tgz %s -X "fabfile.*" -X "package" -X ".hg*" -p . "%s"' % (revision_option, version_filename)) diff -r 1615d0b5b809 -r 65c91537862c htseq-count.xml --- a/htseq-count.xml Fri Mar 22 13:40:24 2013 -0400 +++ b/htseq-count.xml Mon Nov 04 16:24:18 2013 -0500 @@ -1,10 +1,10 @@ - + - Count aligned reads in a BAM file that overlap features in a GFF file htseq-count -h | grep version | sed 's/^\(.*\)*\(version .*\)\./\2/' - numpy - htseq - samtools + numpy + htseq + samtools picard @@ -188,7 +188,7 @@ The following figure illustrates the effect of these three modes: -.. image:: ./static/images/count_modes.png +.. image:: $PATH_TO_IMAGES/count_modes.png :width: 500 diff -r 1615d0b5b809 -r 65c91537862c test-data/._htseq-test-paired_counts.tsv Binary file test-data/._htseq-test-paired_counts.tsv has changed diff -r 1615d0b5b809 -r 65c91537862c test-data/._htseq-test-paired_othercounts.tsv Binary file test-data/._htseq-test-paired_othercounts.tsv has changed diff -r 1615d0b5b809 -r 65c91537862c tool_dependencies.xml --- a/tool_dependencies.xml Fri Mar 22 13:40:24 2013 -0400 +++ b/tool_dependencies.xml Mon Nov 04 16:24:18 2013 -0500 @@ -1,31 +1,28 @@ - + + + + + + + + + + + + + + - http://pypi.python.org/packages/source/n/numpy/numpy-1.6.2.tar.gz - $INSTALL_DIR/lib/python - export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin - - $INSTALL_DIR/lib/python - $INSTALL_DIR/bin - - - - - - - - - - - https://pypi.python.org/packages/source/H/HTSeq/HTSeq-0.5.4p1.tar.gz + https://pypi.python.org/packages/source/H/HTSeq/HTSeq-0.5.4p5.tar.gz $INSTALL_DIR/lib/python $INSTALL_DIR/lib64/python export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python:$INSTALL_DIR/lib64/python && python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin - $INSTALL_DIR/lib/python:$INSTALL_DIR/lib64/python - $INSTALL_DIR/bin + $INSTALL_DIR/lib/python:$INSTALL_DIR/lib64/python + $INSTALL_DIR/bin @@ -34,44 +31,4 @@ - - - - http://sourceforge.net/projects/samtools/files/samtools/0.1.18/samtools-0.1.18.tar.bz2 - sed -i.bak -e 's/-lcurses/-lncurses/g' Makefile - make - - samtools - $INSTALL_DIR/bin - - - misc/maq2sam-long - $INSTALL_DIR/bin - - - $INSTALL_DIR/bin - - - - - Compiling SAMtools requires the ncurses and zlib development libraries. - - - - - - - http://downloads.sourceforge.net/project/picard/picard-tools/1.56/picard-tools-1.56.zip - - picard-tools-1.56 - $INSTALL_DIR/jars - - - $INSTALL_DIR/jars - - - - - -