I downloaded SRA file and converted it to SAM file:
sam-dump -1 SRR6040553 > SRR6040553.sam
and after to BAM file:
samtools view -S -b -T GRCh38_latest_genomic.fna SRR6040553.sam > SRR6040553.bam
But NIPTeR cannot read it file:
NIPTsample <- bin_bam_sample("SRR6040553.bam", do_sort = FALSE, separate_strands = F, custom_name = NULL)
The error is:
Error in splitted_reads[[1]] : subscript out of bounds
Thank you in advance!