run-bwamem from BWAKIT does not work
1
0
Entering edit mode
3.3 years ago

Hi, everyone!

I am currently performing HLA typing analysis using the bwakit-0.7.17 for Linux Mint 20. The problem comes when running the "run-bwamem" file, when we obtain empty output files. We have even tried to perform it through Miniconda by typing the next:

$ bin/run-bwamem -o out -H -R"@A01056:45:HJ2KFDSXY" hs38DH.fa read_1.fq read_2.fq

and then we obtain:

bin/seqtk mergepe read_1.fq read_2.fq \
  | bin/bwa mem -p -R'@A01056:45:HJ2KFDSXY' hs38DH.fa - 2> out.log.bwamem \
  | bin/samtools view -1 - > out.aln.bam;

I don't know what it might be happening, but it is nerve-racking! Maybe, we lack of some dependencies. I would be really pleased if someone could figure it out the problem.

Thank you all in advanced!

Regards,

Laura

Mapping next-gen-sequencing linux alignment • 774 views
ADD COMMENT
0
Entering edit mode

what are the error messages ? is there anything in out.log.bwamem ? your read group definition is WRONG. what is this option '-1' of samtools view ? samtools view doesn't generate a BAM file here.

ADD REPLY
0
Entering edit mode
5 months ago
dinosaurur • 0

If anyone else encounters the issue where there's no output after executing the given instructions, I'd like to clarify a specific detail.

In the example provided by bwakit:

#mapping
bwa.kit/run-bwamem -o out -H hs38DH.fa read1.fq read2.fq | sh

Please note that the ' | sh' part at the end is crucial. You must include it to pipe the code to the 'sh' shell, as I learned from chatGPT. This ensures that the code is executed correctly.

ADD COMMENT

Login before adding your answer.

Traffic: 2627 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6