Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A software for creating and manipulating statistics from cfDNA data

NotificationsYou must be signed in to change notification settings

Hogfeldt/ctDNAtool

Repository files navigation

Run testsCode style: black

setup

To install dependencies and install ctDNAtool, it's recommended to first create a new clean Conda environment, and then run:

$ make init

This will install the dependencies as well as ctDNAtool. ctDNAtool will be installed in edit mode.

The software has two entrypoints:ctDNAtool, which contains the core functionality, andctDNAflow which defines a set of workflows, with what we consider the most common use cases of the tool.To see which commands are available and how to use them, use the--help flag as shown below:

$ ctDNAflow --help

or

$ ctDNAtool --help

Testing

To run the test suite with nox, check for formatting and linting errors, run:

$ make test

To run just the linter, run:

$ make lint

Debugging

To debug an invocation of the ctDNAtool, use the -d flag after ctDNAtool, as shown below.

$ ctDNAtool -d <COMMAND>

ctDNAflow

ctDNAflow is a tool for running workflows, based on the commands found in ctDNAtool.The workflows are compositions of multiple commands from ctDNAtool, and are designed with usability in mind.

Usage:

$ctDNAflow length-data-bed-bin<reference_genome_path><BAM_file_path>$ctDNAflow length-data-chr-bin<reference_genome_path><BAM_file_path>

Examples

The following is an example of an invocation of the command length-data-chr-bin. The command generates length data froma BAM file and bins it in chromosomes, then writes the output to a .tsv file.

$ ctDNAflow length-data-chr-bin hg19.2bit sample.bam -o length_data.tsv

In the example above, the output is directed to the length_data.tsv file.

Further documentation can be found by passing --help after ctDNAflow, or after aspecific command.

Output

The output of the commands are written to either a .pickle or .tsv file. For the commands concerning only length data, the defaultaction is to write the output to a .tsv file. The output can be written to a .picke file by passing the -p flag.For all other commands, the output is written to .pickle.The output can be directed using the -o option. If this is not provided, the output will be written to a default filename.

About

A software for creating and manipulating statistics from cfDNA data

Resources

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp