-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac70bfd
commit cf3ed09
Showing
15 changed files
with
251,070 additions
and
216,551 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
3,219 changes: 3,219 additions & 0 deletions
3,219
analysis/data/output_matching/matchms/matchms_tol_0.01_1%I_top5.tsv
Large diffs are not rendered by default.
Oops, something went wrong.
123,907 changes: 123,907 additions & 0 deletions
123,907
analysis/data/output_matching/metaboannotation/metaboannotation_NA_to_zeros_all_peaks.tsv
Large diffs are not rendered by default.
Oops, something went wrong.
123,907 changes: 123,907 additions & 0 deletions
123,907
...data/output_matching/metaboannotation/metaboannotation_NA_to_zeros_all_peaks_filterNA.tsv
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
17,709 changes: 0 additions & 17,709 deletions
17,709
analysis/data/outputs/matchspectra_R/match_1%/matchSpectra_results_source_1%_all_peaks.tsv
This file was deleted.
Oops, something went wrong.
17,709 changes: 0 additions & 17,709 deletions
17,709
...is/data/outputs/matchspectra_R/match_1%/matchSpectra_results_source_1%_all_peaks_norm.tsv
This file was deleted.
Oops, something went wrong.
124,842 changes: 0 additions & 124,842 deletions
124,842
analysis/data/outputs/matchspectra_R/match_1%/matchms_top5_comparison_with_zeros.tsv
This file was deleted.
Oops, something went wrong.
28,133 changes: 0 additions & 28,133 deletions
28,133
analysis/data/outputs/matchspectra_R/match_1%/metaboannotation_all_peaks_zeros.tsv
This file was deleted.
Oops, something went wrong.
28,134 changes: 0 additions & 28,134 deletions
28,134
analysis/data/outputs/matchspectra_R/match_1%/metaboannotation_all_peaks_zeros_temp.tsv
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/sh | ||
|
||
# Check if the filename argument is provided | ||
if [ -z "$1" ]; then | ||
echo "Usage: $0 <filename>" | ||
exit 1 | ||
fi | ||
|
||
# Replace multiple spaces with a single space | ||
sed -E "s,[[:space:]]+, ,g" "$1" > "$1.tmp" | ||
|
||
# Remove lines containing 'IONMODE' and 'CHARGE' | ||
grep -v 'IONMODE\|CHARGE' "$1.tmp" > "$1.tmp1" | ||
|
||
# Replace 'COMPOUND_NAME' with 'NAME' | ||
sed 's/COMPOUND_NAME/NAME/g' "$1.tmp1" > "$1.tmp2" | ||
|
||
# Move the final file to the original filename | ||
mv "$1.tmp2" "$1" | ||
|
||
# Remove temporary files | ||
rm -f "$1.tmp" "$1.tmp1" |