public SmallRNAMapperLincRNA(string mapperName, ISmallRNACountProcessorOptions options) : base(mapperName, options, feature => feature.Category.Equals(mapperName))
 {
 }
예제 #2
0
 public SmallRNAMapperTRNA(ISmallRNACountProcessorOptions options, bool allowNTA, HashSet <string> cca) :
     base(new SmallRNABiotype[] { SmallRNABiotype.tRNA, SmallRNABiotype.mt_tRNA }, options)
 {
     this.allowNTA = allowNTA;
     this.cca      = cca;
 }
 public SmallRNAMapperLongRNA(string mapperName, ISmallRNACountProcessorOptions options, Func <FeatureLocation, bool> accept) : base(mapperName, options, accept)
 {
 }
예제 #4
0
 public SmallRNAMapperMicroRNA(ISmallRNACountProcessorOptions options, bool hasNTA) : base(SmallRNABiotype.miRNA, options)
 {
     this.hasNTA = hasNTA;
 }
예제 #5
0
 public SmallRNAMapperRRNADB(ISmallRNACountProcessorOptions options) : base("rRNADB", options, feature => feature.Name.Contains(SmallRNAConsts.rRNADB_KEY) || feature.Name.Contains("SILVA_"))
 {
 }
예제 #6
0
 public SmallRNAMapperBiotypes(SmallRNABiotype[] biotypes, ISmallRNACountProcessorOptions options) : base(options)
 {
     _biotypes  = new HashSet <string>(from b in biotypes select b.ToString());
     MapperName = StringUtils.Merge(from b in biotypes select b.ToString(), "/");
     Accept     = m => _biotypes.Contains(m.Category);
 }
예제 #7
0
 public SmallRNAMapperBiotype(SmallRNABiotype biotype, ISmallRNACountProcessorOptions options) : base(biotype.ToString(), options, feature => feature.Category.Equals(biotype.ToString()))
 {
 }
예제 #8
0
 public SmallRNAMapper(string mapperName, ISmallRNACountProcessorOptions options, Func <FeatureLocation, bool> accept)
 {
     this.MapperName = mapperName;
     this.Options    = options;
     this.Accept     = accept;
 }
예제 #9
0
 public SmallRNAMapper(ISmallRNACountProcessorOptions options)
 {
     this.MapperName = "Unknown";
     this.Options    = options;
     this.Accept     = m => true;
 }