generated from TheLartians/ModernCppStarter
-
Notifications
You must be signed in to change notification settings - Fork 2
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
yangli
committed
Sep 17, 2022
1 parent
370adbb
commit 559209a
Showing
2 changed files
with
69 additions
and
14 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
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,65 @@ | ||
# Document for FQSP | ||
|
||
## Aim | ||
|
||
`boss-fqsp` is used to split one fastq file into two fastq files. The format of the input fastq file is as follows: | ||
|
||
```text | ||
@SRR8618317.1.1 1 length=101 | ||
CAGTGCTCAGCTTGCACCCTGGCACAGGCCAGCAGTTGCTGGAAGTCAGACACCCGGTGCTGGCAATCTCGTTTAAACTACATGCAGGAACAGCAAAGGAA | ||
+SRR8618317.1.1 1 length=101 | ||
????????????????????????????????????????????????????????????????????????????????????????????????????? | ||
@SRR8618317.1.2 1 length=101 | ||
CCGGTGTTGAGAATGACTGCGCAAATTTGCCGGATTTCCTTTGCTGTTCCTGCATGTAGTTTAAACGAGATTGCCAGCACCGGGTGTCTGACTTCCAGCAA | ||
+SRR8618317.1.2 1 length=101 | ||
????????????????????????????????????????????????????????????????????????????????????????????????????? | ||
@SRR8618317.2.1 2 length=101 | ||
GTTGAGAATGACTGCGCAAATTTGCCGGATTTCCTTTGCTGTTCCTGCATGTAGTTTAAACGAGATTGCCAGCACCGGGTATCATTCACCATTTTTCTTTT | ||
``` | ||
|
||
Every four lines are belong to one end of paired reads. | ||
|
||
## Usage | ||
|
||
```console | ||
fqsp - A program to split ncbi fq files into forward and reverse files. | ||
Usage: | ||
boss-fqsp [OPTION...] [input.fq|.fq.gz] | ||
|
||
-h, --help Show help | ||
-v, --version Print the current version number | ||
-o, --output arg Output fq file | ||
-d, --debug Enable debug mode | ||
``` | ||
|
||
* Example 1 | ||
|
||
The result `example.1.fq` and `example.2.fq` will be written. | ||
|
||
```console | ||
$ boss-fqsp example.fq | ||
``` | ||
|
||
* Example 2 | ||
|
||
The result `example.1.fq.gz` and `example.2.fq` will be written. | ||
|
||
```console | ||
$ boss-fqsp example.fq.gz | ||
``` | ||
|
||
## Performance | ||
|
||
**NOTE**: The performance is tested simply by `time` command. It is not a benchmark. | ||
|
||
| File Size | Format | Time | | ||
|-----------|--------|------| | ||
| 1.2G | fq.gz | 0.2s | | ||
| 1.2G | fq | 0.2s | | ||
|
||
## Current Issues | ||
|
||
|
||
|
||
|
||
|