@@ -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
6970The 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