Skip to main content

Change the sequence of a fastq file to enable sharing of confidential information, for troubleshooting of tools.

Project description

Change the sequence and identifier of a fastq file to enable sharing of confidential information for troubleshooting

INSTALLATION

pip install fastq-anonymous

USAGE

Reads from stdin and writes to stdout. Sequences are by default replaced by random nucleotides.
Fastq identifiers and description are also anonymized.
Read lengths and quality strings are preserverd.
optional arguments:
  -h, --help     show this help message and exit
  -v, --version  Print version and exit.
  -m, --mask     Mask all nucleotides using N

EXAMPLES

cat reads.fastq.gz | fastq-anonymous > anonymous_reads.fastq

gunzip -c reads.fastq.gz | fastq-anonymous > anonymous_reads.fastq

gunzip -c reads.fastq.gz | fastq-anonymous | gzip > anonymous_reads.fastq.gz

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastq-anonymous-1.0.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page