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

Illegal Instruction in CONSENT-polish #29

Open
Maggi-Chen opened this issue Jul 31, 2021 · 1 comment
Open

Illegal Instruction in CONSENT-polish #29

Maggi-Chen opened this issue Jul 31, 2021 · 1 comment

Comments

@Maggi-Chen
Copy link

Hello Pierre,

I am running CONSENT-polish on a contig of ~10Mbp. I installed CONSENT v2.2.2 with conda. The commend was:
CONSENT-polish --contigs $contig.fa --reads $read.fastq --out polished.fa

The alignment and sorting was successful. But I got an error at polishing step saying illegal instruction of CONSENT-polishing:

/data/user/maggic/anaconda2/envs/consent/bin/CONSENT-polish: line 197: 23038 Illegal instruction     CONSENT-polishing -a $tmpdir/"$alignments" -s "$minSupport" -S "$maxSupport" -l "$windowSize" -k "$merSize" -c "$commonKMers" -A "$minAnchors" -f "$solid" -m "$windowOverlap" -j "$nproc" -r "$contigs" -R "$reads" -M "$maxMSA" -p "$LRSCf" >> "$out"

Then I checked the CONSENT-polishing with CONSENT-polishing -h and I noticed there is no options like -r or -R, and the -m option seems not matching:

CONSENT-polishing -h
Usage: CONSENT-polishing [-a alignmentFile.paf] [-k merSize] [-s minSupportForGoodRegions] [-l minLengthForGoodRegions] 
[-f freqThresholdForKMers] [-e maxError] [-p freqThresholdForKPersFreqs] [-c freqThresholdForKPersCons]
 [-m mode (0 for regions, 1 for cluster)] [-j threadsNb]

So I tried manually starting polishing step by CONSENT-polishing -a Alignments_22661.paf >> polished.fa , and I got segmentation fault error:

slurm_script: line 37: 25624 Segmentation fault      CONSENT-polishing -a Alignments_22661.paf >> polished.fa

The job failed after only 8 seconds and the memory usage was 1.64MB (I requested over 90GB) so I don't think it was a memory issue. Then I tried providing the contig (-r) and read (-R) files to CONSENT-polishing and I got the same illegal instruction error. I also tried converting reads.fastq to reads.fa and it didn't work.

One thing interesting is, I have several contigs (all are ~10Mbp in length) and corresponding reads.fastq files. I tried to polish them with same default settings and same amount of resources. Some successfully completed while others failed with the illegal instruction error. I could not find out what are different between these datasets.

I uploaded 3 failed and 1 successful contig+read files here (read_1.fasta is used for polishing contig_1.fa, etc). These are PacBio CLR reads.

Do you have any idea what might be the reason?
Thank you so much!
Maggi

@aswathyseb
Copy link

I have exactly the same problem. Did you have any success?

Running CONSENT-polish gives illegal instruction . As you said many of the parameters are not part of CONSENT-polishing .

If I run CONSENT-polishing by itself, it gives segmentation fault error.

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