bioinform / longislnd

LongISLND - Long In silico Sequencing of Lengthy and Noisy Datatypes
Other
4 stars 4 forks source link

add adapter in read simulation #23

Closed yunfeiguo closed 8 years ago

yunfeiguo commented 8 years ago

Summary

Sorry for being late, I could have been faster if I did not spend too much time on understanding model file loading. Thanks!

bayolau commented 8 years ago

please remove all jar binaries from this pull request

bayolau commented 8 years ago

in general when multiple people are working on the codebase, we don't want to rename/refactor anything unless necessary. This will create merge problem

yunfeiguo commented 8 years ago

Cool. Thanks!

I will revert the changes in pom.xml. Also the refactoring need to be reverted too?

bayolau commented 8 years ago

Let me stress that your changes are great and are much needed. It's my bad that I didn't say anything before. Usually the refactoring commit should be pure cosmetic (without any functionality change) after a merge point but before branching off.

Since we got 3 active branches going, let's keep your changes to see if the other collide with yours (or you can see if fragment and slen will merge cleanly to yours.

yunfeiguo commented 8 years ago

Thanks! How does it look now?

On Wed, Oct 26, 2016 at 7:34 PM, bayolau notifications@github.com wrote:

@bayolau commented on this pull request.

In src/main/java/com/bina/lrsim/pb/Spec.java https://github.com/bioinform/longislnd/pull/23#pullrequestreview-5982877 :

@@ -122,6 +141,26 @@ public static Spec fromReadType(final String readType) { return UnknownSpec; }

  • public boolean isPolymeraseReadFlag() {
  • return polymeraseReadFlag;
  • }
  • public byte[] getAdapterSequence() {
  • return adapterSequence;
  • }
  • public void setPolymeraseReadFlag(final String outputPolymeraseRead) {
  • if (outputPolymeraseRead.equals("True")) {

this can be a bit dangerous since it's one-sided, let's try to use a boolean paramter here such that this.polymeraseReadFlag = outputPolymeraseRead

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/bioinform/longislnd/pull/23#pullrequestreview-5982877, or mute the thread https://github.com/notifications/unsubscribe-auth/AHYPzm6YwUgLQzXBjWhRQp3a2oMgFqvLks5q4A2egaJpZM4KctFe .

bayolau commented 8 years ago

+1 thanks @yunfeiguo