Entering edit mode
5.6 years ago
bioz
▴
20
Hai,
I have a bam file and i need two fasta file, One is exactly mapped to reference and next one is not mapped to reference
How to do with samtools ?
I'm not provided with the used reference fasta file. Is there any way i could extract it from BAM file which was provided to me?
It should be apparent from the BAM header where the fasta file was from.
�BC]'�]M�6�Qv�Oa�l�?g�D@��P �Q�D )B�����m�U����w7���q���q\��ɏ��/�����}�w���/�������|��?��O���?����?�/�ǃ��K����Aj�b�ǃ�<�L�=h�R�����������Vz��$���| %����o�#�H��'��T�x���η�}�},@s������R��� P����/> ��K�|a��������&|�~�ŵV�����k��E~�)����������J���������K�O�J_��g���~�����>� 9�5W����.�\U\��kv �;������WG I��j�ڒ�(a^�|�$5��74H"��"v��?��s���5�����(��D�D�B����X����Q7*Q�5Ek<pa*5��d�,pq�#���\����� z�"���?��#���y�",�="" rl�{="" l`�?="" ����="" xb�nj�&�����.��}������?�Ǘ��i����ռ�cj�="" �uj���xr�nl<="" ��s$g�ޭ��a#r����="" <br=""/> \W 6��� ��� �Ш$'���[8��xa�s�a>�_��G�/��x�3S���y_3�9}>��.����<�y��Y�O��ϵ��}Q��1����Os��� ��A}��ϓp" �/�� F?$������y��$�m�c��jX this was the header when i tried to open the BAM file.
samtools view -H
Please help me find out!
That's
hs38DH
, which you can google for and probably comes from the 1000 genomes project.Thank you so much.. I got it!