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

HENIPIPE_SEACR issue #8

Open
gianfilippo opened this issue Oct 22, 2022 · 2 comments
Open

HENIPIPE_SEACR issue #8

gianfilippo opened this issue Oct 22, 2022 · 2 comments

Comments

@gianfilippo
Copy link

Hi,

I am running your pipeline on a few of my samples and everything seemed well, until I started to get the following error
awk: cmd. line:1: fatal: division by zero attempted
Only on some samples, running
henipipe SEACR -r $outDIR/$runsheetFILE -Ss relaxed -Sn norm -v

I have to add that
henipipe AUC -r $outDIR/runsheet.csv -o auc -v
does not work for me at all, even when every other step works.
I get the error below.

Anything I am doing wrong ?

Thanks

Traceback (most recent call last):
File "$PATH/.local/bin/henipipe", line 8, in
sys.exit(run_henipipe())
File "$PATH/.local/pipx/venvs/henipipe/lib/python3.10/site-packages/henipipe/main.py", line 235, in run_henipipe
AUCjob = henipipe.AUC(runsheet_data = parsed_runsheet, threads = args.threads, gb_ram = args.gb_ram, debug=args.debug, no_pipe=args.keep_files, cluster=args.cluster, user=args.user, log=args.log_prefix, out=args.output, norm=args.SEACR_norm, stringency=args.SEACR_stringency)
File "$PATH/.local/pipx/venvs/henipipe/lib/python3.10/site-packages/henipipe/henipipe.py", line 681, in init
self.runsheet_data = self.AUC_match()
File "$PATH/.local/pipx/venvs/henipipe/lib/python3.10/site-packages/henipipe/henipipe.py", line 698, in AUC_match
is_biomatch_control = [bool(re.search(r'._CONTROL$', i)) for i in biomatch_key]
File "$PATH/.local/pipx/venvs/henipipe/lib/python3.10/site-packages/henipipe/henipipe.py", line 698, in
is_biomatch_control = [bool(re.search(r'._CONTROL$', i)) for i in biomatch_key]
File "/gpfs/ycga/project/coppola/$USER/conda_envs/henipipe/lib/python3.10/re.py", line 200, in search
return _compile(pattern, flags).search(string)
TypeError: expected string or bytes-like object

@scfurl
Copy link
Owner

scfurl commented Oct 26, 2022 via email

@gianfilippo
Copy link
Author

Hi,

thanks. I will try to run SEACR directly and, in case, contact the authors.

As far as the AUC is concerned, I do not see any AUC column in there.
At the moment the columns are:
sample,SEACR_key,MERGE_key,fasta,spikein_fasta,genome_sizes,fastq1,fastq2,bed_out,spikein_bed_out,bedgraph,SEACR_out
Sample_MRCR1,Sample_MRCR4_CONTROL,Sample_MRCR1,$PATH/GRCh38.p13/GRCh38.p13.genome,$PATH/U00096.3/U00096.3,$PATH/ChromSize.txt,$FASTQ1,$FASTQ2,$BEDOUT,$SpikeInBEDOUT,$BEDGRAPH,$SEACRout
.............

the first row is simplified, I replaced entries with vars. Also, I used absolute paths for everything.

Best

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