mbhall88 / tbpore

Mycobacterium tuberculosis genomic analysis from Nanopore sequencing data
MIT License
11 stars 2 forks source link

Duplicated files input bug #18

Closed leoisl closed 2 years ago

leoisl commented 2 years ago

I have the following directory structure: sample_example/mada_101/mada_101.nanopore.fastq.gz. If I run tbpore giving the sample_example dir as input, as well as sample_example/mada_101/mada_101.nanopore.fastq.gz, we will build a fastq by duplicating sample_example/mada_101/mada_101.nanopore.fastq.gz and concatenating the copies:

(tbpore) leandro@leandro-ThinkPad-X1-Carbon-6th:~/git/tbpore$ poetry run tbpore --recursive sample_example/ sample_example/mada_101/mada_101.nanopore.fastq.gz
[2022-04-26 10:58:21] INFO     | Welcome to TBpore version 0.1.0
[2022-04-26 10:58:21] INFO     | Searching for fastq files...
[2022-04-26 10:58:21] INFO     | Found 2 fastq files. Joining them...