Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

fastq.info fails to set the right current files #339

Closed
khyox opened this Issue May 29, 2017 · 3 comments

Comments

Projects
None yet
2 participants

khyox commented May 29, 2017

mothur v.1.39.5 running on a GNU/Linux box. Using fastq.info with oligos flag fails to set correctly the current files when the separation of fastq files by barcode and primers is not feasible:

mothur v.1.39.5
Last updated: 3/20/2017
(...)
Type 'quit()' to exit program

mothur > fastq.info(fastq=barcoding_test.fastq, oligos=barcoding_test.oligos)
9342

Output File Names:
barcoding_test.fasta
barcoding_test.qual
barcoding_test.scrap.fastq
barcoding_test.scrap.fasta
barcoding_test.scrap.qual

mothur > get.current()

Current files saved by mothur:
fasta=barcoding_test.B81.AMP1500BP_CCTGCCATTCGC.GAGTTTGATCNTGGCTCAG.fasta
oligos=barcoding_test.oligos
qfile=barcoding_test.B81.AMP1500BP_CCTGCCATTCGC.GAGTTTGATCNTGGCTCAG.qual

Output File Names:
current_files.summary

mothur > summary.seqs()
Using barcoding_test.B81.AMP1500BP_CCTGCCATTCGC.GAGTTTGATCNTGGCTCAG.fasta as input file for the fasta parameter.

Using 1 processors.
Error opening file: No such file or directory
[ERROR]: Could not open barcoding_test.B81.AMP1500BP_CCTGCCATTCGC.GAGTTTGATCNTGGCTCAG.fasta
Error in reading your fastafile, at position -1. Blank name.

It seems the current variables are wrongly updated before fastq.info checks that the separation of fastq files by barcode and primers is really feasible with the current oligos file and tolerance parameters (allowed differences in the barcode, primers, linkers and spacers).

Contributor

mothur-westcott commented May 30, 2017

You are correct the current files saved by fastq.info are the problem. Thanks for reporting this issue! I will add it to our list.

@mothur-westcott mothur-westcott added this to the Version 1.40.0 milestone May 30, 2017

khyox commented May 30, 2017

Thanks for the quick reply Sarah! Always happy to contribute to this fabulous project named mothur doing my (tiny) bit. :)

Contributor

mothur-westcott commented May 30, 2017

😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment