Difference between revisions of "Python code created by Shim"
From Crop Genomics Lab.
Sangrea Shim (Talk | contribs) |
Sangrea Shim (Talk | contribs) |
||
Line 13: | Line 13: | ||
'''Variation typing code''' | '''Variation typing code''' | ||
+ | |||
+ | determine variation type from three files: fasta, gff3, vcf(generated by samtools pipeline) |
Revision as of 11:36, 26 March 2014
using class as a high speed searchable variation
class ClassName: def __init__(self,variation1,variation2,,,,): self.variation1=variation1 self.variation2=variation2 ...
import the files include this class then, input data which you'd like to input to an instance like this way
ClassName(Data4variation1,Data4variation2,,,,)
Variation typing code
determine variation type from three files: fasta, gff3, vcf(generated by samtools pipeline)