Comments (3)
I'm not completely certain I recommend alignparse
as a general purpose way to run minimap2
. But I can see where it might be useful. If you want me to do this, can you create and post a short example including the commands you are. using and a small data file with the tags you want to keep.
from alignparse.
Hi,
I've actually found out that the -y
option of minimap2 is suitable for my needs, because it retains the tags that I need, so I ended up not using alignparse for my analyses. Before, I realized this I had been playing around a little with the code to try and implement retaining tags of the B-type, I will try to create pull-request to show what I had tried (I am not very experienced so I apologize if I make a mistake).
I have attached a small subset of the reads that contain the MM and ML tags that I'm interested in.
The commands I used were:
test_ref_file = '/home/cdebuck/ref.fasta'
test_fastq = '/home/cdebuck/sample_fastq.txt'
out_sam_file = '/home/cdebuck/test/alignparse_test_minimap.sam'
options = ['-ax', 'map-ont', '-t 16']
retain_tags = ['MM', 'ML']
mapper = minimap2.Mapper(options, check_cs=False, retain_tags=retain_tags)
mapper.map_to_sam(test_ref_file, test_fastq, out_sam_file)
from alignparse.
Great, thanks. I'm closing this issue then.
from alignparse.
Related Issues (20)
- LASV example targets / parse specs HOT 2
- add `mybinder` link to examples HOT 1
- expand README HOT 2
- JOSS paper HOT 2
- dependencies for mybinder HOT 1
- YAML + FASTA or YAML only input files HOT 2
- Version requirement for minimap2? HOT 2
- Support for compressed input files HOT 2
- Lassa virus example/other aligners in manuscript HOT 2
- PySAM problems with Python 3.8 + OS X HOT 5
- Citation/acknowledgements HOT 1
- parse passes from `ccs` version 5.0 FASTQ ccs files HOT 1
- Strand alignment with OPTIONS_VIRUS_W_DEL
- Why use Genbank's type for your feature name? HOT 2
- What do {'spacer', 'termini3', 'gene', 'termini5'} each represent? HOT 1
- MyBinder Connection Failed HOT 2
- `pandas` has deprecated `append`
- f"string=" issue HOT 2
- possible bug with indel consensus? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alignparse.