Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Read sequencer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
zavolan_group
tools
Read sequencer
Commits
3f8464a3
Commit
3f8464a3
authored
2 years ago
by
Christoph Harmel
Browse files
Options
Downloads
Patches
Plain Diff
fix: small edits
parent
335f9a46
No related branches found
No related tags found
1 merge request
!36
fix: small edits
Pipeline
#14961
passed
2 years ago
Stage: build
Stage: test
Stage: deploy
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+2
-1
2 additions, 1 deletion
.gitignore
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
README.md
+28
-5
28 additions, 5 deletions
README.md
readsequencer/cli.py
+1
-1
1 addition, 1 deletion
readsequencer/cli.py
with
32 additions
and
8 deletions
.gitignore
+
2
−
1
View file @
3f8464a3
.DS_Store
.idea/
read_sequencer.egg-info
readsequencer.egg-info
# Created by https://www.toptal.com/developers/gitignore/api/python
# Edit at https://www.toptal.com/developers/gitignore?templates=python
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
1
−
1
View file @
3f8464a3
FROM
python:3.11.1-slim-bullseye
# MAINTAINER add_maintainer
MAINTAINER
"Christoph Harmel"
# set names for user, group and user home
ARG
USER="bioc"
ARG
GROUP="bioc"
...
...
This diff is collapsed.
Click to expand it.
README.md
+
28
−
5
View file @
3f8464a3
...
...
@@ -2,25 +2,48 @@
## Overview
Read Sequencer is a
test
python package to simulate sequencing.
Read Sequencer is a python package to simulate sequencing.
It reads fasta files, simulate sequencing with specified read length and writes the resulting sequences into a new fasta file.
## Installation from
PyPI
## Installation from
github
Read Sequencer requires Python 3.9 or later.
Install Read Sequencer from
PyPI
using:
Install Read Sequencer from
Github
using:
```
pip install -i https://test.pypi.org/simple/ read-sequencer==0.1.1
git clone https://git.scicore.unibas.ch/zavolan_group/tools/read-sequencer.git
cd read-sequencer
pip install .
```
## Usage
```
read_sequencer --input_file_path --output_file_path --read_length
usage: read_sequencer [-h] [-i INPUT] [-r READ_LENGTH] [-n N_RANDOM] [-s CHUNK_SIZE] output
Simulates sequencing of DNA sequences specified by an FASTA file.
positional arguments:
output path to FASTA file
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
path to FASTA file
-r READ_LENGTH, --read-length READ_LENGTH
read length for sequencing
-n N_RANDOM, --n_random N_RANDOM
n random sequences. Just used if input fasta file is not specified.
-s CHUNK_SIZE, --chunk-size CHUNK_SIZE
chunk_size for batch processing
```
## Docker
The docker image is available on docker hub: https://hub.docker.com/r/grrchrr/readsequencer
## Contributors and Contact Information
Christoph Harmel - christoph.harmel@unibas.ch
...
...
This diff is collapsed.
Click to expand it.
readsequencer/cli.py
+
1
−
1
View file @
3f8464a3
...
...
@@ -7,7 +7,7 @@ LOG = logging.getLogger(__name__)
def
main
():
parser
=
argparse
.
ArgumentParser
(
prog
=
"
read
_
sequencer
"
,
prog
=
"
readsequencer
"
,
description
=
"
Simulates sequencing of DNA sequences specified by an FASTA file.
"
,
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment