Skip to content

Commit 79f556b

Browse files
committed
add doc again. #462
1 parent f56b39c commit 79f556b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

doc/docs/usage.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2554,6 +2554,7 @@ Attention:
25542554
ensure the .fai file matches the FASTA file.
25552555
2. For splitting by sequence IDs in Windows/MacOS, where the file systems might be case-insensitive,
25562556
output files might be overwritten if they are only different in cases, like Abc and ABC.
2557+
To avoid this, please switch one -I/--ignore-case.
25572558
25582559
The definition of region is 1-based and with some custom design.
25592560

seqkit/cmd/split.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Attention:
6565
ensure the .fai file matches the FASTA file.
6666
2. For splitting by sequence IDs in Windows/MacOS, where the file systems might be case-insensitive,
6767
output files might be overwritten if they are only different in cases, like Abc and ABC.
68+
To avoid this, please switch one -I/--ignore-case.
6869
6970
The definition of region is 1-based and with some custom design.
7071
@@ -1029,7 +1030,7 @@ func init() {
10291030
splitCmd.Flags().IntP("by-size", "s", 0, "split sequences into multi parts with N sequences")
10301031
splitCmd.Flags().IntP("by-part", "p", 0, "split sequences into N parts")
10311032
splitCmd.Flags().BoolP("by-id", "i", false, "split squences according to sequence ID")
1032-
splitCmd.Flags().BoolP("ignore-case", "", false, "ignore case when using -i/--by-id")
1033+
splitCmd.Flags().BoolP("ignore-case", "I", false, "ignore case when using -i/--by-id")
10331034
splitCmd.Flags().StringP("by-region", "r", "", "split squences according to subsequence of given region. "+
10341035
`e.g 1:12 for first 12 bases, -12:-1 for last 12 bases. type "seqkit split -h" for more examples`)
10351036
splitCmd.Flags().BoolP("two-pass", "2", false, "two-pass mode read files twice to lower memory usage. (only for FASTA format)")

0 commit comments

Comments
 (0)