Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CasavaOneEightLanelessPerSampleDirFmt creates an invalid MANIFEST on import #172

Open
thermokarst opened this issue Mar 7, 2018 · 4 comments
Labels
type:bug Something is wrong.

Comments

@thermokarst
Copy link
Contributor

thermokarst commented Mar 7, 2018

Bug Description
The MANIFEST filepaths are missing the lane that is present in the actual imported files.

Screenshots

$ ls laneless
a_1_R1_001.fastq.gz b_2_R1_001.fastq.gz c_3_R1_001.fastq.gz

$ qiime tools import \
  --type 'SampleData[SequencesWithQuality]' \
  --input-path laneless \
  --source-format CasavaOneEightLanelessPerSampleDirFmt \
  --output-path demux.qza

$ qiime demux summarize \
  --i-data demux.qza \
  --o-visualization nope.qzv \
  --verbose
Plugin error from demux:

  [Errno 2] No such file or directory: '/var/folders/kv/fmn2vtxn5pq0c3tl9wv7cbqh0000gn/T/qiime2-archive-driuneqv/b9f3fa8d-7c4f-4ef6-8bb7-d2f5374d29e4/data/a_1_R1_001.fastq.gz'

$ qiime tools export demux.qza --output-dir lets-see && ls lets-see
MANIFEST                 a_1_L001_R1_001.fastq.gz b_2_L001_R1_001.fastq.gz c_3_L001_R1_001.fastq.gz metadata.yml

$ cat lets-see/MANIFEST
sample-id,filename,direction
a,a_1_R1_001.fastq.gz,forward
b,b_2_R1_001.fastq.gz,forward
c,c_3_R1_001.fastq.gz,forward
@thermokarst thermokarst added the type:bug Something is wrong. label Mar 7, 2018
@ebolyen
Copy link
Member

ebolyen commented Mar 8, 2018

Whoops! Did someone finally need this variant again? Where/how did it come up?

@thermokarst
Copy link
Contributor Author

Oops! Forgot to put the backref in the original issue:

Came up on the forum here.

@james-d
Copy link

james-d commented Nov 2, 2018

Is this fixed (or going to be)? Or is there a permanent recommendation to use the manifest format?

@thermokarst
Copy link
Contributor Author

Hi @james-d --- this hasn't been fixed yet, but it is still on our radar. PRs welcome 😉!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something is wrong.
Projects
None yet
Development

No branches or pull requests

3 participants