@@ -65,6 +65,7 @@ Attention:
65
65
ensure the .fai file matches the FASTA file.
66
66
2. For splitting by sequence IDs in Windows/MacOS, where the file systems might be case-insensitive,
67
67
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.
68
69
69
70
The definition of region is 1-based and with some custom design.
70
71
@@ -1029,7 +1030,7 @@ func init() {
1029
1030
splitCmd .Flags ().IntP ("by-size" , "s" , 0 , "split sequences into multi parts with N sequences" )
1030
1031
splitCmd .Flags ().IntP ("by-part" , "p" , 0 , "split sequences into N parts" )
1031
1032
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" )
1033
1034
splitCmd .Flags ().StringP ("by-region" , "r" , "" , "split squences according to subsequence of given region. " +
1034
1035
`e.g 1:12 for first 12 bases, -12:-1 for last 12 bases. type "seqkit split -h" for more examples` )
1035
1036
splitCmd .Flags ().BoolP ("two-pass" , "2" , false , "two-pass mode read files twice to lower memory usage. (only for FASTA format)" )
0 commit comments