Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for more minimap2 arguments (added since v2.22) #37

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Each step of the installation process is expected to take a matter of seconds.

| Command | Default | Description |
| :------- | :----- | :-------- |
|--type | map-ont | denote sequencer [short-read:sr, Pac-Bio:map-pb, ONT:map-ont] |
|--type | map-ont | denote sequencer [short-read:sr, Pac-Bio:map-pb, ONT:map-ont, Nanopore Q20:lr:hq, PacBio HiFi:map-hifi, traditional cDNA:splice:hq] |
|--min-abundance| 0.0001| generates results with species relative abundance above this value in addition to full results; .01 = 1%|
|--db| $EMU_DATABASE_DIR| path to emu database; directory must include the following files: names_df.tsv, nodes_df.tsv, species_taxid.fasta, unqiue_taxids.tsv|
|--N| 50| max number of alignments utilized for each read in minimap2|
Expand Down
4 changes: 2 additions & 2 deletions emu
Original file line number Diff line number Diff line change
Expand Up @@ -697,8 +697,8 @@ if __name__ == "__main__":
'input_file', type=str, nargs='+',
help='filepath to input nt sequence file')
abundance_parser.add_argument(
'--type', '-x', choices=['map-ont', 'map-pb', 'sr'], default='map-ont',
help='short-read: sr, Pac-Bio:map-pb, ONT:map-ont [map-ont]')
'--type', '-x', choices=['map-ont', 'map-pb', 'sr', 'lr:hq', 'map-hifi', 'splice:hq'], default='map-ont',
help='short-read: sr, Pac-Bio:map-pb, ONT:map-ont, ... [map-ont]')
abundance_parser.add_argument(
'--min-abundance', '-a', type=float, default=0.0001,
help='min species abundance in results [0.0001]')
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ dependencies:
- numpy >=1.11
- pandas >=1.1
- flatten-dict
- minimap2 >=2.22
- minimap2 >=2.27