You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently writing a PR for the "Java API for high-throughput sequencing data (HTS) formats". htsjdk project .
The goal of my PR samtools/htsjdk#1417 is to write a java code handling the '.2bit' format. My java code largely inspired by your C code twoBit.c
are you ok with including my code in the htsjdk project ? should I add any specific license (currently MIT) or any author in my code ?
a technical question: I need to build a SequenceDictionary where the order of the contigs must be the same than in the input fasta.
When faToTwoBit builds a '.2bit' file, is the order of the sequences in the original fasta file always the same than in the '.2bit' file (at this position, when reading : https://github.com/ucscGenomeBrowser/kent/blob/master/src/lib/twoBit.c#L658 ) or is there any re-ordering by a hash-table ?
Thank you,
Pierre
The text was updated successfully, but these errors were encountered:
Your proposed license is fine. Yes, you can use your code elsewhere.
Yes, it appears that the order you put fasta into the 2bit is the order you
will get out if you simply read it all:
Please be aware of the byte swapping issue. The kent C code will write out
files in the native byte order of the machine it is running on. There is a tag
in the file to indicate the byte order so that the reader can adjust to any
file encountered regardless of where it was produced. If you are also
creating a writer function, it should tag the file appropriately.
Hi the UCSC team,
I'm currently writing a PR for the "Java API for high-throughput sequencing data (HTS) formats". htsjdk project .
The goal of my PR samtools/htsjdk#1417 is to write a java code handling the '.2bit' format. My java code largely inspired by your C code twoBit.c
are you ok with including my code in the htsjdk project ? should I add any specific license (currently MIT) or any author in my code ?
a technical question: I need to build a SequenceDictionary where the order of the contigs must be the same than in the input fasta.
When faToTwoBit builds a '.2bit' file, is the order of the sequences in the original fasta file always the same than in the '.2bit' file (at this position, when reading : https://github.com/ucscGenomeBrowser/kent/blob/master/src/lib/twoBit.c#L658 ) or is there any re-ordering by a hash-table ?
Thank you,
Pierre
The text was updated successfully, but these errors were encountered: