Repository 'gstf_preparation'
hg clone https://toolshed.g2.bx.psu.edu/repos/earlhaminst/gstf_preparation

Changeset 10:e8e75a79de59 (2019-10-31)
Previous changeset 9:f4acbfe8d6fe (2018-10-17) Next changeset 11:dbe37a658cd2 (2020-09-27)
Commit message:
"planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/gstf_preparation commit 9c8611fee927883f50bc6955771aa69df1ce8457"
modified:
gstf_preparation.py
gstf_preparation.xml
added:
test-data/MGP_PahariEiJ_G0008413.1.gff3
test-data/Mus_pahari.PAHARI_EIJ_v1.1.cds.all.shortened.fa
test-data/test6.fasta
test-data/test6.sqlite
removed:
test-data/test1.ns.fasta
test-data/test4.ns.fasta
test-data/test5.sqlite
b
diff -r f4acbfe8d6fe -r e8e75a79de59 gstf_preparation.py
--- a/gstf_preparation.py Wed Oct 17 07:31:29 2018 -0400
+++ b/gstf_preparation.py Thu Oct 31 08:16:51 2019 -0400
[
@@ -2,6 +2,7 @@
 
 import json
 import optparse
+import os
 import sqlite3
 import sys
 
@@ -114,10 +115,7 @@
         # a 5' UTR can be split among multiple exons
         # a CDS can be part of multiple transcripts
         for parent in d['Parent'].split(','):
-            if parent not in parent_dict:
-                parent_dict[parent] = [d]
-            else:
-                parent_dict[parent].append(d)
+            parent_dict.setdefault(parent, []).append(d)
     return d
 
 
@@ -139,6 +137,8 @@
 
 def add_transcript_to_dict(cols, species, transcript_dict):
     transcript = feature_to_dict(cols)
+    if 'biotype' in transcript and transcript['biotype'] != 'protein_coding':
+        return
     transcript.update({
         'object_type': 'Transcript',
         'seq_region_name': cols[0],
@@ -302,7 +302,7 @@
     parser.add_option('--regions', default="", help='Comma-separated list of region IDs for which FASTA sequences should be filtered')
     parser.add_option('-o', '--output', help='Path of the output SQLite file')
     parser.add_option('--of', help='Path of the output FASTA file')
-    parser.add_option('--ff', help='Path of the filtered sequences output FASTA file')
+    parser.add_option('--ff', default=os.devnull, help='Path of the filtered sequences output FASTA file')
 
     options, args = parser.parse_args()
     if args:
@@ -403,10 +403,7 @@
             else:
                 break
 
-            if gene_id in gene_transcripts_dict:
-                gene_transcripts_dict[gene_id].append((transcript_id, len(entry.sequence)))
-            else:
-                gene_transcripts_dict[gene_id] = [(transcript_id, len(entry.sequence))]
+            gene_transcripts_dict.setdefault(gene_id, []).append((transcript_id, len(entry.sequence)))
 
     if options.longestCDS:
         # For each gene, select the transcript with the longest sequence.
b
diff -r f4acbfe8d6fe -r e8e75a79de59 gstf_preparation.xml
--- a/gstf_preparation.xml Wed Oct 17 07:31:29 2018 -0400
+++ b/gstf_preparation.xml Thu Oct 31 08:16:51 2019 -0400
[
@@ -1,7 +1,6 @@
 <tool id="gstf_preparation" name="GeneSeqToFamily preparation" version="0.4.1">
     <description>converts data for the workflow</description>
-    <command detect_errors="exit_code">
-<![CDATA[
+    <command detect_errors="exit_code"><![CDATA[
 python '$__tool_directory__/gstf_preparation.py'
 #for $q in $queries
     --gff3 '${q.genome}:${q.gff3_input}'
@@ -22,12 +21,11 @@
 #end if
 #if $regions
     --regions '$regions'
+    --ff '$filtered_fasta'
 #end if
 -o '$output_db'
 --of '$output_fasta'
---ff '$filtered_fasta'
-]]>
-    </command>
+    ]]></command>
 
     <inputs>
         <repeat name="queries" title="GFF3 dataset">
@@ -40,58 +38,56 @@
         <param name="fasta_inputs" type="data" format="fasta" multiple="true" label="Corresponding CDS datasets in FASTA format" help="Each FASTA header line should start with a transcript id" />
         <param name="longestCDS" type="boolean" checked="false" label="Keep only the longest CDS per gene" />
         <param name="headers" type="boolean" checked="true" label="Change the header line of the FASTA sequences to the &gt;TranscriptId_species format" help="As required by TreeBest, part of the GeneSeqToFamily workflow" />
-        <param name="regions" type="text" optional="true" label="Comma-separated list of region IDs (e.g. chromosomes or scaffolds) for which FASTA sequences should be filtered" help="Region IDs are in the `seqid` column for GFF3 and in the `seq_region_name` field in JSON. This is typically used to filter chromosomes with a non-standard genetic code, like mitochondria, to be analysed separately" />
+        <param name="regions" type="text" optional="true" label="Comma-separated list of region IDs (e.g. chromosomes or scaffolds) for which FASTA sequences should be filtered out" help="Region IDs are in the `seqid` column for GFF3 and in the `seq_region_name` field in JSON. This is typically used to filter out chromosomes with a non-standard genetic code, like mitochondria, to be analysed separately" />
     </inputs>
 
     <outputs>
-         <data name="output_db" format="sqlite" label="${tool.name} on ${on_string}: SQLite" />
-         <data name="output_fasta" format="fasta" label="${tool.name} on ${on_string}: FASTA" />
-         <data name="filtered_fasta" format="fasta" label="${tool.name} on ${on_string}: filtered sequences" />
+        <data name="output_db" format="sqlite" label="${tool.name} on ${on_string}: SQLite" />
+        <data name="output_fasta" format="fasta" label="${tool.name} on ${on_string}: FASTA" />
+        <data name="filtered_fasta" format="fasta" label="${tool.name} on ${on_string}: filtered sequences">
+            <filter>regions</filter>
+        </data>
     </outputs>
 
     <tests>
-        <test>
+        <test expect_num_outputs="2">
             <param name="fasta_inputs" ftype="fasta" value="Caenorhabditis_elegans.WBcel235.cds.all.shortened.fa" />
             <param name="gff3_input" ftype="gff3" value="Caenorhabditis_elegans.WBcel235.87.chromosome.I.shortened.gff3" />
             <param name="genome" value="caenorhabditis_elegans" />
             <param name="longestCDS" value="false" />
             <param name="headers" value="true" />
 
-            <output name="output_db" file="test1.sqlite" compare="sim_size" />
+            <output name="output_db" file="test1.sqlite" compare="sim_size" delta="30000" />
             <output name="output_fasta" file="test1.fasta" />
-            <output name="filtered_fasta" file="test1.ns.fasta" />
         </test>
-        <test>
+        <test expect_num_outputs="2">
             <param name="fasta_inputs" ftype="fasta" value="Caenorhabditis_elegans.WBcel235.cds.all.shortened.fa" />
             <param name="gff3_input" ftype="gff3" value="Caenorhabditis_elegans.WBcel235.87.chromosome.I.shortened.gff3" />
             <param name="genome" value="caenorhabditis_elegans" />
             <param name="longestCDS" value="true" />
             <param name="headers" value="true" />
 
-            <output name="output_db" file="test1.sqlite" compare="sim_size" />
+            <output name="output_db" file="test1.sqlite" compare="sim_size" delta="30000" />
             <output name="output_fasta" file="test1_longest.fasta" />
-            <output name="filtered_fasta" file="test1.ns.fasta" />
         </test>
-        <test>
+        <test expect_num_outputs="2">
             <param name="fasta_inputs" ftype="fasta" value="Caenorhabditis_elegans.WBcel235.cds.all.shortened.fa" />
             <param name="gff3_input" ftype="gff3" value="Caenorhabditis_elegans.WBcel235.87.chromosome.I.shortened.gff3" />
             <param name="genome" value="caenorhabditis_elegans" />
             <param name="longestCDS" value="false" />
             <param name="headers" value="false" />
 
-            <output name="output_db" file="test1.sqlite" compare="sim_size" />
+            <output name="output_db" file="test1.sqlite" compare="sim_size" delta="30000" />
             <output name="output_fasta" file="Caenorhabditis_elegans.WBcel235.cds.all.shortened.fa" />
-            <output name="filtered_fasta" file="test1.ns.fasta" />
         </test>
-        <test>
+        <test expect_num_outputs="2">
             <param name="fasta_inputs" ftype="fasta" value="CDS.fasta" />
             <param name="json" ftype="json" value="gene.json" />
             <param name="longestCDS" value="false" />
             <param name="headers" value="true" />
 
-            <output name="output_db" file="test4.sqlite" compare="sim_size" />
+            <output name="output_db" file="test4.sqlite" compare="sim_size" delta="30000" />
             <output name="output_fasta" file="test4.fasta" />
-            <output name="filtered_fasta" file="test4.ns.fasta" />
         </test>
         <test>
             <param name="fasta_inputs" ftype="fasta" value="CDS.fasta" />
@@ -100,13 +96,22 @@
             <param name="headers" value="true" />
             <param name="regions" value="X" />
 
-            <output name="output_db" file="test5.sqlite" compare="sim_size" />
+            <output name="output_db" file="test4.sqlite" compare="sim_size" delta="30000" />
             <output name="output_fasta" file="test5_filtered.fasta" />
             <output name="filtered_fasta" file="test5.ns.fasta" />
         </test>
+        <test expect_num_outputs="2">
+            <param name="fasta_inputs" ftype="fasta" value="Mus_pahari.PAHARI_EIJ_v1.1.cds.all.shortened.fa" />
+            <param name="gff3_input" ftype="gff3" value="MGP_PahariEiJ_G0008413.1.gff3" />
+            <param name="genome" value="mus_pahari" />
+            <param name="longestCDS" value="true" />
+            <param name="headers" value="true" />
+
+            <output name="output_db" file="test6.sqlite" compare="sim_size" delta="30000" />
+            <output name="output_fasta" file="test6.fasta" />
+        </test>
     </tests>
-    <help>
-<![CDATA[
+    <help><![CDATA[
 **What it does**
 
 This tool converts a set of GFF3 and/or JSON gene feature information datasets into SQLite format.
@@ -140,8 +145,7 @@
 .. class:: warningmark
 
 If a value in the **ID** and **Parent** attribute contains a colon, everything up to the first colon will be discarded.
-]]>
-    </help>
+    ]]></help>
     <citations>
     </citations>
 </tool>
b
diff -r f4acbfe8d6fe -r e8e75a79de59 test-data/MGP_PahariEiJ_G0008413.1.gff3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/MGP_PahariEiJ_G0008413.1.gff3 Thu Oct 31 08:16:51 2019 -0400
b
b'@@ -0,0 +1,139 @@\n+##gff-version 3\n+##sequence-region 13 1 96704406\n+13\tEnsembl\tgene\t62596741\t62686932\t.\t+\t.\tID=MGP_PahariEiJ_G0008413.1;Name=MGP_PahariEiJ_G0008413.1;biotype=polymorphic_pseudogene\n+13\tEnsembl\ttranscript\t62596741\t62626623\t.\t+\t.\tID=MGP_PahariEiJ_T0009933.1;Name=MGP_PahariEiJ_T0009933.1;Parent=MGP_PahariEiJ_G0008413.1;biotype=protein_coding\n+13\tEnsembl\ttranscript\t62596741\t62686932\t.\t+\t.\tID=MGP_PahariEiJ_T0009934.1;Name=MGP_PahariEiJ_T0009934.1;Parent=MGP_PahariEiJ_G0008413.1;biotype=polymorphic_pseudogene\n+13\tEnsembl\ttranscript\t62596766\t62625799\t.\t+\t.\tID=MGP_PahariEiJ_T0009935.1;Name=MGP_PahariEiJ_T0009935.1;Parent=MGP_PahariEiJ_G0008413.1;biotype=retained_intron\n+13\tEnsembl\ttranscript\t62660839\t62686932\t.\t+\t.\tID=MGP_PahariEiJ_T0009936.1;Name=MGP_PahariEiJ_T0009936.1;Parent=MGP_PahariEiJ_G0008413.1;biotype=processed_transcript\n+13\tEnsembl\ttranscript\t62671962\t62686919\t.\t+\t.\tID=MGP_PahariEiJ_T0009937.1;Name=MGP_PahariEiJ_T0009937.1;Parent=MGP_PahariEiJ_G0008413.1;biotype=processed_transcript\n+13\tEnsembl\ttranscript\t62671962\t62686918\t.\t+\t.\tID=MGP_PahariEiJ_T0009938.1;Name=MGP_PahariEiJ_T0009938.1;Parent=MGP_PahariEiJ_G0008413.1;biotype=protein_coding\n+13\tEnsembl\tintron\t62596975\t62624027\t.\t+\t.\tName=intron00001;Parent=MGP_PahariEiJ_T0009933.1\n+13\tEnsembl\tintron\t62624355\t62626424\t.\t+\t.\tName=intron00002;Parent=MGP_PahariEiJ_T0009933.1\n+13\tEnsembl\tintron\t62596975\t62624027\t.\t+\t.\tName=intron00003;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62624355\t62626424\t.\t+\t.\tName=intron00004;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62626620\t62637349\t.\t+\t.\tName=intron00005;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62637436\t62640660\t.\t+\t.\tName=intron00006;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62640768\t62641046\t.\t+\t.\tName=intron00007;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62641179\t62641725\t.\t+\t.\tName=intron00008;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62641854\t62641961\t.\t+\t.\tName=intron00009;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62642215\t62651556\t.\t+\t.\tName=intron00010;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62651793\t62657150\t.\t+\t.\tName=intron00011;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62657340\t62660197\t.\t+\t.\tName=intron00012;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62660808\t62662195\t.\t+\t.\tName=intron00013;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62662303\t62663623\t.\t+\t.\tName=intron00014;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62663751\t62665451\t.\t+\t.\tName=intron00015;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62665637\t62668991\t.\t+\t.\tName=intron00016;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62669299\t62671283\t.\t+\t.\tName=intron00017;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62671361\t62671958\t.\t+\t.\tName=intron00018;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62672085\t62673958\t.\t+\t.\tName=intron00019;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62674160\t62678497\t.\t+\t.\tName=intron00020;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62678579\t62679702\t.\t+\t.\tName=intron00021;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62679808\t62683727\t.\t+\t.\tName=intron00022;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62683916\t62685193\t.\t+\t.\tName=intron00023;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\tintron\t62596975\t62624027\t.\t+\t.\tName=intron00024;Parent=MGP_PahariEiJ_T0009935.1\n+13\tEnsembl\tintron\t62660879\t62662195\t.\t+\t.\tName=intron00025;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\tintron\t62662389\t62663623\t.\t+\t.\tName=intron00026;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\tintron\t62663751\t62665451\t.\t+\t.\tName=intron00027;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\tintron\t62665637\t62668991\t.\t+\t.\tName=intron00028;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\tintron\t62669299\t62671283\t.\t+\t.\tName=intron00029;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\tintron\t62671361\t62671958\t.\t+\t.\tName=intron00030;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\tintron\t62672085\t62673958\t.\t+\t.\tName=intron00031;'..b'.\tName=MGP_PahariEiJ_E0009934.11;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\texon\t62660198\t62660807\t.\t+\t.\tName=MGP_PahariEiJ_E0009934.12;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\texon\t62662196\t62662302\t.\t+\t.\tName=MGP_PahariEiJ_E0009934.13;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\texon\t62663624\t62663750\t.\t+\t.\tName=MGP_PahariEiJ_E0009934.14;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\texon\t62665452\t62665636\t.\t+\t.\tName=MGP_PahariEiJ_E0009934.15;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\texon\t62668992\t62669298\t.\t+\t.\tName=MGP_PahariEiJ_E0009934.16;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\texon\t62671284\t62671360\t.\t+\t.\tName=MGP_PahariEiJ_E0009934.17;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\texon\t62671959\t62672084\t.\t+\t.\tName=MGP_PahariEiJ_E0009934.18;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\texon\t62673959\t62674159\t.\t+\t.\tName=MGP_PahariEiJ_E0009934.19;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\texon\t62678498\t62678578\t.\t+\t.\tName=MGP_PahariEiJ_E0009934.20;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\texon\t62679703\t62679807\t.\t+\t.\tName=MGP_PahariEiJ_E0009934.21;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\texon\t62683728\t62683915\t.\t+\t.\tName=MGP_PahariEiJ_E0009934.22;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\texon\t62685194\t62686932\t.\t+\t.\tName=MGP_PahariEiJ_E0009934.23;Parent=MGP_PahariEiJ_T0009934.1\n+13\tEnsembl\texon\t62596766\t62596974\t.\t+\t.\tName=MGP_PahariEiJ_E0009935.1;Parent=MGP_PahariEiJ_T0009935.1\n+13\tEnsembl\texon\t62624028\t62625799\t.\t+\t.\tName=MGP_PahariEiJ_E0009935.2;Parent=MGP_PahariEiJ_T0009935.1\n+13\tEnsembl\texon\t62660839\t62660878\t.\t+\t.\tName=MGP_PahariEiJ_E0009936.1;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\texon\t62662196\t62662388\t.\t+\t.\tName=MGP_PahariEiJ_E0009936.2;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\texon\t62663624\t62663750\t.\t+\t.\tName=MGP_PahariEiJ_E0009936.3;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\texon\t62665452\t62665636\t.\t+\t.\tName=MGP_PahariEiJ_E0009936.4;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\texon\t62668992\t62669298\t.\t+\t.\tName=MGP_PahariEiJ_E0009936.5;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\texon\t62671284\t62671360\t.\t+\t.\tName=MGP_PahariEiJ_E0009936.6;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\texon\t62671959\t62672084\t.\t+\t.\tName=MGP_PahariEiJ_E0009936.7;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\texon\t62673959\t62674159\t.\t+\t.\tName=MGP_PahariEiJ_E0009936.8;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\texon\t62678498\t62678578\t.\t+\t.\tName=MGP_PahariEiJ_E0009936.9;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\texon\t62679703\t62679807\t.\t+\t.\tName=MGP_PahariEiJ_E0009936.10;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\texon\t62683728\t62683915\t.\t+\t.\tName=MGP_PahariEiJ_E0009936.11;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\texon\t62685194\t62686932\t.\t+\t.\tName=MGP_PahariEiJ_E0009936.12;Parent=MGP_PahariEiJ_T0009936.1\n+13\tEnsembl\texon\t62671962\t62672084\t.\t+\t.\tName=MGP_PahariEiJ_E0009937.1;Parent=MGP_PahariEiJ_T0009937.1\n+13\tEnsembl\texon\t62674008\t62674159\t.\t+\t.\tName=MGP_PahariEiJ_E0009937.2;Parent=MGP_PahariEiJ_T0009937.1\n+13\tEnsembl\texon\t62678498\t62678578\t.\t+\t.\tName=MGP_PahariEiJ_E0009936.9;Parent=MGP_PahariEiJ_T0009937.1\n+13\tEnsembl\texon\t62679703\t62679807\t.\t+\t.\tName=MGP_PahariEiJ_E0009936.10;Parent=MGP_PahariEiJ_T0009937.1\n+13\tEnsembl\texon\t62683728\t62683915\t.\t+\t.\tName=MGP_PahariEiJ_E0009936.11;Parent=MGP_PahariEiJ_T0009937.1\n+13\tEnsembl\texon\t62685194\t62686919\t.\t+\t.\tName=MGP_PahariEiJ_E0009937.6;Parent=MGP_PahariEiJ_T0009937.1\n+13\tEnsembl\texon\t62671962\t62672084\t.\t+\t.\tName=MGP_PahariEiJ_E0009937.1;Parent=MGP_PahariEiJ_T0009938.1\n+13\tEnsembl\texon\t62674008\t62674159\t.\t+\t.\tName=MGP_PahariEiJ_E0009938.2;Parent=MGP_PahariEiJ_T0009938.1\n+13\tEnsembl\texon\t62678498\t62678578\t.\t+\t.\tName=MGP_PahariEiJ_E0009934.20;Parent=MGP_PahariEiJ_T0009938.1\n+13\tEnsembl\texon\t62679703\t62679807\t.\t+\t.\tName=MGP_PahariEiJ_E0009934.21;Parent=MGP_PahariEiJ_T0009938.1\n+13\tEnsembl\texon\t62683728\t62683915\t.\t+\t.\tName=MGP_PahariEiJ_E0009934.22;Parent=MGP_PahariEiJ_T0009938.1\n+13\tEnsembl\texon\t62685194\t62686918\t.\t+\t.\tName=MGP_PahariEiJ_E0009938.6;Parent=MGP_PahariEiJ_T0009938.1\n'
b
diff -r f4acbfe8d6fe -r e8e75a79de59 test-data/Mus_pahari.PAHARI_EIJ_v1.1.cds.all.shortened.fa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/Mus_pahari.PAHARI_EIJ_v1.1.cds.all.shortened.fa Thu Oct 31 08:16:51 2019 -0400
[
@@ -0,0 +1,99 @@
+>MGP_PahariEiJ_T0009933.1 cds chromosome:PAHARI_EIJ_v1.1:13:62596741:62626623:1 gene:MGP_PahariEiJ_G0008413.1 gene_biotype:polymorphic_pseudogene transcript_biotype:protein_coding gene_symbol:Atp10d description:ATPase, class V, type 10D [Source:MGI Symbol;Acc:MGI:2450125]
+AAGACAAATGGCTGGCTTGGAAGCGTAACTCTCACCGCCCTTTGGATCCCTGCTCGCTTC
+TCTTTTGGCACTTTGGGATCCGAGGTAACCATGCGGTGATGAGCGGCCCGGGAGGGACAG
+ATCACCTGAACCAGCCGGGTCTCCCTGCGTCTTGGACATGACTGAGCTTCTGCAGTGGGC
+CAGACATCACTGGCGTCGGCTGAGCCATGGGAGAACCCAGGGTGAAGATGAGAGGCCGTA
+CAACTACGCCTCCCTGCTGGCCTGTGGGGGCAAGTCCCCCCGGACCCCCAGGCCTGCAGG
+AAAGCACCGTGTCGTTATTCCTCACCTTCAGTGCTTCAGGGATGAGTACGAGAGGTTTTC
+TGGAACCTACGTGAATAACCGGATACGGACGACCAAGTACACACTCCTGAACTTTGTGCC
+AAGGAACTTATTTGAACAGTTTCACAGGGCTGCCAATTTATATTTCCTGTTCCTCGTGGT
+CCTGAACTGGGTGCCTTTGGTAGAAGCCTTCCAAAAGGAAATCACCATGCTGCCTCTGGT
+GGTGGTCCTCACAATTATTGCAATTAAAGATGGCTTGGAAGACTACCGGAAGTACAAAAT
+TGACAAGCAGATCAACAACTTAATAACCAAGGTTTACAGTAGG
+>MGP_PahariEiJ_T0009934.1 cds chromosome:PAHARI_EIJ_v1.1:13:62596741:62686932:1 gene:MGP_PahariEiJ_G0008413.1 gene_biotype:polymorphic_pseudogene transcript_biotype:polymorphic_pseudogene gene_symbol:Atp10d description:ATPase, class V, type 10D [Source:MGI Symbol;Acc:MGI:2450125]
+AAGACAAATGGCTGGCTTGGAAGCGTAACTCTCACCGCCCTTTGGATCCCTGCTCGCTTC
+TCTTTTGGCACTTTGGGATCCGAGGTAACCATGCGGTGATGAGCGGCCCGGGAGGGACAG
+ATCACCTGAACCAGCCGGGTCTCCCTGCGTCTTGGACATGACTGAGCTTCTGCAGTGGGC
+CAGACATCACTGGCGTCGGCTGAGCCATGGGAGAACCCAGGGTGAAGATGAGAGGCCGTA
+CAACTACGCCTCCCTGCTGGCCTGTGGGGGCAAGTCCCCCCGGACCCCCAGGCCTGCAGG
+AAAGCACCGTGTCGTTATTCCTCACCTTCAGTGCTTCAGGGATGAGTACGAGAGGTTTTC
+TGGAACCTACGTGAATAACCGGATACGGACGACCAAGTACACACTCCTGAACTTTGTGCC
+AAGGAACTTATTTGAACAGTTTCACAGGGCTGCCAATTTATATTTCCTGTTCCTCGTGGT
+CCTGAACTGGGTGCCTTTGGTAGAAGCCTTCCAAAAGGAAATCACCATGCTGCCTCTGGT
+GGTGGTCCTCACAATTATTGCAATTAAAGATGGCTTGGAAGACTACCGGAAGTACAAAAT
+TGACAAGCAGATCAACAACTTAATAACCAAGGTTTACAGTAGGACTCTGAAGTTGATCCT
+GAGAAGTTCTCCAGTAGGATAGAATGTGAAAGCCCAAACAATGACCTCAGCAGATTCCGA
+GGTTTCCTGGAACATGCCAATAAAGACCGTGTGGGCCTCAGCAAAGAGAATTTATTGCTC
+CGCGGGTGCACCATCAGAAACACAGAGGCTGTGGTGGGCATTGTGGTCTATGCAGGTCAT
+GAAACCAAAGCAATGCTGAACAACAGTGGGCCACGGTATAAGCGCAGTAAGTTAGAGAGA
+AGAGCAAATACAGACGTCCTCTGGTGTGTCCTGCTTCTGATCGTCATGTGCTTAACTGGT
+GCACTGGGTCACGGCATATGGCTGAGCAGGTATGAGAACATGCTCTTTTTTAACATCCCT
+GAGCCGGACGGACGTGTCCTATCACCTGTGCTGACTGGGTTCTATGTGTTCTGGACCATG
+ATCATCTTGCTGCAGGTCCTGATCCCCATTTCTCTCTACGTGTCCATTGAGATCGTGAAG
+CTGGGACAGATCTATTTCATCCAGAGCGATGTAGATTTCTACAACGAGAAAATGGATTCG
+ACCATTCAGTGCCGAGCCCTAAACATCACTGAGGACCTTGGGCAGATTCAATACCTCTTT
+TCTGATAAGACAGGAACCCTCACAGAGAATAAGATGGTGTTTCGGAGGTGCAGTGTAGCA
+GGGTTTGACTACTGCCATGAAGAAAACGCCAGGAGGCTCGAGTCCTATCAGGAAGCTGTC
+TCTGAAGAGGAGGAACGCGCAGACACTCTCGGCGGCTCCCTCAGCAACGTGGCGAGACCC
+AGAGCCCAGGGCTGCAGGACAGTTCACAGTGGGCTTCCGGGAAAACCCCCGGCTCACCTC
+TCCGGGAGCACCTCTGCTGTAGGAGACGCAGAAGGATCCGGGGAAGTGCCTCATTCCAGA
+CAGGCTGCCTTCAGTAGTCCCATGGAAACAGACGTGGTACCAGATACCAGACTTTTAGAC
+AAATTTAGCCAGATTACCCCTCAGCTGCTCACTGGACTGGATGGGACCTTGCAGAGCTCA
+TCACTGGAGACCTTGTACATCATGGACTTCTTTATTGCACTGGCAATTTGCAACACGGTG
+GTGGTTTCTGCCCCAAACCAACCTCGGCAAAAGATTGGGCTCTCCTCACTGGGTGGAATG
+CCCATCAAGTCCTTGGACGAGATTAAAAACATCTTCCAGAAATTGTCTGTCCGGAGATCA
+AGTTCACCATCCCTTGCCAGCGGGAAGGATTCATCCTCTGGGACTCCCTGTGCCTTTGTG
+AGCAGAATCTCTTTCTTTAGTCGACCAAAACTGTCACCTCCTATGGAGGACGAGTCTTCC
+CAAATGGATGAAATCCCCCAGGCCAGTAACTCAGCTTGCTGTACAGAAACGGAGGCACAA
+AACAGTGCCTTAGGACTCAGCGTCGGCTCCGCGGAAGCCCTAAATGGACCACCGCCCTTG
+GCTTCCAACCTGTGTTATGAGGCGGAGAGTCCAGATGAAGCAGCCTTGGTGTATGCCGCC
+AGAGCTTATCATTGCACTTTACAGTCTCGGACCCCAGAGCAGGTCATGGTGGAGTTTGCA
+GCTTTGGGCTCATTAACATTTCAACTCCTACACATCCTGCCCTTTGACTCAGTAAGGAAA
+AGAATGTCGGTGGTGGTCCGGCACCCTCTTTCCAAACAAGTCGTGGTGTATACAAAAGGC
+GCTGATTCCGTGATCATGGAGCTGCTGTCTATGGCTTCCTCGGATGGAACAAATCTGGAA
+GAACAACAGATGATAATAAGGGAGAGAACGCAGAGGCACCTGGACGAGTATGCCAGACGA
+GGGCTGCGCACTCTGTGTGTTGCAAAGAAGGTCATGAGTGACACGGAATATGCAGAGTGG
+CTGAGGAATCACTTCCTAGCTGAAACCAGCATTGACAACAGGGAGGAGCTGCTAGTTGAG
+TCTGCCATGAGACTAGAAAACAAACTCACGTTACTTGGTGCTACTGGCATTGAAGATCGT
+CTGCAGGAGGGGGTCCCTGAGTCTATAGAAGCCCTTCACCAAGCTGGCATCAAGATCTGG
+ATGCTGACAGGGGACAAGCAGGAGACAGCTGTCAACATAGCTTATGCATGCAGACTCCTG
+GAACCAGATGACAAGCTCTTCATCCTCAATACACAAAGTGAGGATGCCTGTGGGATGCTG
+ATGAGTGCAATTTTGGAAGAACTTCAGAAGAGAGCTCAGGTGTCTCCGGAGCTGGCATCA
+CCAAGAAAGAACTTTCCTCAGCCCCCTGACCCTCAGGGCCAGGGACGTGCGGGACTTGTT
+ATCACTGGGAAGAGCCTGGAGTTTGCCCTGCAGGAGAGTCTACAAAGACAGTTCCTTGAG
+CTGACTGCATGGTGCCAAGCTGTGATCTGCTGCCGAGCCACCCCCCTTCAAAAGAGTGAG
+GTGGTGAAATTGGTTCGAAACCATCTCCATGTGATGACCCTAGCCATTGGTGACGGTGCC
+AATGATGTTAGCATGATACAAGTGGCTGACATTGGGATCGGTGTCTCAGGTCAAGAAGGC
+ATGCAGGCTGTGATGGCCAGTGACTTCGCCATCTCTCAGTTCAGACATCTCAGCAAGCTT
+CTCCTCGTGCACGGGCACTGGTGTTACACCCGGCTCTCCAACATGATTCTCTATTTTTTC
+TACAAGAATGTGGCCTATGTGAATCTCCTTTTCTGGTACCAGTTCTTTTGTGGGTTTTCA
+GGAACATCGATGACTGACTACTGGGTGCTGATCTTCTTCAACCTCCTCTTCACATCTGTC
+CCCCCCATCATTTATGGCGTTTTGGAGAAAGATGTGTCAGCAGAGACCCTCCTGCAGCTG
+CCTGAACTTTACCGGAGTGGTCAGCGATCAGAGGAATACTTGCCCGTCACTTTCTGGATC
+ACCTTGTTGGATGCCTTTTATCAAAGCCTGGTCTGCTTCTTTGTGCCTTACTTTACCTAC
+CAGGGCTCTGACATTGACATCTTTACCTTTGGGAATCCCCTGAACACGGCGGCTCTGTTC
+ATCATTCTCCTCCACCTGGTGATCGAAAGCAAGAGTTTGACTTGGATCCACATGCTGGTC
+ATTGTTGGGAGCATCTTGTCCTACTTTTTCTTTGCCTTGGCTTTTGGAGCCTTATGTGTC
+ACTTGCAACCCACCCTCCAACCCCTACGGGATCATGCAGAAGCACATGCTAGACCCTGTG
+TTCTACTTAGTTTGTGTTCTTACAACCTTCGTAGCACTCCTGCCCAGGTTTGCCTACCGA
+GTTCTTCAGGGATCCATGTTTCCATCTCCAGTTCTCAGAGCCAAGTACTTTGACCGACTA
+CCTCCAGAGGAGAGAGCTGAAGCTCTCAAGAGGTGGAGAGGGACTGCAAAGATCAATCAC
+GTGGCATCTCAGCATGCCAGCCAATCAGCTGCTAAGTCAGGAAGACCCACGCCTGGGTCT
+TCTGCTGTCCTTGCAATGAAGACAGCAACAGTGCGTACTGTTGAGCAGAGCACATGTGAA
+ACTGCGCTAGACCATGGCTGCTCTGAACCTGGGGCCTCCAGGACGACTGGACCCTCAGCA
+AGT
+>MGP_PahariEiJ_T0009938.1 cds chromosome:PAHARI_EIJ_v1.1:13:62671962:62686918:1 gene:MGP_PahariEiJ_G0008413.1 gene_biotype:polymorphic_pseudogene transcript_biotype:protein_coding gene_symbol:Atp10d description:ATPase, class V, type 10D [Source:MGI Symbol;Acc:MGI:2450125]
+ATGACTGACTACTGGGTGCTGATCTTCTTCAACCTCCTCTTCACATCTGTCCCCCCCATC
+ATTTATGGCGTTTTGGAGAAAGATGTGTCAGCAGAGACCCTCCTGCAGCTGCCTGAACTT
+TACCGGAGTGGTCAGCGATCAGAGGAATACTTGCCCGTCACTTTCTGGATCACCTTGTTG
+GATGCCTTTTATCAAAGCCTGGTCTGCTTCTTTGTGCCTTACTTTACCTACCAGGGCTCT
+GACATTGACATCTTTACCTTTGGGAATCCCCTGAACACGGCGGCTCTGTTCATCATTCTC
+CTCCACCTGGTGATCGAAAGCAAGAGTTTGACTTGGATCCACATGCTGGTCATTGTTGGG
+AGCATCTTGTCCTACTTTTTCTTTGCCTTGGCTTTTGGAGCCTTATGTGTCACTTGCAAC
+CCACCCTCCAACCCCTACGGGATCATGCAGAAGCACATGCTAGACCCTGTGTTCTACTTA
+GTTTGTGTTCTTACAACCTTCGTAGCACTCCTGCCCAGGTTTGCCTACCGAGTTCTTCAG
+GGATCCATGTTTCCATCTCCAGTTCTCAGAGCCAAGTACTTTGACCGACTACCTCCAGAG
+GAGAGAGCTGAAGCTCTCAAGAGGTGGAGAGGGACTGCAAAGATCAATCACGTGGCATCT
+CAGCATGCCAGCCAATCAGCTGCTAAGTCAGGAAGACCCACGCCTGGGTCTTCTGCTGTC
+CTTGCAATGAAGACAGCAACAGTGCGTACTGTTGAGCAGAGCACATGTGAAACTGCGCTA
+GACCATGGCTGCTCTGAACCTGGGGCCTCCAGGACGACTGGACCCTCAGCAAGT
b
diff -r f4acbfe8d6fe -r e8e75a79de59 test-data/test5.sqlite
b
Binary file test-data/test5.sqlite has changed
b
diff -r f4acbfe8d6fe -r e8e75a79de59 test-data/test6.fasta
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/test6.fasta Thu Oct 31 08:16:51 2019 -0400
b
@@ -0,0 +1,15 @@
+>MGP_PahariEiJ_T0009938.1_muspahari
+ATGACTGACTACTGGGTGCTGATCTTCTTCAACCTCCTCTTCACATCTGTCCCCCCCATC
+ATTTATGGCGTTTTGGAGAAAGATGTGTCAGCAGAGACCCTCCTGCAGCTGCCTGAACTT
+TACCGGAGTGGTCAGCGATCAGAGGAATACTTGCCCGTCACTTTCTGGATCACCTTGTTG
+GATGCCTTTTATCAAAGCCTGGTCTGCTTCTTTGTGCCTTACTTTACCTACCAGGGCTCT
+GACATTGACATCTTTACCTTTGGGAATCCCCTGAACACGGCGGCTCTGTTCATCATTCTC
+CTCCACCTGGTGATCGAAAGCAAGAGTTTGACTTGGATCCACATGCTGGTCATTGTTGGG
+AGCATCTTGTCCTACTTTTTCTTTGCCTTGGCTTTTGGAGCCTTATGTGTCACTTGCAAC
+CCACCCTCCAACCCCTACGGGATCATGCAGAAGCACATGCTAGACCCTGTGTTCTACTTA
+GTTTGTGTTCTTACAACCTTCGTAGCACTCCTGCCCAGGTTTGCCTACCGAGTTCTTCAG
+GGATCCATGTTTCCATCTCCAGTTCTCAGAGCCAAGTACTTTGACCGACTACCTCCAGAG
+GAGAGAGCTGAAGCTCTCAAGAGGTGGAGAGGGACTGCAAAGATCAATCACGTGGCATCT
+CAGCATGCCAGCCAATCAGCTGCTAAGTCAGGAAGACCCACGCCTGGGTCTTCTGCTGTC
+CTTGCAATGAAGACAGCAACAGTGCGTACTGTTGAGCAGAGCACATGTGAAACTGCGCTA
+GACCATGGCTGCTCTGAACCTGGGGCCTCCAGGACGACTGGACCCTCAGCAAGT
b
diff -r f4acbfe8d6fe -r e8e75a79de59 test-data/test6.sqlite
b
Binary file test-data/test6.sqlite has changed