Skip to content
Snippets Groups Projects
Commit c5432266 authored by cyril.cros's avatar cyril.cros
Browse files

Just added processing for miRNA in platy

parent a4f6175c
No related branches found
No related tags found
1 merge request!8Merging back to main
Checking pipeline status
......@@ -2,4 +2,7 @@ tmp/*
*/.nextflow.log*
*/.nextflow
.nextflow.log*
.nextflow
\ No newline at end of file
.nextflow
supplementary_resources/*/*.gff
supplementary_resources/*/*.gff.gz
supplementary_resources/*/*.gff.gz.tbi
\ No newline at end of file
#!/bin/bash
FILE='./Supp_miRNA_Annotation_Table.xlsx - miRNA_annotated.csv'
OUT_FILE='./miRNA.gff'
echo "##gff-version 3" > $OUT_FILE
tail -n +2 "$FILE" | awk -F ',' '!($5 == "")' | cut -d',' -f 1,5,9 | sed -E -e 's/(:|\.\.)/,/g' | \
awk 'BEGIN {FS=","; OFS="\t"} {print $2, MirDeep2, miRNA, $3, $4, $6, $5, ".", "gene_name=\""$1"\""}' >> $OUT_FILE
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment