GithubHelp home page GithubHelp logo

merenlab / reads-for-assembly Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 4.0 343 KB

Simulate metagenomic short reads from one or more populations.

License: GNU General Public License v2.0

Python 100.00%
contigs fasta fastq metagenomics simulation

reads-for-assembly's People

Contributors

bladrome avatar meren avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

reads-for-assembly's Issues

Using this tool on dozens of bacterial genome assemblies

Hi I searched around for a tool that could simulate reads and stumbled on this. I have some sequences generated on MiSeq or HiSeq. There are roughly 100 assembled genomes....unfortunately I don't know where the original paired-end reads are as I didn't sequence these samples. I figured I could try simulating reads but it seems your tool isn't really designed for dozens of samples or am I wrong? Thanks for creating this tool!

Error generating reads

Hi again - I have some bacterial assemblies that were originally sequenced in another country and I am trying to use your tool. It appears all of the assemblies in my folder generate this error. I have attached an assembly for you to inspect.

ini file settings
[general]
output_sample_name = test
insert_size = 30
insert_size_std = 1
short_read_length = 250
error_rate = 0.01

Traceback (most recent call last):
  File "./gen-paired-end-reads", line 15, in <module>
    p.generate()
  File "/scicomp/groups/OID/NCHHSTP/DSTDB/LRRB/CRO_AZI_DataProcessing/reads-for-assembly-master/reads_for_assembly/generators.py", line 127, in generate
    start_pos = random.randint(0, L - (x * 2))
  File "/apps/x86_64/python/3.8.3/lib/python3.8/random.py", line 248, in randint
    return self.randrange(a, b+1)
  File "/apps/x86_64/python/3.8.3/lib/python3.8/random.py", line 226, in randrange
    raise ValueError("empty range for randrange() (%d, %d, %d)" % (istart, istop, width))
ValueError: empty range for randrange() (0, -57, -57)

395-12.zip

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.