-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a46ed4
commit 888d51f
Showing
5 changed files
with
50 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# slow5_set_skip_rid | ||
|
||
## NAME | ||
|
||
slow5_set_skip_rid - sets that a requested read missing is not to be treated as an error | ||
|
||
## SYNOPSYS | ||
|
||
`void slow5_set_skip_rid()` | ||
|
||
## DESCRIPTION | ||
|
||
`slow5_set_skip_rid()` sets that a requested read missing is not to be treated as an error. The default of behaviour of functions such as `slow5_get` that loads a requested read from a SLOW5 file is to print an error message and exit the programme if that read isn't found. This function can be used to disable this in legitimate cases where we expect some reads would be missing. Note that the `slow5_get` will still return a value indicating the error which can be used by the programmer to handle the case as they wish. | ||
|
||
## RETURN VALUE | ||
|
||
None. | ||
|
||
## ERRORS | ||
|
||
None. | ||
|
||
|
||
## NOTES | ||
|
||
Internally sets global variable. Intended to be set as the beginning of the programme. | ||
|
||
## EXAMPLES | ||
|
||
``` | ||
#include <stdio.h> | ||
#include <stdlib.h> | ||
#include <slow5/slow5.h> | ||
int main(){ | ||
slow5_set_skip_rid(SLOW5_LOG_DBUG); | ||
//... do the rest | ||
} | ||
``` | ||
|
||
## SEE ALSO | ||
[slow5_set_log_level()](slow5_set_log_level.md) | ||
[slow5_set_exit_condition()](slow5_set_exit_condition.md). |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,4 @@ adv/sequential_read_openmp | |
adv/get_all_read_ids | ||
mt/mt | ||
mt/lazymt | ||
|
||
example_write_ex-zd.blow5 |
Binary file not shown.
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