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

issue in seqcluster prepare #39

Closed
kisun opened this issue Jan 21, 2019 · 11 comments
Closed

issue in seqcluster prepare #39

kisun opened this issue Jan 21, 2019 · 11 comments

Comments

@kisun
Copy link

kisun commented Jan 21, 2019

HI,
The command for running "prepare" step was:

seqcluster prepare -c files-collapsed -o ${outdir}/prepd-seqs --minl 17 --minc 2 --maxl 45
The error message I got is:

Traceback (most recent call last): File "/wrk/kipokh/DONOTREMOVE/bioconda3_env/bioconda_tools/bin/seqcluster", line 11, in <module> load_entry_point('seqcluster==1.2.4a14', 'console_scripts', 'seqcluster')() File "/wrk/kipokh/DONOTREMOVE/bioconda3_env/bioconda_tools/lib/python3.6/site-packages/seqcluster/command_line.py", line 25, in main prepare(kwargs["args"]) File "/wrk/kipokh/DONOTREMOVE/bioconda3_env/bioconda_tools/lib/python3.6/site-packages/seqcluster/prepare_data.py", line 38, in prepare seq_l, sample_l = _read_fastq_files(f, args) File "/wrk/kipokh/DONOTREMOVE/bioconda3_env/bioconda_tools/lib/python3.6/site-packages/seqcluster/prepare_data.py", line 103, in _read_fastq_files with open_fastq(cols[0]) as handle: AttributeError: __enter__
Can you please tell me what could I do to solve this issue?

Thanks!

@lpantano
Copy link
Owner

lpantano commented Jan 21, 2019 via email

@kisun
Copy link
Author

kisun commented Jan 21, 2019

Hi, thanks for the quick reply. The content (6 out of 39 lines) of the files-collapsed looks like below:
C1033_trimmed_trimmed.fastq C1033
C107A1_trimmed_trimmed.fastq C107A1
E1033_trimmed_trimmed.fastq E1033
E107A1_trimmed_trimmed.fastq E107A1
E251_trimmed_trimmed.fastq E251

Best wishes,
Kisun

@lpantano
Copy link
Owner

Can you tell me whether the file is separated with tabular or space between the two columns?

@kisun
Copy link
Author

kisun commented Jan 22, 2019

It is tab-delimited file. If log file gives you some hint

INFO-seqcluster.libs.logger(24): Run prepare
INFO-prepare(37): Reading sequeces
INFO-prepare(136): C1033: Total read 265529 ; Total added 41038
INFO-prepare(136): C107A1: Total read 400946 ; Total added 45900

and I also see the stats.csv..but seqs.fastq and seqs.ma are empty.

@lpantano
Copy link
Owner

Thanks,

Do you see the INFO line for all the samples or it stops at in the middle of the processing? is it the last sample showed in the console the one in the config file?

@kisun
Copy link
Author

kisun commented Jan 22, 2019

I can see INFO line for all the samples.

@lpantano
Copy link
Owner

Can you check if there is a empty line at the end?

@kisun
Copy link
Author

kisun commented Jan 22, 2019

For your reference i attached you the output files.
prepd-seqs.zip

@kisun
Copy link
Author

kisun commented Jan 22, 2019

Can you tell me whether the file is separated with tabular or space between the two columns?

Hi, does the sample ID need to be three-letter-code like for mirdeep2?

@kisun
Copy link
Author

kisun commented Jan 22, 2019

Can you tell me whether the file is separated with tabular or space between the two columns?

Hi, does the sample ID need to be three-letter-code like for mirdeep2?

It's now running smoothly by using new 3-letter-codes. Sorry for not trying this earlier. And thanks a lot for your effort.
Best wishes, Kisun

@kisun kisun closed this as completed Jan 22, 2019
@lpantano
Copy link
Owner

lpantano commented Jan 22, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants