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

requires slow5 when using -x hpc-mid (or maybe any profile?) #94

Closed
mparker2 opened this issue Nov 19, 2021 · 2 comments
Closed

requires slow5 when using -x hpc-mid (or maybe any profile?) #94

mparker2 opened this issue Nov 19, 2021 · 2 comments

Comments

@mparker2
Copy link

mparker2 commented Nov 19, 2021

Hi @hasindu2008

I'm trying out f5c (cpu version 0.7) for the first time and ran it with the command:

$F5C eventalign \
  --rna \
  -x hpc-mid \
  --scale-events \
  --signal-index \
  --summary summary.txt  \
  -r reads.fastq  \
  -b alignments.bam \
  -g transcriptome.fasta

I found that using -x hpc-mid, or in fact any of the profile presets I tried, f5c seems to require a slow5 file and gives the error:

[slow5_open_with::ERROR] Argument 'pathname' cannot be NULL. At src/slow5.c:254
[init_core] Error opening SLOW5 file (null)

It starts processing the data without error if I remove the -x flag.

Looking forward to using f5c :)
Matt

@hasindu2008
Copy link
Owner

hasindu2008 commented Nov 21, 2021

Looks like I have introduced a silly bug while introducing slow5 file support. I will fix it soon sometime this week. For now, given you are using the CPU-only version, you could set the options set by -x hpc-mid that affects the CPU manually by:

$F5C eventalign \
  --rna \
  --scale-events \
  --signal-index \
  --summary summary.txt  \
  -r reads.fastq  \
  -b alignments.bam \
  -g transcriptome.fasta \
 -t 48 --iop 48 -K 2048 -B 20M

@hasindu2008
Copy link
Owner

Thanks for reporting this. This has been fixed in the latest 0.8 version.

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