Jump to content
Ornithology Exchange
  • 0
PetraQ

Use already annotated files (.trn files from the BAS software)

Question

Hi,
I'm interested in re-processing some BAS tag data anotated previously with BAS software in FLightR.

I would be very grateful if anybody can help me with this question:
Has anybody used some function/script to read the .lig and .trn files generated previously with BAS software to the TAGS format?

 

Thank you very much!

Petra

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hi,

thank you, but unfortunately this is not the solution to my question, as I also need to import the annotation (.trn) files, and there is no function for this. I would like to use the same annotation as before, to compare the outputs based on the same criteria, and without spending long times annotating previous datasets again.

Cheers,

Petra

Share this post


Link to post
Share on other sites
  • 0

To the best of my knowledge, you can't open .trn files or other previously defined twilights, in the the various functions that define twilights.  I have always had to go back in and redefine them.  However, someone else may have a better response.

 

This twilight-free method may be of interest, but I haven't tested it on any of my data yet:

http://onlinelibrary.wiley.com/doi/10.1111/2041-210X.12953/abstract

Share this post


Link to post
Share on other sites
  • 0

Hi,

thank you, I found it, it works like this:

 

library(GeoLight)
transitions <- trnTrans("MK10_21510_Reconstructed_000.trn")
raw <- ligTrans("MK10 21510 Reconstructed_000.lig")

library(FLightR)
GeoLight2TAGS(raw=raw, gl_twl=transitions, threshold=10, filename = "prion21510.csv")
Prion.data<-get.tags.data("prion21510.csv")

 

cheers,

Petra

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×