@teselagen/bio-parsers 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ export default jbeiXmlToJson;
2
+ declare function jbeiXmlToJson(string: any, options: any): Promise<any>;
package/jsonToBed.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export default jsonToBed;
2
+ declare function jsonToBed(jsonSequence: any, options?: {}): string;
@@ -0,0 +1 @@
1
+ export default function jsonToFasta(jsonSequence: any, options: any): string;
@@ -0,0 +1 @@
1
+ export default function _default(_serSeq: any, options: any): string | false;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @param {*} incomingJson
3
+ * @returns a sequence json cleaned up and converted to a string with extranous fields ommited
4
+ */
5
+ export default function jsonToJsonString(incomingJson: any): string;
package/package.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "@teselagen/bio-parsers",
3
+ "version": "0.1.1",
4
+ "type": "commonjs",
5
+ "dependencies": {
6
+ "@gmod/gff": "^1.2.1",
7
+ "buffer": "^6.0.3",
8
+ "bufferpack": "^0.0.6",
9
+ "color": "^4.2.3",
10
+ "fast-xml-parser": "^4.0.9",
11
+ "fflate": "^0.7.4",
12
+ "lodash": "^4.17.21",
13
+ "string_decoder": "^1.3.0",
14
+ "validate.io-nonnegative-integer-array": "^1.0.1"
15
+ }
16
+ }
@@ -0,0 +1,2 @@
1
+ export default sbolXmlToJson;
2
+ declare function sbolXmlToJson(string: any, options: any): Promise<any>;
@@ -0,0 +1,2 @@
1
+ export default snapgeneToJson;
2
+ declare function snapgeneToJson(fileObj: any, options?: {}): Promise<any>;
@@ -0,0 +1 @@
1
+ export function reformatName(pName: string): string;
@@ -0,0 +1 @@
1
+ export default function cleanUpTeselagenJsonForExport(tgJson: any): any;
@@ -0,0 +1,22 @@
1
+ export const untitledSequenceName: "Untitled Sequence";
2
+ export namespace gbDivisions {
3
+ const PRI: boolean;
4
+ const ROD: boolean;
5
+ const MAM: boolean;
6
+ const VRT: boolean;
7
+ const INV: boolean;
8
+ const PLN: boolean;
9
+ const BCT: boolean;
10
+ const VRL: boolean;
11
+ const PHG: boolean;
12
+ const SYN: boolean;
13
+ const UNA: boolean;
14
+ const EST: boolean;
15
+ const PAT: boolean;
16
+ const STS: boolean;
17
+ const GSS: boolean;
18
+ const HTG: boolean;
19
+ const HTC: boolean;
20
+ const ENV: boolean;
21
+ const CON: boolean;
22
+ }
@@ -0,0 +1 @@
1
+ export default function convertOldSequenceDataToNewDataType(oldTeselagenJson: any, opts: any): void;
@@ -0,0 +1,9 @@
1
+ export default function createInitialSequence(options: any): {
2
+ messages: never[];
3
+ success: boolean;
4
+ parsedSequence: {
5
+ features: never[];
6
+ name: any;
7
+ sequence: string;
8
+ };
9
+ };
@@ -0,0 +1 @@
1
+ export default function extractFileExtension(name: any): string;
@@ -0,0 +1 @@
1
+ export default function flattenSequenceArray(parsingResultArray: any, opts: any): any;
@@ -0,0 +1 @@
1
+ export default function getArrayBufferFromFile(file: any): ArrayBuffer | Promise<any>;
@@ -0,0 +1,2 @@
1
+ declare const _default: boolean;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export default function parseUracilFeatures(sequenceBps: any, featureList?: any[]): any;
@@ -0,0 +1,8 @@
1
+ declare const _default: ({
2
+ type: string;
3
+ pragma?: undefined;
4
+ } | {
5
+ pragma: string;
6
+ type: string;
7
+ })[];
8
+ export default _default;
@@ -0,0 +1,11 @@
1
+ export default function searchWholeObjByName(what: any, where: any): Match[];
2
+ export function searchWholeObjByNameSimple(what: any, where: any): any;
3
+ export function searchWholeObjByNameSimpleArray(what: any, where: any): any;
4
+ declare class Match {
5
+ constructor(props: any);
6
+ value: any;
7
+ toString(): string;
8
+ logValue(): any;
9
+ log(): void;
10
+ }
11
+ export {};
@@ -0,0 +1 @@
1
+ export default function splitStringIntoLines(string: any): any;
@@ -0,0 +1,5 @@
1
+ export function unmangleUrls(str: any): any;
2
+ export function mangleOrStripUrls(str: any, { mangleUrls, doNotMangleOrStripUrls }?: {
3
+ mangleUrls: any;
4
+ doNotMangleOrStripUrls: any;
5
+ }): any;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * validation and sanitizing of our teselagen sequence data type
3
+ * @param {object} sequence Our teselagen sequence data type
4
+ * @return response {
5
+ validatedAndCleanedSequence: {},
6
+ messages: [],
7
+ };
8
+ */
9
+ export default function validateSequence(sequence: object, options?: {}): {
10
+ validatedAndCleanedSequence: {};
11
+ messages: never[];
12
+ };
@@ -0,0 +1 @@
1
+ export default function validateSequenceArray(parsingResultArray: any, options: any): any;