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
var fs = require('fs'); | |
var filename = "/tmp/test"; | |
exports.handler = function(event, context) { | |
fs.writeFile(filename, JSON.stringify(context), function(err) { | |
if(err) { | |
return console.log(err); | |
} | |
fs.readFile(filename, function(err, data) { |
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
1| 433 (2.56%) ----------------------------------------------------- | |
2| 132 (0.78%) ---------------- | |
3| 149 (0.88%) ------------------- | |
4| 134 (0.79%) ----------------- | |
5| 128 (0.76%) ---------------- | |
6| 140 (0.83%) ----------------- | |
7| 124 (0.73%) --------------- | |
8| 121 (0.72%) --------------- | |
10| 149 (0.88%) ------------------- | |
11| 139 (0.82%) ----------------- |
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
1|1057 (6.26%) ---------------------------------------------------------------------------------------------------------------------------------------- | |
2| 147 (0.87%) ------------------- | |
3| 138 (0.82%) ------------------ | |
4| 124 (0.73%) ---------------- | |
5| 138 (0.82%) ------------------ | |
6| 100 (0.59%) ------------- | |
7| 115 (0.68%) --------------- | |
8| 122 (0.72%) ---------------- | |
9| 155 (0.92%) -------------------- | |
10| 170 (1.01%) ---------------------- |
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
[0m 1|[32m1057 [35m(6.26%) [34m----------------------------------------------------------------------------------------------------------------------------------------[0m | |
[0m 2|[32m 147 [35m(0.87%) [34m-------------------[0m | |
[0m 3|[32m 138 [35m(0.82%) [34m------------------[0m | |
[0m 4|[32m 124 [35m(0.73%) [34m----------------[0m | |
[0m 5|[32m 138 [35m(0.82%) [34m------------------[0m | |
[0m 6|[32m 100 [35m(0.59%) [34m-------------[0m | |
[0m 7|[32m 115 [35m(0.68%) [34m---------------[0m | |
[0m 8|[32m 122 [35m(0.72%) [34m----------------[0m | |
[0m 9|[32m 155 [35m(0.92%) [34m--------------------[0m | |
[0m10|[32m 170 [35m(1.01%) [34m----------------------[0m |
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
/Users/mario/bioinf/nmeth/../reference/escherichia_coli_NCBI.fa /Users/mario/bioinf/nmeth/contigs_fast.fasta | |
NUCMER | |
[REF] [QRY] | |
[Sequences] | |
TotalSeqs 1 1 | |
AlignedSeqs 1(100.00%) 1(100.00%) | |
UnalignedSeqs 0(0.00%) 0(0.00%) | |
[Bases] |
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
mkdir -p obj_test/src/alignment/ | |
g++-4.8 -static-libgcc -static-libstdc++ -D__cplusplus=201103L -I"./src/" -I"/usr/include/" -I"libs/libdivsufsort-2.0.1/build/include" -I"libs/seqan-library-1.4.2/include" -O3 -fdata-sections -ffunction-sections -c -fmessage-length=0 -ffreestanding -fopenmp -m64 -std=c++11 -Werror=return-type -Wuninitialized -pthread -march=native -o obj_test/src/alignment/opal.o src/alignment/opal.cpp | |
/var/folders/1v/mxp10j955jzc7s812dt7l9f80000gn/T//cc6Iljv3.s:156:no such instruction: `vpxor %xmm12, %xmm12,%xmm12' | |
/var/folders/1v/mxp10j955jzc7s812dt7l9f80000gn/T//cc6Iljv3.s:158:no such instruction: `vmovd %eax, %xmm0' | |
/var/folders/1v/mxp10j955jzc7s812dt7l9f80000gn/T//cc6Iljv3.s:162:no such instruction: `vpshufb %xmm12, %xmm0,%xmm12' | |
/var/folders/1v/mxp10j955jzc7s812dt7l9f80000gn/T//cc6Iljv3.s:206:no such instruction: `vpxor %xmm0, %xmm0,%xmm0' | |
/var/folders/1v/mxp10j955jzc7s812dt7l9f80000gn/T//cc6Iljv3.s:212:no such instruction: `vmovd %r14d, %xmm1' | |
/var/folders/1v/mxp10j955jzc7s812dt7l9f8000 |
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
/data/reference/escherichia_coli_NCBI.fa /data/simulated_datasets/ecolli_15x/escherichia_coli_NCBI-e0.00/layout_20151026_115352/dnadiff_results/../contigs_fast.fasta | |
NUCMER | |
[REF] [QRY] | |
[Sequences] | |
TotalSeqs 1 1 | |
AlignedSeqs 1(100.00%) 1(100.00%) | |
UnalignedSeqs 0(0.00%) 0(0.00%) | |
[Bases] |
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
20| 10 (0.15%) --- | |
21| 21 (0.31%) ------ | |
22| 45 (0.66%) ------------ | |
23| 76 (1.12%) -------------------- | |
24|130 (1.92%) ----------------------------------- | |
25|200 (2.95%) ----------------------------------------------------- | |
26|258 (3.81%) -------------------------------------------------------------------- | |
27|308 (4.54%) --------------------------------------------------------------------------------- | |
28|360 (5.31%) ----------------------------------------------------------------------------------------------- | |
29|444 (6.55%) --------------------------------------------------------------------------------------------------------------------- |
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
[0m20|[32m 10 [35m(0.15%) [34m---[0m | |
[0m21|[32m 21 [35m(0.31%) [34m------[0m | |
[0m22|[32m 45 [35m(0.66%) [34m------------[0m | |
[0m23|[32m 76 [35m(1.12%) [34m--------------------[0m | |
[0m24|[32m130 [35m(1.92%) [34m-----------------------------------[0m | |
[0m25|[32m200 [35m(2.95%) [34m-----------------------------------------------------[0m | |
[0m26|[32m258 [35m(3.81%) [34m--------------------------------------------------------------------[0m | |
[0m27|[32m308 [35m(4.54%) [34m---------------------------------------------------------------------------------[0m | |
[0m28|[32m360 [35m(5.31%) [34m-----------------------------------------------------------------------------------------------[0m | |
[0m29|[32m444 [35m(6.55%) [34m---------------------------------------------------------------------------------------------------------------------[0m |
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
#!/usr/bin/env bash | |
awk ' | |
{printf "%d\t", $1 + 1} #Aiid | |
{printf "%d\t", $2 + 1} #Biid | |
{if ($5 == $9) { # orient | |
printf "f\t" | |
} else { | |
printf "r\t" | |
}} |