Skip to content
Open
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
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
*.o
fastahack
fastahack
libfastahack.a
CMakeFiles
CMakeCache.txt
cmake_install.cmake
Makefile
21 changes: 21 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
cmake_minimum_required(VERSION 2.8)

add_library(fastahack
FastaHack.cpp
Fasta.cpp
split.cpp
disorder.c
)

add_executable(fastahack-bin
FastaHack.cpp
disorder.c
)

set_target_properties(fastahack-bin
PROPERTIES OUTPUT_NAME fastahack
)

target_link_libraries(fastahack-bin
fastahack
)
2 changes: 2 additions & 0 deletions FastaHack.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#include "Fasta.h"
#include <stdlib.h>
#include <getopt.h>
extern "C" {
#include "disorder.h"
}

void printSummary() {
cerr << "usage: fastahack [options] <fasta reference>" << endl
Expand Down
19 changes: 0 additions & 19 deletions Makefile

This file was deleted.

9 changes: 9 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ extraction without RAM-intensive file loading operations. This makes fastahack
a useful tool for bioinformaticists who need to quickly extract many
subsequences from a reference FASTA sequence.

Build:

Cmake is required to build this project. Issue the following commands from the
fastahack director:

% cmake .
% make



Notes:

Expand Down