Wei Shen

Results 235 comments of Wei Shen

> why your home directory is referred here? The Go compiler save path of source code to help debugging, I think.

Hi, brename performs global replacement (with `/g` switched on). Since you want to replace the first **two** "_", it can't be done by just disabling global replacement. One way is...

> just the first one That would be simpler. ``` $ brename -p '^([^_]+)_(.+)' -r '${1} - ${2}' -d Searching for paths to rename... [OK] Filename_02_description_02.txt -> Filename - 02_description_02.txt...

It works for me. Is your terminal UTF8? ``` $ ls 2022-août_alan.pdf $ brename -il -p '^.*août.*$' [INFO] main options: [INFO] ignore case: true [INFO] search pattern: (?i)^.*août.*$ [INFO] skip...

@moorereason That's great!

Thanks for your interest. KMCP is only suitable for short-read metagenomic profiling, with much lower sensitivity on long-read datasets. My initial plan was to support both short and long reads....

The answer is added to FAQs page: https://bioinf.shenwei.me/kmcp/faq/#does-kmcp-support-long-read-metagenomic-profiling

Hi Phuc, Thanks for using KMCP. > I want the output table to contain results according to each desired rank, for example, is it possible to output only Genus ranks...

I think the fastest way is to write a script to add the read count information of minor strains to the dominant strain for each species. You can write it...

I assume that you only need the accumulated sum of reads for each species. Please download the latest versions of [csvtk](https://github.com/shenwei356/csvtk) and [taxonkit](https://github.com/shenwei356/taxonkit/). `taxdump.tar.gz` is available on the kmcp download...