-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace AEMB parser with generic TSV parser
In issue 355, a user requested to bring back the --jgi option, suc that users can pass in precomputed abundances. That's completely reasonable, and it's not great that the currently recommended way is to use the internal Python types to create an Abundance object. Instead of bringing back the JGI parser, I made a more generic TSV parser. TSV is a simple, straightforward format also used elsewhere in Vamb. Also, since it's easy to convert the output from --aemb to TSV format, I removed the --aemb option.
- Loading branch information
1 parent
bb2388d
commit 9810ef0
Showing
5 changed files
with
146 additions
and
138 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import unittest | ||
|
||
# Invariants: | ||
# It produces disjoint clusters, a subset of the input points | ||
|
||
# For CAMI dataset, compute comp, abundance, taxonomy, markers | ||
# Subset to e.g. 5 genera plus a few unclassified contigs | ||
|
||
# FASTA | ||
# Comp | ||
# Abundance | ||
# Markers | ||
# Taxonomy | ||
# Latent | ||
# Refined taxonomy | ||
|
||
|
||
class TestKmeansReclustering(unittest.TestCase): | ||
pass | ||
# Make markers + lengths | ||
# Make taxonomy | ||
# Create latent | ||
|
||
# Initial clustering |
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
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