Code Monkey home page Code Monkey logo

blasttosam's Introduction

Hi there ๐Ÿ‘‹

blasttosam's People

Contributors

astrorenales avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

wan-f12

blasttosam's Issues

What BLAST-output format is required as input?

Hi,

thanks for this nice tool!
I am looking forward to using it.
Could you please specify (maybe also in the README) what BLAST output format is supposed to be the input (ASN.1, XML, etc.)?

Thank you very much.

Best,

Cedric

Error about converting .sam to .bam after BlastToSam

Hi,

I get the following error message from SAMtools-0.1.19 with the most recent version of BlastToSam when applying it to an NCBI-BLAST+-2.2.30-based alignment of two reconstructed bacterial genomes, i.e., both represented by multiple contigs.
Unfortunately, I can not share the files but the command lines used:

blastn -num_threads 12 -query query.fa -db ./target -outfmt 11 -out ./query-blastn_against-target.asn
blast_formatter -archive ./query-blastn_against-target.asn -out ./query-blastn_against-target.out -outfmt 0
java -jar BlastToSam.jar -i query-blastn_against-target.out -o query-blastn_against-target.out.sam
samtools view -bS query-blastn_against-target.out.sam > query-blastn_against-target.out.bam

Do you have any idea what might be the problem?

[samopen] SAM header is present: 29 sequences.
Line 129, sequence length 129 vs 117 from CIGAR
Parse error at line 129: CIGAR and sequence length are inconsistent
Aborted

Thank you very much for your support.

Best,

Cedric

UPDATE:
I tried SAMtools-1.2 which returns the following

[E::sam_parse1] CIGAR and query sequence are of different length
[W::sam_read1] parse error at line 129
[main_samview] truncated file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.