Why is this error happening:
Traceback (most recent call last):
File "/usr/local/tools/_conda/envs/__bctools@0.2.2/bin/extract_aln_ends.py", line 102, in <module>
alns_bedpe = alns.bam_to_bed(bedpe=True, mate1=True, ed=True)
File "/usr/local/tools/_conda/envs/__bctools@0.2.2/lib/python3.5/site-packages/pybedtools/bedtool.py", line 806, in decorated
result = method(self, *args, **kwargs)
File "/usr/local/tools/_conda/envs/__bctools@0.2.2/lib/python3.5/site-packages/pybedtools/bedtool.py", line 337, in wrapped
decode_output=decode_output,
File "/usr/local/tools/_conda/envs/__bctools@0.2.2/lib/python3.5/site-packages/pybedtools/helpers.py", line 356, in call_bedtools
raise BEDToolsError(subprocess.list2cmdline(cmds), stderr)
pybedtools.helpers.BEDToolsError:
Command was:
bedtools bamtobed -mate1 -i /data/jwd/main/038/753/38753581/tmp/tmpahcdouwa/fixedmates.bam -ed -bedpe
Error message was:
The edit distance tag (NM) was not found in the BAM file. Please disable -ed. Exiting