Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add draft of clustering functionality; restructure directory layout to be inline with nimble recommendations; add .nimble file #1

Merged
merged 14 commits into from
Nov 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,22 @@
!*/

# Whitelist gitignore, scripts, and figures
!.gitmodules
!.gitignore
!CONDUIT.png
!**.py
!**.R
!**.bsh
!**.nim
!**.nims
!**.nimble
!**.md
!**.c
!**.h
!**.rst
!**.html
!Makefile
!poaV2/Makefile
!LICENSE
!poaV2/Makefile
!poaV2/LICENSE
!poaV2/myNUC3.4.4.mat
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "threadpools"]
path = src/threadpools
url = https://github.com/yglukhov/threadpools.git
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
NIM = nim c

conduit:
cd poaV2 && make
$(NIM) -d:release --threads:on --passL:poaV2/liblpo.a --passL:poaV2/align_score.o conduit.nim
$(NIM) -d:release conduitUtils.nim
cd src/poaV2 && make
mkdir bin/
cd src/ && $(NIM) -d:release --threads:on --passL:poaV2/liblpo.a --passL:poaV2/align_score.o conduit.nim && mv src/conduit bin/
cd src/ && $(NIM) -d:release conduitUtils.nim && mv src/conduitUtils bin/

19 changes: 19 additions & 0 deletions conduit.nimble
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Package

version = "0.1.0"
author = "Nathan Roach"
description = "De novo transcriptome assembler"
license = "GPLv2"

# Dependencies

requires "hts >= 0.3.1", "nim >= 1.0.0"

srcDir = "src/"

before install:
echo "Building poaV2"
withDir "src/poaV2":
exec "make"

bin = @["conduit", "conduitUtils", "conduit_clustering"]
311 changes: 15 additions & 296 deletions conduit.nim → src/conduit.nim

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/conduit.nims
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
switch("threads", "on")
switch("passL","src/poaV2/liblpo.a")
switch("passL","src/poaV2/align_score.o")
Loading