-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* resolved speckliness with a new alt plot, its not yet the default, but it works, can be run with --alt_plot flag * fixing #153 - suprise suprise, smudgeplot package already has a function for weighted quantiles :-) * keeping track of all the testing and proof of concept functions, most notably, local agregation for the alt plot * quantile filtering is now applied after coverage filter * adding the first draft of peak fitting using centrality * adding code for popart plot * added peak agregation algorithm in the main smudgeplot source code * adding python funciton that generates the smudge container given coverges * the new version is nearly working the only missing bit is the smudgeplot itself * the over-very-lnog time playiung around stuff * histogramless, but working version of smudgeplot ORIEL * updating readme with the new imlpemenation * giant cleanup - removing the R package and simplifying the installation * fixing / simplifying installation instructions * streamlining interface and allowing for plotting parameters to be passed to all subprocess * making title work * fixing interface problem to call hetmer module; adding kmer numbers to the log; adding exploration of 1/2 of the final coverage, but it still does not solve the problem of autotetraploids * adding parametrised coverage range to explore * adding error filtering step that stops inference of coverage for datasets with very high proportion of errors (>0.8) * adding small explorations on alternative centralities * making fix * small fixes
- Loading branch information
1 parent
f12ec1e
commit 6c1e48d
Showing
85 changed files
with
1,298 additions
and
2,893 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,7 @@ figures | |
playground | ||
docs | ||
exec/PloidyPlot | ||
exec/hetmers | ||
*.o | ||
.DS_Store | ||
smu2text_smu |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,30 +1,23 @@ | ||
# PATH for libraries is guessed | ||
RPACKAGE = smudgeplot | ||
$(eval RPATH := $(shell Rscript -e "noquote(.libPaths())" | tail -1 | cut -f 2 -d ' ')) | ||
CFLAGS = -O3 -Wall -Wextra -Wno-unused-result -fno-strict-aliasing | ||
|
||
ifndef INSTALL_PREFIX | ||
INSTALL_PREFIX = /usr/local | ||
endif | ||
|
||
R_INSTALLATION = $(RPATH)/$(RPACKAGE) | ||
HET_KMERS_INST = $(INSTALL_PREFIX)/bin/smudgeplot.py $(INSTALL_PREFIX)/bin/PloidyPlot | ||
SMUDGEPLOT_INST = $(INSTALL_PREFIX)/bin/smudgeplot_plot.R | ||
HET_KMERS_INST = $(INSTALL_PREFIX)/bin/smudgeplot.py $(INSTALL_PREFIX)/bin/hetmers | ||
SMUDGEPLOT_INST = $(INSTALL_PREFIX)/bin/smudgeplot_plot.R $(INSTALL_PREFIX)/bin/centrality_plot.R | ||
|
||
.PHONY : install | ||
install : $(HET_KMERS_INST) $(SMUDGEPLOT_INST) $(CUTOFF_INST) $(R_INSTALLATION) | ||
# - removing the R package from the list | ||
install : $(HET_KMERS_INST) $(SMUDGEPLOT_INST) $(CUTOFF_INST) | ||
|
||
$(INSTALL_PREFIX)/bin/% : exec/% | ||
install -C $< $(INSTALL_PREFIX)/bin | ||
|
||
$(R_INSTALLATION) : R/* | ||
Rscript install.R | ||
|
||
exec/PloidyPlot: src_ploidyplot/PloidyPlot.c src_ploidyplot/libfastk.c src_ploidyplot/libfastk.h src_ploidyplot/matrix.c src_ploidyplot/matrix.h | ||
exec/hetmers: src_ploidyplot/PloidyPlot.c src_ploidyplot/libfastk.c src_ploidyplot/libfastk.h src_ploidyplot/matrix.c src_ploidyplot/matrix.h | ||
gcc $(CFLAGS) -o $@ src_ploidyplot/PloidyPlot.c src_ploidyplot/libfastk.c src_ploidyplot/matrix.c -lpthread -lm | ||
|
||
|
||
.PHONY : clean | ||
clean : | ||
rm -f exec/PloidyPlot | ||
rm -f exec/hetmers |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.