Skip to content

Instantly share code, notes, and snippets.

@fpopic
Last active January 16, 2017 09:02
Show Gist options
  • Select an option

  • Save fpopic/d3c21196edeea4bb0b963de0a51d4b4e to your computer and use it in GitHub Desktop.

Select an option

Save fpopic/d3c21196edeea4bb0b963de0a51d4b4e to your computer and use it in GitHub Desktop.
cmake --build cmake-build-debug --target debruijn.exe -- -j 4
cmake --build cmake-build-debug --target debruijn_tests.exe -- -j 4
// pokretanje ogirinalne
./a1.x input.fa izlaz kfile.txt
// pokretanje aplikacije
./debruijn.exe test/res/input/ecoli_1x1e6.fasta test/res/input/10.k A1 test/res/output/ecoli_1x1e6
//pokretanje njihovog
./test/res/exe/a1.x test/res/input/ecoli_1x1e6.fasta test/res/input/10.k test/res/output/ecoli_1x1e6
// pokretanje unit testova
#svi
./debruijn_tests.exe --gtest_filter=*
#A1
./debruijn_tests.exe --gtest_filter=a1*
#A2
./debruijn_tests.exe --gtest_filter=a2*
//sampling fasta
head -c 1000000 ecoli_reads.fasta > my_ecoli.fasta
sed -n '10000000,10000020p; 10000021q' filename > output.txt
//wgsim
bash ./create_wgsim_tests.sh /home/fpopic/wgsim/ecoli_reads_246MB.fasta /home/fpopic/wgsim/out
sudo ./cgmemtime ./debruijn.exe test/res/input/ecoli_1x1e6.fasta test/res/input/10.k A1 test/res/output/ecoli_1x1e6
Child user: 1.736 s
Child sys : 1.168 s
Child wall: 2.915 s
Child high-water RSS : 116564 KiB
sudo ./cgmemtime ./test/res/exe/a1.x test/res/input/ecoli_1x1e6.fasta test/res/input/10.k test/res/output/ecoli_1x1e6
Child user: 0.096 s
Child sys : 0.008 s
Child wall: 0.126 s
Child high-water RSS : 8328 KiB
g++ dodaj -g -pg -Q
pokrenes
gprof ./debruijn.exe | less > results.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment