Comments (4)
Sorry - I just realized the output got cutoff in my original post. I do have the following files. I'll check them out now.
c_reads_against_query.s.bam
c_reads_against_query.s.bam.bai
from ragtag.
It turned out to be an issue with my reads file. Thanks!
from ragtag.
Hi there,
Thanks for bringing this to my attention. It's not clear from the log, but the log is actually truncated. In future versions, I will add a log message that signals the end of the program. Something like "bye".
So something went wrong between compressing and sorting the read alignments. Is the sam/bam file empty? Aside from that bam file, we should also see a sorted bam file named c_reads_against_query.s.bam
It is strange that things failed yet there is no error message from pysam or anything else. Would you be willing to share the data so that I can reproduce the error? Unfortunately, it looks like the error is silent which makes it hard to debug.
You may be eager to get results in the meantime. Assuming the c_reads_against_query.sam
looks ok, you can compress, sort and index it yourself with samtools (view
, sort
and index
). Just be sure to name the sorted bam file c_reads_against_query.s.bam
and put it in the same ragtag_output
directory. Then, when you run ragtag with the same command, it will recognize the sorted bam file and it will (hopefully) proceed as normal.
Thanks,
Mike
from ragtag.
I should be more clear - aside from just checking if the SAM/BAM file is empty, please check the general integrity of the files with samtools. I have a feeling something is going wrong with pysam here.
from ragtag.
Related Issues (20)
- RagTag patch bug HOT 2
- Ragtag.py merge RuntimeError: only complete components can be added to the graph error HOT 6
- Scaffold inserting strings of 100 N's? HOT 3
- A question about "correct" step in RagTag, I need help! HOT 3
- Question about installation HOT 1
- Large >270Mb contigs vs >14Gb reference
- Running RagTag on bacterial short-read assemblies
- RagTAg correct: "no attribute 'get_reference_length'" HOT 1
- correct use by the species. HOT 1
- Unable to fill gap with ragtag scaffold and patch
- Stop without error message on "Reading whole genome alignments"
- updategff issues
- From delta file to agp and to fasta file of scaffolded assembly?
- `ragtag scaffold` without concatenation
- the result of ragtag.merge.fasta shows no improvement.
- Scaffolding inserts gaps that aren't covered by HiFi or ONT reads and aren't in reference HOT 7
- Can't use multiple threads via -t HOT 3
- Scaffold longer than reference genome due to NNNNs HOT 3
- pysam error
- Error when running RagTag patch command HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ragtag.