Psy-Fer / SquiggleKit

SquiggleKit: A toolkit for manipulating nanopore signal data
MIT License
120 stars 23 forks source link

Exclude list rather than include #38

Closed Psy-Fer closed 3 years ago

Psy-Fer commented 3 years ago

Add a flag that allows you to exclude files from a dataset, by removing them (moving them) from the dataset.

A simple way to do this, would be to change the cp command to a mv command based on a flag.

This works for single files. For multi files, it's more complicated.

Psy-Fer commented 3 years ago

This is now an experimental option --move in fast5_fetcher.py

This means you can move unpacked files from one folder to another, in effect doing a small subtraction from a larger dataset. Some might find this useful, but only works on single-fast5 files for now.

Use at your own risk. Moving rather than copying files is dangerous.