Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] mapping directory #464

Open
Svnipni opened this issue Nov 16, 2023 · 7 comments
Open

[question] mapping directory #464

Svnipni opened this issue Nov 16, 2023 · 7 comments
Labels
question Further information is requested

Comments

@Svnipni
Copy link

Svnipni commented Nov 16, 2023

Hello Robert!

I'm having a lot of fun with this pipeline. Right now I'm trying to have bactopia output the mapping files (.bam) too.
Thusfar, I hadn't really needed it but I'm trying out a few new tools.

I must be missing something of course. What parameters do I need to provide for bactopia to output and keep the mapping .bam files?

Cheers!

@Svnipni Svnipni added the question Further information is requested label Nov 16, 2023
@rpetit3
Copy link
Member

rpetit3 commented Nov 16, 2023

Hi @Svnipni

Glad you are having fun! Are you wanting to get BAM files based alignments to a reference?

Cheers,
Robert

@Svnipni
Copy link
Author

Svnipni commented Nov 16, 2023

Hi Robert!
No, preferably aligned to the assembled genome. Amongst other things, I mean to wrap several samples up to construct a pangenome with anvio. If I understand correctly, it needs the .bam file mapped to the fasta and contig.db it constructs.

@rpetit3
Copy link
Member

rpetit3 commented Nov 16, 2023

If you are using Illumina data one thing you could consider is running Snippy with --skip_phylogeny then make use of the BAM files output from Snippy.

@Svnipni
Copy link
Author

Svnipni commented Nov 20, 2023

Thank you!
I tried running snippy before, but it didn't recognize the genbank reference file downloaded from NCBI.

echo "ERROR: Reference file (GCA_012767755.2.gb) does not appear to be a GenBank file"
      exit 1

Just for giggles, I tried it with the annotated .gbk.gz output from bactopia but got the same error.

@Caitgwill
Copy link

I ran into this issue with snippy. Snippy doesn't like zipped reference files. Unzip the gbk file and it should work.

@rpetit3
Copy link
Member

rpetit3 commented Nov 28, 2023

Should we fix this? In other words, should a compressed Genbank file be an allowed input? (I personally think it should be, and am failing to remember why I didn't allow it.)

@Caitgwill
Copy link

Yes, I think it would be good to allow compressed gbk and fna files as inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants