Bam to Fasta in galaxy
1
0
Entering edit mode
7.0 years ago

Hi,

I am new in the field of bioinformatics, with basic knowledge only. However, we have some bacterial whole genome in BAM, what I would like to convert to FASTA and upload in the NCBI database. I started using Galaxy, which seems quite understandable to me (so far). Though I am stuck and cannot get a proper Fasta file. Can you send me a step by step tutorial or some advise how to solve this? Thanks a lot!

sequence • 2.3k views
ADD COMMENT
0
Entering edit mode

Thanks! I changed it.

ADD REPLY
0
Entering edit mode
ADD REPLY
0
Entering edit mode
7.0 years ago
Hussain Ather ▴ 990

You might want to change this from a Forum to Question.

Converting bam to fasta:

samtools bam2fq input.bam | seqtk seq -A - > output.fasta

Here's some instructions on uploading to galaxy

ADD COMMENT
0
Entering edit mode

I guess OP wants a reference fasta file, and not a single fasta record per read, right?

ADD REPLY

Login before adding your answer.

Traffic: 1621 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