# HG changeset patch # User Lance Parsons # Date 1347312610 14400 # Node ID f7a5b54a8d4f84c199fc1fc1fd1eb86f9bbc4ed6 # Parent f5d08224af89bfbe0b6dc7ce190a74f55eab890b Split feature and non-feature counts, removed tool_dependencies.xml (for now) diff -r f5d08224af89 -r f7a5b54a8d4f htseq-count.xml --- a/htseq-count.xml Tue Sep 04 14:16:33 2012 -0400 +++ b/htseq-count.xml Mon Sep 10 17:30:10 2012 -0400 @@ -1,4 +1,4 @@ - + - Count aligned reads in a BAM file that overlap features in a GFF file htseq-count -h | grep version | sed 's/^\(.*\)*\(version .*\)\./\2/' @@ -35,7 +35,7 @@ $samfile #end if $gfffile - > $counts + | awk '{if ($1 ~ "no_feature|ambiguous|too_low_aQual|not_aligned|alignment_not_unique") print $0 | "cat 1>&2"; else print $0}' > $counts 2>$othercounts #if $samout_conditional.samout: && samtools view -Su -t ${reference_fasta_filename}.fai $__new_file_path__/${samoutfile.id}_tmp | samtools sort -o - sorted > $samoutfile #end if @@ -93,6 +93,7 @@ + samout_conditional['samout'] @@ -108,12 +109,14 @@ + + diff -r f5d08224af89 -r f7a5b54a8d4f test-data/htseq-test_counts.tsv --- a/test-data/htseq-test_counts.tsv Tue Sep 04 14:16:33 2012 -0400 +++ b/test-data/htseq-test_counts.tsv Mon Sep 10 17:30:10 2012 -0400 @@ -7122,8 +7122,3 @@ tY(GUA)M2 0 tY(GUA)O 0 tY(GUA)Q 0 -no_feature 1437 -ambiguous 67 -too_low_aQual 0 -not_aligned 1336 -alignment_not_unique 0 diff -r f5d08224af89 -r f7a5b54a8d4f test-data/htseq-test_othercounts.tsv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/htseq-test_othercounts.tsv Mon Sep 10 17:30:10 2012 -0400 @@ -0,0 +1,5 @@ +no_feature 1437 +ambiguous 67 +too_low_aQual 0 +not_aligned 1336 +alignment_not_unique 0 diff -r f5d08224af89 -r f7a5b54a8d4f tool_dependencies.xml --- a/tool_dependencies.xml Tue Sep 04 14:16:33 2012 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,45 +0,0 @@ - - - - - - http://pypi.python.org/packages/source/H/HTSeq/HTSeq-0.5.3p9.tar.gz - mkdir -p $INSTALL_DIR/lib/python - - $INSTALL_DIR/lib/python - - export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && python setup.py build - export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin - - $INSTALL_DIR/bin - - - - - Installation of HTSeq requires Python 2.5+ (does not yet work with Python 3), and the Nympy Python package. - - - - - - 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. - - -