-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from martinghunt/gramtools_error_checking
Gramtools error checking
- Loading branch information
Showing
9 changed files
with
139 additions
and
23 deletions.
There are no files selected for viewing
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
28 changes: 28 additions & 0 deletions
28
minos/tests/data/gramtools/build_json_file_is_good.bad.1.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"start_time": "1524153313", | ||
"end_time": "1524153329", | ||
"total_runtime": 16, | ||
"kmer_size": 15, | ||
"max_read_length": 200, | ||
"prg_build_report": { | ||
"command": "perl foo bar baz", | ||
"return_value_is_0": true, | ||
"stdout": [ | ||
"Finished printing linear PRG. Final number in alphabet is 78" | ||
] | ||
}, | ||
"gramtools_cpp_build": { | ||
"command": "/usr/local/lib/python3.6/dist-packages/gramtools/bin/gram build foo", | ||
"return_value_is_0": false, | ||
"stdout": [ | ||
"maximum thread count: 1", | ||
"Executing build command", | ||
"Generating integer encoded PRG", | ||
"Number of charecters in integer encoded linear PRG: 4411709", | ||
"Generating FM-Index", | ||
"Generating PRG masks", | ||
"Building kmer index" | ||
] | ||
}, | ||
"current_working_directory": "/home/kryten/" | ||
} |
15 changes: 15 additions & 0 deletions
15
minos/tests/data/gramtools/build_json_file_is_good.bad.2.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"start_time": "1524153313", | ||
"end_time": "1524153329", | ||
"total_runtime": 16, | ||
"kmer_size": 15, | ||
"max_read_length": 200, | ||
"prg_build_report": { | ||
"command": "perl foo bar baz", | ||
"return_value_is_0": true, | ||
"stdout": [ | ||
"Finished printing linear PRG. Final number in alphabet is 78" | ||
] | ||
}, | ||
"current_working_directory": "/home/kryten/" | ||
} |
39 changes: 39 additions & 0 deletions
39
minos/tests/data/gramtools/build_json_file_is_good.good.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"start_time": "1524153313", | ||
"end_time": "1524153329", | ||
"total_runtime": 16, | ||
"kmer_size": 15, | ||
"max_read_length": 200, | ||
"prg_build_report": { | ||
"command": "perl foo bar baz", | ||
"return_value_is_0": true, | ||
"stdout": [ | ||
"Finished printing linear PRG. Final number in alphabet is 78" | ||
] | ||
}, | ||
"gramtools_cpp_build": { | ||
"command": "/usr/local/lib/python3.6/dist-packages/gramtools/bin/gram build foo", | ||
"return_value_is_0": true, | ||
"stdout": [ | ||
"maximum thread count: 1", | ||
"Executing build command", | ||
"Generating integer encoded PRG", | ||
"Number of charecters in integer encoded linear PRG: 4411709", | ||
"Generating FM-Index", | ||
"Generating PRG masks", | ||
"Building kmer index", | ||
"Total number of unique kmers: 7320", | ||
"", | ||
"", | ||
"Timer report:", | ||
" seconds", | ||
" Encoded PRG 0.22", | ||
" Generate FM-Index 7.08", | ||
"Generating PRG masks 5.77", | ||
" Building kmer index 0.05", | ||
"", | ||
"Total elapsed time: 13.12" | ||
] | ||
}, | ||
"current_working_directory": "/home/kryten/" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
##header1 | ||
##header2 | ||
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT sample_name | ||
ref1 1 . G T . . . . . | ||
ref1 2 . C T . . . . . | ||
ref1 3 . T A . . . . . | ||
ref1 5 . AGAGTCACGTA G . . . . . | ||
ref1 18 . A G . . . . . | ||
ref1 21 . G T . . . . . | ||
ref2 42 . C G . . . . . | ||
ref1 1 . G T . PASS . . . | ||
ref1 2 . C T . PASS . . . | ||
ref1 3 . T A . PASS . . . | ||
ref1 5 . AGAGTCACGTA G . PASS . . . | ||
ref1 18 . A G . PASS . . . | ||
ref1 21 . G T . PASS . . . | ||
ref2 42 . C G . PASS . . . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
##header1 | ||
##header2 | ||
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT sample_name | ||
ref1 1 . G T . . . . . | ||
ref1 2 . C T . . . . . | ||
ref1 3 . T A . . . . . | ||
ref1 5 . AGAGTCACGTA G . . . . . | ||
ref1 18 . A G . . . . . | ||
ref1 21 . G T . . . . . | ||
ref2 42 . C G . . . . . | ||
ref1 1 . G T . PASS . . . | ||
ref1 2 . C T . PASS . . . | ||
ref1 3 . T A . PASS . . . | ||
ref1 5 . AGAGTCACGTA G . PASS . . . | ||
ref1 18 . A G . PASS . . . | ||
ref1 21 . G T . PASS . . . | ||
ref2 42 . C G . PASS . . . |
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
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
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