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

ALIGNMENT PIPELINE ERROR #711

Open
seamyname opened this issue Mar 4, 2022 · 2 comments
Open

ALIGNMENT PIPELINE ERROR #711

seamyname opened this issue Mar 4, 2022 · 2 comments

Comments

@seamyname
Copy link

After uploading the Fastq file and ref genome (.gnk), submit the Alignments mission. Then it shows ERROR, and I open the 'bwa_align.error' file and see the following error. I'm not sure what's going on and hope to get your answer.

##############################################
The input is probably truncated.
Killed
Segmentation fault (core dumped)
Traceback (most recent call last):
File "/home/ubuntu/millstone/genome_designer/pipeline/read_alignment.py", line 156, in align_with_bwa_mem
opt_processing_mask=opt_processing_mask)
File "/home/ubuntu/millstone/genome_designer/pipeline/read_alignment.py", line 278, in process_sam_bam_file
subprocess.check_call(sort_rmdup_cmd, shell=True, stderr=error_output)
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '/home/ubuntu/millstone/genome_designer/conf/../tools/samtools/samtools sort -o /home/ubuntu/millstone/genome_designer/conf/../temp_data/projects/197f3ad5/alignment_groups/a706a96f/sample_alignments/72eb1c40/bwa_align.bam /home/ubuntu/millstone/genome_designer/conf/../temp_data/projects/197f3ad5/alignment_groups/a706a96f/sample_alignments/72eb1c40/bwa_align.sorted.tmp.bam|/home/ubuntu/millstone/genome_designer/conf/../tools/samtools/samtools rmdup - /home/ubuntu/millstone/genome_designer/conf/../temp_data/projects/197f3ad5/alignment_groups/a706a96f/sample_alignments/72eb1c40/bwa_align.sorted.bam' returned non-zero exit status 139
==END OF ==

@dbgoodman
Copy link
Member

Hi,

It looks like samtools seg-faulted during the sorting of the bam alignment. Is it possible that the machine you are running on does not have enough memory or disk space?

If that is not the issue, and you want to try to debug yourself, you could inspect the bam file at that path (home/ubuntu/millstone/genome_designer/conf/../temp_data/projects/197f3ad5/alignment_groups/a706a96f/sample_alignments/72eb1c40/bwa_align.bam) to see if it is truncated/corrupted/aligned as expected, etc.

Good luck!

@seamyname
Copy link
Author

Thank you very much for your suggestion.
After we increased the memory, Millstone ran fine and completed the Job.

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