I have a BAM file that does not contain any chromosome or position information, our file contains only scaffold of a new genome from specie B. I'm looking to find scaffolds/reads matching a gene (35kb long) from specie A in the BAM file of specie B. I expect some differences (at the SNP level). Since our bam file doesn't contain chromosome and position information, is there a way to tell samtools, this my sequence, find any reads/scaffold that can match (with at least 60% of similarity) that sequence?
PS: Thanks for answering thou I do not have access to BWA so far.. otherwise I would have done it with BWA long time ago.. I work remotely on a server with limited capability T.T
OUR BAM FILE THAT CONTAINS ONLY SCAFFOLD INFO (NO CHROMOSOME OR POSITION)
FCC00CUABXX:7:2105:3995:105611#NNNNNCGT 73 scaffold12 24440 37 100M = 24440 0 AACCATTTCGTTTCTGAATGAAGAATACAATACTGGAAATGAAAACTTCACTACAGGAACTCAATAGCAAAGTAGATGATACAGAAGAACAGATCAGCAA HHHHHHHHHHHHHHHHHHHHHHHHFHHHHHHHHHHHFHHHHHHHHHHHHHHHHHHHFHFHHHHHHHHHDFBEBFFHFHHHHH9HDFFFEHHHHHDDFE<E X0:i:1 X1:i:0 MD:Z:100 RG:Z:DONdtxDABDMAAPE XG:i:0 AM:i:0 NM:i:0 SM:i:37 XM:i:0 XO:i:0 XT:A:U
FCB01AKABXX:1:1202:4275:93484#TCNGNGCN 97 scaffold12 24443 37 49M = 21972 -2422 CATTTCGTTTCTGAATGAAGAATACAATACTGGAAATGAAAACTTCACT HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH X0:i:1 X1:i:0 MD:Z:49 RG:Z:DONdtxDAADWAAPE.1 XG:i:0 AM:i:37 NM:i:0 SM:i:37 XM:i:0 XO:i:0 XT:A:U
I guess I really have no other option and started to install BWA on the server. Thanks XD.