Skip to content

Commit

Permalink
bump version and update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
genomematt committed May 26, 2015
1 parent 4fa3b23 commit 874c3ac
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
Xenomapper
==========

Xenomapper is a utility for post processing Bowtie2 (Langmead, 2012) mapped reads that have been aligned to a primary genome and a secondary genome and binning reads into species specific, multimapping in each species, unmapped and unassigned bins. It can be used on single end or paired end sequencing data. In paired end data evidence of sequence specificity for either read will be used to assign both reads.
Xenomapper is a utility for post processing mapped reads that have been aligned to a primary genome and a secondary genome and binning reads into species specific, multimapping in each species, unmapped and unassigned bins. It can be used on single end or paired end sequencing data. In paired end data evidence of sequence specificity for either read will be used to assign both reads.

Use cases include xenografts of human cancers in mouse and host pathogen interactions.
Use cases include xenografts of human cancers and host pathogen interactions.

Xenomapper is most effective with mapped reads that include an XS or ZS score that gives the mapping score of the next best read. These include Bowtie2 (Langmead, 2012) and HISAT (Kim, 2015).

![Schematic of Xenomapper Use](/schematic.jpg "Schematic of Xenomapper Use")

Expand Down Expand Up @@ -149,4 +151,5 @@ Currently Xenomapper is unpublished, but this repository does have a DOI identif
References
=================
Langmead B, Salzberg S. Fast gapped-read alignment with Bowtie 2. Nature Methods. 2012, 9:357-359. http://bowtie-bio.sourceforge.net/bowtie2/
Kim D, Langmead B, Salzberg SL. HISAT: a fast spliced aligner with low memory requirements. Nat Methods. 2015 12:357-60. https://github.com/infphilo/hisat

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name='XenoMapper',
version='1.0b5',
version='1.0b6',
author='Matthew Wakefield',
author_email='matthew.wakefield@unimelb.edu.au',
packages=['xenomapper'],
Expand Down
2 changes: 1 addition & 1 deletion xenomapper/mappability.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
__copyright__ = "Copyright 2011-2015 Matthew Wakefield, The Walter and Eliza Hall Institute and The University of Melbourne"
__credits__ = ["Matthew Wakefield",]
__license__ = "GPL"
__version__ = "1.0b5"
__version__ = "1.0b6"
__maintainer__ = "Matthew Wakefield"
__email__ = "wakefield@wehi.edu.au"
__status__ = "Development"
Expand Down
2 changes: 1 addition & 1 deletion xenomapper/tests/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
__copyright__ = "Copyright 2011-2015 Matthew Wakefield, The Walter and Eliza Hall Institute and The University of Melbourne"
__credits__ = ["Matthew Wakefield",]
__license__ = "GPL"
__version__ = "1.0b5"
__version__ = "1.0b6"
__maintainer__ = "Matthew Wakefield"
__email__ = "wakefield@wehi.edu.au"
__status__ = "Beta"
Expand Down
2 changes: 1 addition & 1 deletion xenomapper/tests/test_mappability.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
__copyright__ = "Copyright 2011-2015 Matthew Wakefield, The Walter and Eliza Hall Institute and The University of Melbourne"
__credits__ = ["Matthew Wakefield",]
__license__ = "GPL"
__version__ = "1.0b5"
__version__ = "1.0b6"
__maintainer__ = "Matthew Wakefield"
__email__ = "wakefield@wehi.edu.au"
__status__ = "Beta"
Expand Down
8 changes: 4 additions & 4 deletions xenomapper/tests/test_xenomapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
__copyright__ = "Copyright 2011-2015 Matthew Wakefield, The Walter and Eliza Hall Institute and The University of Melbourne"
__credits__ = ["Matthew Wakefield",]
__license__ = "GPL"
__version__ = "1.0b5"
__version__ = "1.0b6"
__maintainer__ = "Matthew Wakefield"
__email__ = "wakefield@wehi.edu.au"
__status__ = "Beta"
Expand Down Expand Up @@ -90,7 +90,7 @@ def test_consistent_output_SE(self):
len(test_unassigned_outfile.getvalue().split('\n'))-4) #26 lines of header in this file
self.assertEqual(cat_counts['unassigned'],
len(test_unassigned_outfile.getvalue().split('\n'))-4) #26 lines of header in this file
self.assertEqual(hashlib.sha224(test_primary_specific_outfile.getvalue().encode('latin-1')).hexdigest(),'d7a2c44cbc214695785bb97a7d32ba6084b0eeb6dd3a40ea43fc2222')
self.assertEqual(hashlib.sha224(test_primary_specific_outfile.getvalue().encode('latin-1')).hexdigest(),'a94856a8b209c8293d2bb145f5dfa2b121d8f10964239e32f6427089')
sam1.close()
sam2.close()
pass
Expand Down Expand Up @@ -122,7 +122,7 @@ def test_consistent_output_PE(self):
self.assertEqual(sum([cat_counts[x] for x in cat_counts if 'secondary_multi' in x \
and not 'primary_multi' in x and not 'primary_specific' in x and not 'secondary_specific' in x])*2,
len(test_secondary_multi_outfile.getvalue().split('\n'))-1)
self.assertEqual(hashlib.sha224(test_primary_specific_outfile.getvalue().encode('latin-1')).hexdigest(),'0c87f4386eeb8ef3b26114d189b83c4b736402ef43015d4c0d55fbd0')
self.assertEqual(hashlib.sha224(test_primary_specific_outfile.getvalue().encode('latin-1')).hexdigest(),'57058b293da8b3b888f6ac12f0180518004df03191d8d5d2ede74f04')
sam1.close()
sam2.close()
pass
Expand Down Expand Up @@ -155,7 +155,7 @@ def test_consistent_output_conservative_PE(self):
len(test_secondary_specific_outfile.getvalue().split('\n'))-27) #26 lines of header in this file
self.assertEqual(cat_counts[('unassigned', 'unassigned')]*2, len(test_unassigned_outfile.getvalue().split('\n'))-1)

self.assertEqual(hashlib.sha224(test_primary_specific_outfile.getvalue().encode('latin-1')).hexdigest(),'3ca24f0a3f8f2ce64e94089f20d2a976d38369d448d4e43ec1d329a7')
self.assertEqual(hashlib.sha224(test_primary_specific_outfile.getvalue().encode('latin-1')).hexdigest(),'aa959a5d9f8dae5afc6dc02b63a4b354e4935630ce19248bd627de82')
sam1.close()
sam2.close()
pass
Expand Down
2 changes: 1 addition & 1 deletion xenomapper/xenomapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
__copyright__ = "Copyright 2011-2015 Matthew Wakefield, The Walter and Eliza Hall Institute and The University of Melbourne"
__credits__ = ["Matthew Wakefield",]
__license__ = "GPL"
__version__ = "1.0b5"
__version__ = "1.0b6"
__maintainer__ = "Matthew Wakefield"
__email__ = "wakefield@wehi.edu.au"
__status__ = "Beta"
Expand Down

0 comments on commit 874c3ac

Please sign in to comment.