Open wjj666 opened 3 years ago
I also have the exact same issue! But I was running it with default settings.
Hi, sorry about the delay.
The problem appears to be that ARBitR is unable to find any barcodes in one or more combinations of contig start and end regions. Make sure that the barcodes are in the BX tag in your bam file, e.g. by using longranger basic to process the raw reads. The barcode is thus attached as a fastq comment. Then map with e.g. BWA mem with the option -C. Other pipelines to process and map reads can also be used, as long as the barcode is found in the BX tag in the bam file.
If the bam files are correctly formatted, something else is causing ARBitR to not consider the barcodes for processing. Trying other parameters might help in that case, e.g. increasing -s and/or decreasing -q from the default of 60.
Another point not related to the issue here: -B seems a bit high but is depending on your dataset.
Hello! @sarahshah have you solved the problem? I have the same problem.
@baokem It turns out that my bam file was incorrectly made. The following worked for me:
bwa mem -pC $mygenomeindex $myreads| samtools view -h -F4 | samtools sort -tBX -o $myfinalbamfile
thank you !@sarahshah
Hi, I run
arbitr.py -i pilon.fasta pilon.bam -m 75000 -s 40000 -B 20 -F 70 -Q 60 -n
3 and it leads to this error. Could you please help me? Thank you very much.