lmrodriguezr / nonpareil

Estimate metagenomic coverage and sequence diversity
http://enve-omics.ce.gatech.edu/nonpareil/
Other
42 stars 11 forks source link

Strange output filenames #28

Closed boulund closed 3 weeks ago

boulund commented 6 years ago

Hi,

I see some strange behavior, where the some of the output files don't have the prefix assigned via -b:

$ ls
C1825_AAGACGA_L006.nobg.fastq
$ nonpareil -s C1825_AAGACGCA_L006.nobg.fastq -f fastq -T kmer -o C1825
Nonpareil v3.2                                      
 [      0.0]  reading C1825_AAGACGCA_L006.nobg.fastq
 [      0.0]  Picking 10000 random sequences        
 [      0.0]  Started counting                      
 [      6.5]  Read file with 18544670 sequences     
 [      6.5]  Average read length is 103.408643bp   
 [      6.5]  Sub-sampling library                  
 [      6.7]  Evaluating consistency                
 [      6.7]  Everything seems correct              
$ ls
C1825   C1825_AAGACGCA_L006.nobg.fastq  ??UH?????.npa   ??UH?????.npc   ??UH?????.npl

The files named ??UH????? are a bit annoying to work with on the terminal, and running nonpareil twice in the same dir overwrites these files, which is also a bit annoying.

My system is Linux:

$ uname -srvmpio
Linux 2.6.32-696.13.2.el6.x86_64 #1 SMP Thu Oct 5 17:13:40 CDT 2017 x86_64 x86_64 x86_64 GNU/Linux

Is this the intended behavior?