question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Complete genomes can be 'complete' or 'chromosome'

See original GitHub issue

We have a problem with bacterial genomes that sometimes the assembly_summary.txt file says complete and sometimes it says chromosome for finished bacterial genomes.

This is partially to do with the fact that bacteria usually only have 1 chromosome, but partially because they have plasmids too. It’s confusing.

If I want both, can I do -l complete -l chromosome to get both? Or so I run 2 commands with same -o folder?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tseemanncommented, Sep 11, 2016

I am thinking if --assembly-level or --format contain a “comma” , character then you could convert into a regexp and match using regexps in your filtering logic.

For example --format genbank,fasta,wgs would become ^(genbank|fasta|wgs)$

And --format protein-cds would just be ^(protein-cds)$ etc

I’ve used this method in my tools before and it works well. You could also use a hash/dict lookup by creating a want_format[ xxx ] = True/False system instead of regexp. This method also has the advantage that if you preset all the valid options to False then you can validate input easily.

1reaction
kblincommented, Sep 10, 2016

I will add this to the documentation. I’m just beginning to think that the features are outgrowing the README file and I need to start doing this properly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The complete sequence of a human genome | Science
Up to 99% of the complete CHM13 genome can be confidently mapped with long-read sequencing, opening these regions of the genome to ...
Read more >
genome | Learn Science at Scitable - Nature
A genome is the complete set of genetic information in an organism. ... living organisms, the genome is stored in long molecules of...
Read more >
Help for Assembly - NCBI - NIH
Complete genome - all chromosomes are gapless and have no runs of 10 or more ambiguous bases (Ns), there are no unplaced or...
Read more >
The Human Genome Is Finally Fully Sequenced - TIME
Ultimately, however, researchers will need a more complete human genome with the complete sequences of both maternal and paternal chromosomes.
Read more >
The Human Genome Is—Finally!—Complete - The Atlantic
Chromosomes, of which humans have 23 pairs, each consist of a long, continuous stretch of DNA that can be condensed into a rod...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found