Skip to content

Commit

Permalink
Merge pull request #1 from NatPRoach/clustering
Browse files Browse the repository at this point in the history
Add draft of clustering functionality; restructure directory layout to be inline with nimble recommendations; add .nimble file
  • Loading branch information
NatPRoach authored Nov 21, 2020
2 parents 5211595 + a0296eb commit 8f4d6c6
Show file tree
Hide file tree
Showing 42 changed files with 1,181 additions and 1,174 deletions.
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

0 comments on commit 8f4d6c6

Please sign in to comment.