|
| 1 | + |
| 2 | +--- |
| 3 | +**Command:** `cargo run --bin 1_beagleTA_parser` |
| 4 | + |
| 5 | +**Success:** true |
| 6 | + |
| 7 | +**Output:** |
| 8 | +``` |
| 9 | +[2K |
| 10 | + _█ █ █ █ █________________________________________ █ █________________ █ █ █ █ █ █______ █ █_____ |
| 11 | + _█ █____ █ █____ █ █ █____ █ █ █________ █ █ █ █__ █ █______ █ █ █________ █ █________ █ █ █ █___ |
| 12 | + _█ █ █ █ █____ █ █ █ █ █______ █ █____ █ █__ █ █__ █ █____ █ █ █ █ █______ █ █______ █ █____ █ █_ |
| 13 | + _█ █____ █ █__ █ █________ █ █ █ █______ █ █ █ █__ █ █____ █ █____________ █ █______ █ █ █ █ █ █_ |
| 14 | + _█ █ █ █ █______ █ █ █ █__ █ █ █ █ █________ █ █__ █ █ █____ █ █ █ █______ █ █______ █ █____ █ █_ |
| 15 | + _______________________________________ █ █ █ █___________________________________________________ |
| 16 | + |
| 17 | +[2K Package name: 'BeagleTA'. |
| 18 | +[2K Package version: '1.5.11'. |
| 19 | +[2K Package edition: '2021'. |
| 20 | +
|
| 21 | +[2K Usage: cargo run <keyword_file.txt> <corpus_dir> |
| 22 | + 🐕 Enter the path to the keyword text file: 🐕 Enter the path to the data directory: [2K Keyword path cannot be empty! |
| 23 | +[2K Directory path cannot be empty! |
| 24 | +
|
| 25 | +[stderr]: Compiling proc-macro2 v1.0.94 |
| 26 | + Compiling unicode-ident v1.0.18 |
| 27 | + Compiling libc v0.2.171 |
| 28 | + Compiling crossbeam-utils v0.8.21 |
| 29 | + Compiling serde v1.0.219 |
| 30 | + Compiling memchr v2.7.4 |
| 31 | + Compiling zerocopy v0.8.23 |
| 32 | + Compiling rayon-core v1.12.1 |
| 33 | + Compiling utf8parse v0.2.2 |
| 34 | + Compiling cfg-if v1.0.0 |
| 35 | + Compiling anstyle-parse v0.2.6 |
| 36 | + Compiling is_terminal_polyfill v1.70.1 |
| 37 | + Compiling anstyle v1.0.10 |
| 38 | + Compiling colorchoice v1.0.3 |
| 39 | + Compiling hashbrown v0.15.2 |
| 40 | + Compiling equivalent v1.0.2 |
| 41 | + Compiling anstyle-query v1.1.2 |
| 42 | + Compiling anstream v0.6.18 |
| 43 | + Compiling aho-corasick v1.1.3 |
| 44 | + Compiling strsim v0.11.1 |
| 45 | + Compiling clap_lex v0.7.4 |
| 46 | + Compiling indexmap v2.8.0 |
| 47 | + Compiling ryu v1.0.20 |
| 48 | + Compiling itoa v1.0.15 |
| 49 | + Compiling futures v0.1.31 |
| 50 | + Compiling crossbeam-epoch v0.9.18 |
| 51 | + Compiling quote v1.0.40 |
| 52 | + Compiling crossbeam-deque v0.8.6 |
| 53 | + Compiling getrandom v0.2.15 |
| 54 | + Compiling rand_core v0.6.4 |
| 55 | + Compiling syn v2.0.100 |
| 56 | + Compiling iovec v0.1.4 |
| 57 | + Compiling num_cpus v1.16.0 |
| 58 | + Compiling crossbeam-channel v0.5.15 |
| 59 | + Compiling crossbeam-queue v0.3.12 |
| 60 | + Compiling byteorder v1.5.0 |
| 61 | + Compiling regex-syntax v0.8.5 |
| 62 | + Compiling either v1.15.0 |
| 63 | + Compiling winnow v0.7.4 |
| 64 | + Compiling serde_json v1.0.140 |
| 65 | + Compiling rayon v1.10.0 |
| 66 | + Compiling crossbeam v0.8.4 |
| 67 | + Compiling futures-cpupool v0.1.8 |
| 68 | + Compiling bytes v0.4.12 |
| 69 | + Compiling ppv-lite86 v0.2.21 |
| 70 | + Compiling clap_builder v4.5.35 |
| 71 | + Compiling rand_chacha v0.3.1 |
| 72 | + Compiling csv-core v0.1.12 |
| 73 | + Compiling fs v0.0.5 |
| 74 | + Compiling rand v0.8.5 |
| 75 | + Compiling colored v3.0.0 |
| 76 | + Compiling regex-automata v0.4.9 |
| 77 | + Compiling serde_derive v1.0.219 |
| 78 | + Compiling jwalk v0.8.1 |
| 79 | + Compiling clap v4.5.35 |
| 80 | + Compiling regex v1.11.1 |
| 81 | + Compiling serde_spanned v0.6.8 |
| 82 | + Compiling toml_datetime v0.6.8 |
| 83 | + Compiling csv v1.3.1 |
| 84 | + Compiling toml_edit v0.22.24 |
| 85 | + Compiling toml v0.8.20 |
| 86 | + Compiling BeagleTA v1.5.11 (/Users/obonhamcarter/Desktop/mini_research_TA/BeagleTA) |
| 87 | + Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.00s |
| 88 | + Running `target/debug/1_beagleTA_parser` |
| 89 | +``` |
| 90 | + |
| 91 | +**Time:** 7.2878 seconds |
| 92 | + |
| 93 | +--- |
| 94 | +**Command:** `cargo run --bin 2_csv_cleaner_filter/` |
| 95 | + |
| 96 | +**Success:** false |
| 97 | + |
| 98 | +**Output:** |
| 99 | +``` |
| 100 | +[stderr]: error: no bin target named `2_csv_cleaner_filter/` |
| 101 | +
|
| 102 | + Did you mean `2_csv_cleaner_filter`? |
| 103 | +``` |
| 104 | + |
| 105 | +**Time:** 0.0611 seconds |
| 106 | + |
| 107 | +--- |
| 108 | +**Command:** `cargo run --bin 2_csv_cleaner_filter` |
| 109 | + |
| 110 | +**Success:** false |
| 111 | + |
| 112 | +**Output:** |
| 113 | +``` |
| 114 | +[2K |
| 115 | +
|
| 116 | + ___█ █ █ █ █ __█ █ _______________________________________________________________ |
| 117 | + _█ █ __________█ █ ______█ █ █ ____█ █ █ ______█ █ █ █ ______█ █ █ ____█ █ __█ █ _ |
| 118 | + _█ █ __________█ █ ____█ █ █ █ █ ______█ █ ____█ █ __█ █ __█ █ █ █ █ __█ █ █ █ ___ |
| 119 | + _█ █ __________█ █ ____█ █ ________█ █ █ █ ____█ █ __█ █ __█ █ ________█ █ _______ |
| 120 | + ___█ █ █ █ █ __█ █ █ ____█ █ █ █ __█ █ █ █ █ __█ █ __█ █ ____█ █ █ █ __█ █ _______ |
| 121 | + __________________________________________________________________________________ |
| 122 | + |
| 123 | + |
| 124 | +
|
| 125 | +[stderr]: Compiling BeagleTA v1.5.11 (/Users/obonhamcarter/Desktop/mini_research_TA/BeagleTA) |
| 126 | + Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s |
| 127 | + Running `target/debug/2_csv_cleaner_filter` |
| 128 | +error: the following required arguments were not provided: |
| 129 | + --input <input> |
| 130 | + --output <output> |
| 131 | + --column <column> |
| 132 | +
|
| 133 | +Usage: 2_csv_cleaner_filter --input <input> --output <output> --column <column> |
| 134 | +
|
| 135 | +For more information, try '--help'. |
| 136 | +``` |
| 137 | + |
| 138 | +**Time:** 0.4488 seconds |
| 139 | + |
| 140 | +--- |
| 141 | +**Command:** `cargo run examples/kws.txt examples/corpus_short/` |
| 142 | + |
| 143 | +**Success:** false |
| 144 | + |
| 145 | +**Output:** |
| 146 | +``` |
| 147 | +[stderr]: error: `cargo run` could not determine which binary to run. Use the `--bin` option to specify a binary, or the `default-run` manifest key. |
| 148 | +available binaries: 1_beagleTA_parser, 2_csv_cleaner_filter, 3_csv_random_sampler |
| 149 | +``` |
| 150 | + |
| 151 | +**Time:** 0.0413 seconds |
| 152 | + |
| 153 | +--- |
| 154 | +**Command:** `cargo run --bin -- 1_beagleTA_parser examples/kws.txt examples/corpus_short/` |
| 155 | + |
| 156 | +**Success:** false |
| 157 | + |
| 158 | +**Output:** |
| 159 | +``` |
| 160 | +[stderr]: error: "--bin" takes one argument. |
| 161 | +Available binaries: |
| 162 | + 1_beagleTA_parser |
| 163 | + 2_csv_cleaner_filter |
| 164 | + 3_csv_random_sampler |
| 165 | +``` |
| 166 | + |
| 167 | +**Time:** 0.0379 seconds |
| 168 | + |
| 169 | +--- |
| 170 | +**Command:** `cargo run -- --bin 1_beagleTA_parser examples/kws.txt examples/corpus_short/` |
| 171 | + |
| 172 | +**Success:** false |
| 173 | + |
| 174 | +**Output:** |
| 175 | +``` |
| 176 | +[stderr]: error: `cargo run` could not determine which binary to run. Use the `--bin` option to specify a binary, or the `default-run` manifest key. |
| 177 | +available binaries: 1_beagleTA_parser, 2_csv_cleaner_filter, 3_csv_random_sampler |
| 178 | +``` |
| 179 | + |
| 180 | +**Time:** 0.0331 seconds |
| 181 | + |
| 182 | +--- |
| 183 | +**Command:** `cargo run --bin 1_beagleTA_parser examples/kws.txt examples/corpus_short/` |
| 184 | + |
| 185 | +**Success:** true |
| 186 | + |
| 187 | +**Output:** |
| 188 | +``` |
| 189 | +[2K |
| 190 | + _█ █ █ █ █________________________________________ █ █________________ █ █ █ █ █ █______ █ █_____ |
| 191 | + _█ █____ █ █____ █ █ █____ █ █ █________ █ █ █ █__ █ █______ █ █ █________ █ █________ █ █ █ █___ |
| 192 | + _█ █ █ █ █____ █ █ █ █ █______ █ █____ █ █__ █ █__ █ █____ █ █ █ █ █______ █ █______ █ █____ █ █_ |
| 193 | + _█ █____ █ █__ █ █________ █ █ █ █______ █ █ █ █__ █ █____ █ █____________ █ █______ █ █ █ █ █ █_ |
| 194 | + _█ █ █ █ █______ █ █ █ █__ █ █ █ █ █________ █ █__ █ █ █____ █ █ █ █______ █ █______ █ █____ █ █_ |
| 195 | + _______________________________________ █ █ █ █___________________________________________________ |
| 196 | + |
| 197 | +[2K Package name: 'BeagleTA'. |
| 198 | +[2K Package version: '1.5.11'. |
| 199 | +[2K Package edition: '2021'. |
| 200 | +
|
| 201 | +[2K Usage: cargo run <keyword_file.txt> <corpus_dir> |
| 202 | +[2K Found 63 files in the directory 'examples/corpus_short/'. |
| 203 | +[2K Key words : ["2024", "ethic", "bio", "machine", "mitochondria"] |
| 204 | +[2K * PMC314466.txt -> 1 of 63[2K * PMC314300.txt -> 2 of 63[2K * PMC314472.txt -> 3 of 63[2K * PMC193604.txt -> 4 of 63[2K * PMC193605.txt -> 5 of 63[2K * PMC314473.txt -> 6 of 63[2K * PMC314467.txt -> 7 of 63[2K * PMC314301.txt -> 8 of 63[2K * PMC314471.txt -> 9 of 63[2K * PMC314465.txt -> 10 of 63[2K * PMC193607.txt -> 11 of 63[2K * PMC193606.txt -> 12 of 63[2K * PMC314464.txt -> 13 of 63[2K * PMC314470.txt -> 14 of 63[2K * PMC314474.txt -> 15 of 63[2K * PMC314475.txt -> 16 of 63[2K * PMC314463.txt -> 17 of 63[2K * PMC314477.txt -> 18 of 63[2K * PMC314476.txt -> 19 of 63[2K * PMC314462.txt -> 20 of 63[2K * PMC212706.txt -> 21 of 63[2K * PMC300882.txt -> 22 of 63[2K * PMC212699.txt -> 23 of 63[2K * PMC212698.txt -> 24 of 63[2K * PMC300883.txt -> 25 of 63[2K * PMC212705.txt -> 26 of 63[2K * PMC300881.txt -> 27 of 63[2K * PMC212704.txt -> 28 of 63[2K * PMC176548.txt -> 29 of 63[2K * PMC212700.txt -> 30 of 63[2K * PMC300884.txt -> 31 of 63[2K * PMC300700.txt -> 32 of 63[2K * PMC300885.txt -> 33 of 63[2K * PMC300675.txt -> 34 of 63[2K * PMC212701.txt -> 35 of 63[2K * PMC212703.txt -> 36 of 63[2K * PMC212688.txt -> 37 of 63[2K * PMC212689.txt -> 38 of 63[2K * PMC300886.txt -> 39 of 63[2K * PMC212702.txt -> 40 of 63[2K * PMC212690.txt -> 41 of 63[2K * PMC212691.txt -> 42 of 63[2K * PMC261870.txt -> 43 of 63[2K * PMC212687.txt -> 44 of 63[2K * PMC212693.txt -> 45 of 63[2K * PMC212692.txt -> 46 of 63[2K * PMC176545.txt -> 47 of 63[2K * PMC212319.txt -> 48 of 63[2K * PMC212696.txt -> 49 of 63[2K * PMC212697.txt -> 50 of 63[2K * PMC176546.txt -> 51 of 63[2K * PMC212695.txt -> 52 of 63[2K * PMC212694.txt -> 53 of 63[2K * PMC176547.txt -> 54 of 63[2K * PMC314478.txt -> 55 of 63[2K * PMC314479.txt -> 56 of 63[2K * PMC314469.txt -> 57 of 63[2K * PMC314482.txt -> 58 of 63[2K * PMC314468.txt -> 59 of 63[2K * PMC314481.txt -> 60 of 63[2K * PMC314480.txt -> 61 of 63[2K |
| 205 | + ✨ Run commands to create virtual environment with Python for the following commands ... |
| 206 | +[2K python3 -m venv ~/Desktop/venv |
| 207 | + source ~/Desktop/venv/bin/activate |
| 208 | + pip install plotly matplotlib numpy pandas networkx seaborn scikit-learn pyvis |
| 209 | +
|
| 210 | +[2K ✨ Run commands to create keyword analysis and other visualizations ... |
| 211 | +[2K cd 0_out && python3 visualizations.py && cd .. |
| 212 | +[2K cd 0_out && python3 interactive_network_1.py --datafile output.csv --threshold 6 && cd .. |
| 213 | +[2K cd 0_out && python3 interactive_network_2.py --datafile output.csv && cd .. |
| 214 | +[2K cd 0_out && python3 complete_network.py -f output.csv -t 6 -nc blue -ec green && cd .. |
| 215 | +
|
| 216 | +
|
| 217 | +[stderr]: Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.03s |
| 218 | + Running `target/debug/1_beagleTA_parser examples/kws.txt examples/corpus_short/` |
| 219 | +``` |
| 220 | + |
| 221 | +**Time:** 0.5581 seconds |
|
0 commit comments