Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rpetit3 committed Oct 31, 2023
1 parent 67f044d commit 3f492d0
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.2.0 rpetit3/dragonflye "" - 2023/11/??

* add contig reorientation using dnaapler

## v1.1.2 rpetit3/dragonflye "Eastern amberwing" - 2023/10/23

* minor changes to CI testing
Expand Down
27 changes: 22 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ Dragonflye is a pipeline that aims to make assembling Oxford Nanopore reads quic
7. Polish assembly with short reads via [Polypolish](https://github.com/rrwick/Polypolish) and/or [Pilon](https://github.com/broadinstitute/pilon)
8. Remove contigs that are too short, too low coverage, or pure homopolymers
9. Produce final FASTA with nicer names and parsable annotations
10. Output parsable assembly statistics ([assembly-scan](https://github.com/rpetit3/assembly-scan))
10. Reorient contigs from final FASTA using [dnaapler](https://github.com/gbouras13/dnaapler)
11. Output parsable assembly statistics ([assembly-scan](https://github.com/rpetit3/assembly-scan))

## Quick Start

Expand All @@ -65,10 +66,16 @@ ls dragonflye/
contigs.fa contigs.gfa dragonflye.log flye-info.txt flye.fasta
head -n4 dragonfly/contigs.fa
>contig00001 len=4818942 cov=62.0 corr=0 origname=contig_1 sw=dragonflye-flye/0.0.1 date=20210720 circular=Y
TTAATTTGATGCCTGGCAGTTCCCTACTCTCGCATGGGGAGACCCCACACTACCATCGGC
GCTACGGCGTTTCACTTCTGAGTTCGGCATGGGGTCAGGTGGGACCACCGCGCTAAGGCC
GCCAGGCAAATTCTGTTTTATCAGACCGCTTCTGCGTTCTGATTTAATCTGTATCAGGCT
>contig00001 len=2753792 origname=Utg1024_LN:i:2753792_RC:i:486_XO:i:0 polish=none sw=dragonflye-raven/1.2.0 date=20231031
TTCTATTTATCAGTATCATTACTTTTATATTATCGATAATTAATCCGAACATATCATTAA
TCAAGTTATTATTCGAAGTGGTTTTGCTGCATTTGGAACAGTCGGGTTAAGTATGAACCT
TACCACAGAAGATAATAATGGTATTACTAAAATAATTATTATATTCGTTATGCTTTGCGG
head -n4 dragonfly/contigs.reoriented.fa
>contig00001 len=2753792 origname=Utg1024_LN:i:2753792_RC:i:486_XO:i:0 polish=none sw=dragonflye-raven/1.2.0 date=20231031 rotated=True
ATGTCGGAAAAAGAAATTTGGGAAAAGTGCTTGAAATTGCTCAAGAAAAATTATCAGCTG
TAAGTTACTCAACTTTCCTAAAAGATGACGAGGCTTTACACGATTAAAGATGGTGAAGCT
ATCGTATTATCGAGTATTCCTTTTAATGCAAATTGGTTAAATCAACAATATGCTGAAATT
```

## Installation
Expand Down Expand Up @@ -130,6 +137,10 @@ SHORT-READ POLISHER
--pilon N Number of polishing rounds to conduct with Pilon (requires --R1 and --R2) (default: 0)
--R1 XXX Read 1 FASTQ to use for polishing (default: '')
--R2 XXX Read 2 FASTQ to use for polishing (default: '')
REORIENT
--noreorient Disable contig reorientation using dnaapler (default: OFF)
--dnaapler_mode XXX The mode of reorientation to execute (default: 'all')
--dnaapler_opts XXX Extra dnaapler options in quotes eg. '--evalue 1e-5' (default: '')
MODULES
--trim Enable adaptor trimming (default: OFF)
--trimopts XXX Extra porechop options in quotes eg. '--adapter_threshold 80' (default: '')
Expand Down Expand Up @@ -223,6 +234,8 @@ Variable | Option | Default
Filename | Description
---------|------------
`contigs.fa` | The final assembly you should use
`contigs.reoriented.fa` | If available, a reorientation of the final assembly
`contigs.dnaapler.summary.tsv` | If available, a summary description of reoriented contigs
`contigs.gfa` | Assembly graph
`dragonflye.log` | Full log file for bug reporting
`flye.fasta` | Raw assembly (flye)
Expand Down Expand Up @@ -273,6 +286,10 @@ _Petit III, RA [assembly-scan: generate basic stats for an assembly](https://git
Burrow-Wheeler Aligner for short-read alignment
_Li, H [Aligning sequence reads, clone sequences and assembly contigs with BWA-MEM](http://arxiv.org/abs/1303.3997). arXiv [q-bio.GN] (2013)_

* __[dnaapler](https://github.com/gbouras13/dnaapler)__
Reorients assembled microbial sequences
_Bouras G [dnaapler: Reorients assembled microbial sequences ](https://github.com/gbouras13/dnaapler)_

* __[fastp](https://github.com/OpenGene/fastp)__
An ultra-fast all-in-one FASTQ preprocessor (QC/adapters/trimming/filtering/splitting/merging...)
_Chen, S, Zhou, Y, Chen, Y, Gu, J, [fastp: an ultra-fast all-in-one FASTQ preprocessor](https://doi.org/10.1093/bioinformatics/bty560), Bioinformatics, Volume 34, Issue 17 (2018)_
Expand Down
2 changes: 1 addition & 1 deletion bin/dragonflye
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ unless ($noreorient) {
$files_found++;
}
if (-e "$asmdir/reorient/${prefix}_reoriented.fasta") {
run_cmd("mv $asmdir/reorient/${prefix}_reoriented.fasta ./${prefix}.reoriented.fa}");
run_cmd("mv $asmdir/reorient/${prefix}_reoriented.fasta ./${prefix}.reoriented.fa");
$files_found++;
}

Expand Down

0 comments on commit 3f492d0

Please sign in to comment.