Skip to content

Commit 5f7d977

Browse files
authored
Update README.md
1 parent 195bad4 commit 5f7d977

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ slicer -i <input_file_name> -l <how_many_lines_per_slice> -o <output_dir> --gzip
1515

1616
# Example
1717
Assuming that you have a text file called `filename.for.test.data` with 400000 lines, you want to cut it to 4 slices (100000 lines for each). You'd like to gzip all the slices, keep the file extension `.data`, and store them in a folder `sliced`. You can use following command:
18-
```
18+
```shell
1919
slicer -i filename.for.test.data -l 100000 -o sliced -e data -z -s
20-
# split -l 100000 filename.for.test.data
2120
```
2221
Then you will get four files in the folder `sliced`:
2322
```
@@ -74,4 +73,4 @@ options:
7473
* Make sure you set the line number (-l xxxx, or --line=xxxx) correctly as a multiple of 4, since each record always has 4 lines.
7574
* If you want to keep the `.fq` or `.fastq` file extension, you can set the extension by `--ext=fq` or `--ext=fastq`
7675
* If your data are paired-end sequencing files, you can run this tool for the pair of files separately.
77-
* If your data are paired-end sequencing files, and you enable the `simple_name` to use short file name. For read1, you can set the extension as R1.fq by `--ext=R1.fq`, and for read2 you can set R2.fq by `--ext=R2.fq`, then you will get the sliced files like `0001.R1.fq` or `0003.R2.fq`.
76+
* If your data are paired-end sequencing files, and you enable the `simple_name` to use short file name. For read1, you can set the extension as R1.fq by `--ext=R1.fq`, and for read2 you can set R2.fq by `--ext=R2.fq`, then you will get the sliced files like `0001.R1.fq`, `0002.R2.fq`.

0 commit comments

Comments
 (0)