-
Notifications
You must be signed in to change notification settings - Fork 3
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
2 channel files #12
Comments
Hello You understood correctly, you could not generate a multi-channel file with OMSim v1.0.x. What you could do was generate multiple single channel files, by setting different labels for the different enzymes (you used As such, I have just pushed an update, OMSim v1.1.1, that introduces an additional post-processing step to merge these multiple single channel files into a single multi-channel file. You will still have to specify different label strings for each enzyme. So if you download the latest version and change the label identifiers in the XML, then it should now create a multi-channel BNX file. You could for example change the second label identifier to <enzymes>
<!--Location of the enzymes file-->
<file>enzymes.xml</file>
<!--Specification of one enzyme and its label-->
<enzyme>
<!--id of the enzyme-->
<id>BspQI</id>
<label>label_0</label>
<!--label used for this enzyme, different labels will result in different output files-->
</enzyme>
<!--Multiple enzymes can be specified, possibly with different labels-->
<enzyme>
<id>BssSI</id>
<label>label_1</label>
</enzyme>
</enzymes> Please let me know if it works for you now, or if there is still an issue. |
Great, thank you very much! I am going to have a look at it and keep you informed. |
As promised, here is a feedback. The latest version works like a charm and generates 2 channels files - that to my knowledge are compliant with BioNano format. Thank you very much :) |
Hello,
First of all, thank you very much for this helpful tool :-)
However, I encountered an unexpected issue.
The problem : I tried to generate a 2 channel bnx file. To do so, I used the provided example.xml config file located in example/ecoli. I simply modified the enzyme labels such that they both are the same (as instructed in the xml file). The enzyme part looks like this :
What I got : The bnx generation runs just fine and one file is created. Its content looks like this (only showing the header and the 2 first molecules) :
What I expected: Based on BioNano documentation (https://bionanogenomics.com/wp-content/uploads/2018/04/30038-BNX-File-Format-Specification-Sheet.pdf), I expected something different:
# Label Channels: 1
should indicate2
rather than1
Overall, I am a bit puzzled :-) Did I miss-understand something or is there a way to generate a 2 channel file as described by BioNano ?
Thanks in advance
The text was updated successfully, but these errors were encountered: