Skip to content

Commit

Permalink
added --min-avg-coverage 0.01 to example 1 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Youngblut committed Jun 26, 2022
1 parent 3bf5537 commit 8665f7a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
md5sum --check UHGG-n9_bam2feat.md5
tar -pzxvf UHGG-n9_bam2feat.tar.gz && rm -f UHGG-n9_bam2feat.*
resmico bam2feat --outdir features UHGG-n9_bam2feat/map.tsv
resmico evaluate --save-path predictions --save-name default-model --feature-files-path features
resmico evaluate --min-avg-coverage 0.01 --save-path predictions --save-name default-model --feature-files-path features
- name: resmico readme example2
shell: bash -l {0}
working-directory: ${{runner.workspace}}/ResMiCo/
Expand Down
29 changes: 28 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,33 @@

![overview](https://user-images.githubusercontent.com/2468572/175315122-1ec3e6e3-419f-4154-af31-21b9dcb2e38f.png)

# Table of Contents

- [Introduction](#introduction)
- [Citation](#citation)
- [Installation](#installation)
* [Running the ResMiCo package tests](#running-the-resmico-package-tests)
- [General usage](#general-usage)
* [ResMiCo-SM snakemake pipeline](#resmico-sm-snakemake-pipeline)
* [ResMiCo package](#resmico-package)
+ [Creating feature tables](#creating-feature-tables)
+ [Predicting with existing model](#predicting-with-existing-model)
+ [Filtering out misassembled contigs](#filtering-out-misassembled-contigs)
+ [Training a new model](#training-a-new-model)
- [Example 1: predicting misassemblies with the "default" model](#example-1--predicting-misassemblies-with-the--default--model)
* [Working directory](#working-directory)
* [Get the example dataset](#get-the-example-dataset)
* [Convert BAM files to feature tables](#convert-bam-files-to-feature-tables)
* [Predict misassemblies](#predict-misassemblies)
* [Filter contigs](#filter-contigs)
- [Example2: Training & using a new model](#example2--training---using-a-new-model)
* [Working directory](#working-directory-1)
* [Get the example dataset](#get-the-example-dataset-1)
* [Filter out contigs predicted to be misassembled](#filter-out-contigs-predicted-to-be-misassembled)
* [Training on the example train data](#training-on-the-example-train-data)
* [Predict using the "default" model](#predict-using-the--default--model)
- [Tutorials](#tutorials)

# Introduction

ResMiCo is a deep learning model capable of detecting metagenome assembly errors.
Expand Down Expand Up @@ -73,7 +100,7 @@ slower than on a GPU, so we only recommend running on CPUs for testing.

### Creating feature tables

See `resmico bam2feat`
See `resmico bam2feat -h`

### Predicting with existing model

Expand Down

0 comments on commit 8665f7a

Please sign in to comment.