BioSAK 1.82.2__tar.gz → 1.83.1__tar.gz
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.
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/VERSION +4 -1
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/gapseq.py +8 -4
- BioSAK-1.83.1/BioSAK/transpose.py +32 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK.egg-info/PKG-INFO +2 -2
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK.egg-info/SOURCES.txt +1 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/PKG-INFO +2 -2
- {BioSAK-1.82.2 → BioSAK-1.83.1}/bin/BioSAK +10 -1
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/BLCA_op_parser.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/BioSAK_config.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/COG2020.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/COG_boxplot_last1row.R +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/COG_boxplot_last2row.R +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/CheckM.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/ConvertMSA.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/DnaFeaturesViewer.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/FastaSplitler_by_num.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/FastaSplitler_by_size.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/GTDB_for_BLCA.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/Gene2Ctg.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/KEGG.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/KEGG_boxplot_last1row.R +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/KEGG_get_eukaryotic_kos.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/KeepRemovingTmp.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/MeanMappingDepth.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/MetaBiosample.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/MetaCHIP_phylo.hmm +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/MetaCyc_reactions_with_ec.txt +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/NetEnzymes.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/Newick_tree_plotter.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/OneLineAln.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/Prodigal.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/Reads_simulator.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/RunGraphMB.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/SILVA_for_BLCA.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/SankeyTaxon.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/SliceMSA.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/SubsampleLongReads.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/Tax4Fun2IndOTU.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/VisBlastOp.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/VisGeneFlk.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/__init__.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/add_desc.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/arCOG.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/bam2reads.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/boxplot.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/boxplot_last1row.R +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/boxplot_matrix_COG.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/boxplot_matrix_COG_backup.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/boxplot_matrix_KEGG.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/boxplot_matrix_dbCAN.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/cat_fa.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/cdd2cog.pl +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/checkm_marker.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/compare_trees.R +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/compare_trees.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/cross_link_seqs.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/dbCAN.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/download_GenBank_genome_subset_prokaryotes_csv.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/dwnld_sra_reads.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/enrich.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/exe_cmds.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/ezaai2mat.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/fa2id.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/fa2phy.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/fa2tree.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/format_converter.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/format_leaf_name.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/fq2fa.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/gbk2faa.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/gbk2ffn.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/gbk2fna.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/gbk_to_ffn_faa.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_EC_from_ko_stats_D.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_GTDB_taxon_gnm.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_MAG_reads_long.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_Pfam_hmms.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_SCG_tree.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_TopHits_taxonomy.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_aa_composition.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_bin_abundance copy.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_data_matrix.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_gc.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_gene_depth.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_genome_GTDB.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_genome_NCBI.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_genome_NCBI_v1.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_genome_NCBI_v2.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_gnm_size.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_ko_gene_seqs.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_krona_plot.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_reads_from_sam.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_reads_id_in_sam.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_sankey_plot.R +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_top_hit.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/get_total_length.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/global_functions.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/hpc3.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/iTOL.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/js_cmds.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/js_hpc3.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/keep_best_hit.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/ko00001.keg +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/koala.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/label_tree.R +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/label_tree.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/link_16S_MAG.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/magabund.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/magabund2.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/manipulator_fasta.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/manipulator_msa.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/manipulator_newick.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/manipulator_sam.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/mean_MAG_cov.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/merge_df.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/merge_seq.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/metaAssembly.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/metabat2concoct.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/metabat2maxbin.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/msa_to_distance_matrix.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/ncbi_dataset.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/odp.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/parse_MetaCyc_RxnDB.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/parse_mmseqs_tsv.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/plot_mag.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/plot_sam_depth.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/plot_tree.R +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/prefix_file.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/prokka.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/reads2bam.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/rename_leaves.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/rename_reads_for_Reago.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/rename_seq.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/rename_seqs.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/ribbon.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/sam2bam.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/sampling_GTDB_gnms.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/select_seq.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/sep_reads_by_barcode.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/slice_seq.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/split_fasta.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/split_folder.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/split_sam.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/submitHPC.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/subset_GTDB_meta.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/subset_df.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/subset_tree.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/top_16S_hits.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/top_hits_in_a_group.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK/usearch_uc.py +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK.egg-info/dependency_links.txt +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK.egg-info/requires.txt +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/BioSAK.egg-info/top_level.txt +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/LICENSE +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/MANIFEST.in +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/README.md +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/setup.cfg +0 -0
- {BioSAK-1.82.2 → BioSAK-1.83.1}/setup.py +0 -0
|
@@ -28,12 +28,13 @@ def gapseq(args):
|
|
|
28
28
|
df_out = args['o']
|
|
29
29
|
include_desc = args['name']
|
|
30
30
|
|
|
31
|
-
file_re
|
|
31
|
+
file_re = '%s/*-Pathways.tbl' % dir_in
|
|
32
32
|
file_list = glob.glob(file_re)
|
|
33
33
|
|
|
34
34
|
# read in annotation results
|
|
35
35
|
gnm_id_set = set()
|
|
36
|
-
|
|
36
|
+
detected_pwy_set = set()
|
|
37
|
+
pwy_to_gnm_dict = dict()
|
|
37
38
|
pwy_id_to_name_dict = dict()
|
|
38
39
|
annotation_results_dict = dict()
|
|
39
40
|
for each_file in sorted(file_list):
|
|
@@ -48,15 +49,18 @@ def gapseq(args):
|
|
|
48
49
|
pwy_id = each_line_split[0]
|
|
49
50
|
if (pwy_id[0] == '|') and (pwy_id[-1] == '|'):
|
|
50
51
|
pwy_id = pwy_id[1:-1]
|
|
51
|
-
overall_pwy_set.add(pwy_id)
|
|
52
52
|
pwy_name = each_line_split[1]
|
|
53
53
|
pwy_id_to_name_dict[pwy_id] = pwy_name
|
|
54
54
|
pa = each_line_split[2]
|
|
55
55
|
if pa == 'true':
|
|
56
|
+
detected_pwy_set.add(pwy_id)
|
|
56
57
|
encoded_pwy_set.add(pwy_id)
|
|
58
|
+
if pwy_id not in pwy_to_gnm_dict:
|
|
59
|
+
pwy_to_gnm_dict[pwy_id] = set()
|
|
60
|
+
pwy_to_gnm_dict[pwy_id].add(gnm_id)
|
|
57
61
|
annotation_results_dict[gnm_id] = encoded_pwy_set
|
|
58
62
|
|
|
59
|
-
pwy_id_list_sorted = sorted(list(
|
|
63
|
+
pwy_id_list_sorted = sorted(list(detected_pwy_set))
|
|
60
64
|
pwy_id_list_sorted_desc = [('%s__%s' % (i, pwy_id_to_name_dict[i])) for i in pwy_id_list_sorted]
|
|
61
65
|
|
|
62
66
|
df_out_handle = open(df_out, 'w')
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import argparse
|
|
2
|
+
import pandas as pd
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
transpose_usage = '''
|
|
6
|
+
============ transpose example commands ============
|
|
7
|
+
|
|
8
|
+
BioSAK transpose -i demo_df.txt -o demo_df_T.txt
|
|
9
|
+
|
|
10
|
+
# Input data matrix need to be tab separated
|
|
11
|
+
|
|
12
|
+
====================================================
|
|
13
|
+
'''
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def transpose(args):
|
|
17
|
+
|
|
18
|
+
file_in = args['i']
|
|
19
|
+
file_out = args['o']
|
|
20
|
+
|
|
21
|
+
df = pd.read_csv(file_in, sep='\t', header=0, index_col=0)
|
|
22
|
+
df_t = df.T
|
|
23
|
+
df_t.to_csv(file_out, sep='\t')
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
if __name__ == '__main__':
|
|
27
|
+
|
|
28
|
+
transpose_parser = argparse.ArgumentParser(usage=transpose_usage)
|
|
29
|
+
transpose_parser.add_argument('-i', required=True, help='input file')
|
|
30
|
+
transpose_parser.add_argument('-o', required=True, help='output file')
|
|
31
|
+
args = vars(transpose_parser.parse_args())
|
|
32
|
+
transpose(args)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: BioSAK
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.83.1
|
|
4
4
|
Summary: BioSAK
|
|
5
5
|
Home-page: https://github.com/songweizhi/BioSAK
|
|
6
6
|
Author: Weizhi Song
|
|
@@ -20,4 +20,4 @@ Requires-Dist: beautifulsoup4
|
|
|
20
20
|
Requires-Dist: ete3
|
|
21
21
|
Requires-Dist: statsmodels
|
|
22
22
|
|
|
23
|
-
BioSAK v1.
|
|
23
|
+
BioSAK v1.83.1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: BioSAK
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.83.1
|
|
4
4
|
Summary: BioSAK
|
|
5
5
|
Home-page: https://github.com/songweizhi/BioSAK
|
|
6
6
|
Author: Weizhi Song
|
|
@@ -20,4 +20,4 @@ Requires-Dist: beautifulsoup4
|
|
|
20
20
|
Requires-Dist: ete3
|
|
21
21
|
Requires-Dist: statsmodels
|
|
22
22
|
|
|
23
|
-
BioSAK v1.
|
|
23
|
+
BioSAK v1.83.1
|
|
@@ -95,7 +95,8 @@ def print_main_help():
|
|
|
95
95
|
Dataframe
|
|
96
96
|
subset_df -> Subset dataframe
|
|
97
97
|
merge_df -> Merge dataframes
|
|
98
|
-
add_desc -> Add function description to input of the iTOL module
|
|
98
|
+
add_desc -> Add function description to input of the iTOL module
|
|
99
|
+
transpose -> Transpose dataframe
|
|
99
100
|
|
|
100
101
|
Others
|
|
101
102
|
iTOL -> Prepare iTOL files
|
|
@@ -961,6 +962,14 @@ if __name__ == '__main__':
|
|
|
961
962
|
args = vars(parser.parse_args())
|
|
962
963
|
gapseq.gapseq(args)
|
|
963
964
|
|
|
965
|
+
elif sys.argv[1] == 'transpose':
|
|
966
|
+
from BioSAK import transpose
|
|
967
|
+
transpose_parser = subparsers.add_parser('transpose', usage=transpose.transpose_usage)
|
|
968
|
+
transpose_parser.add_argument('-i', required=True, help='input file')
|
|
969
|
+
transpose_parser.add_argument('-o', required=True, help='output file')
|
|
970
|
+
args = vars(parser.parse_args())
|
|
971
|
+
transpose.transpose(args)
|
|
972
|
+
|
|
964
973
|
else:
|
|
965
974
|
print('Unrecognized command: %s, program exited' % sys.argv[1])
|
|
966
975
|
exit()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|